Example usage for Java com.google.gwt.user.client.ui Anchor fields, constructors, methods, implement or subclass
The text is from its open source code.
Anchor(boolean useDefaultHref) Creates an anchor. | |
Anchor(SafeHtml html) Creates an anchor for scripting. | |
Anchor(String text) Creates an anchor for scripting. | |
Anchor(Element element) This constructor may be used by subclasses to explicitly use an existing element. | |
Anchor() Creates an empty anchor. | |
Anchor(SafeHtml html, Direction dir) Creates an anchor for scripting. | |
Anchor(SafeHtml html, DirectionEstimator directionEstimator) Creates an anchor for scripting. | |
Anchor(String text, Direction dir) Creates an anchor for scripting. | |
Anchor(String text, DirectionEstimator directionEstimator) Creates an anchor for scripting. | |
Anchor(String text, boolean asHtml) Creates an anchor for scripting. | |
Anchor(SafeHtml html, String href) Creates an anchor with its html and href (target URL) specified. | |
Anchor(String text, String href) Creates an anchor with its text and href (target URL) specified. | |
Anchor(String text, boolean asHtml, String href, String target) Creates a source anchor (link to URI). | |
Anchor(String text, boolean asHTML, Direction dir, String href) Creates an anchor with its text, direction and href (target URL) specified. | |
Anchor(String text, boolean asHTML, DirectionEstimator directionEstimator, String href) Creates an anchor with its text, direction and href (target URL) specified. | |
Anchor(SafeHtml html, Direction dir, String href) Creates an anchor with its html and href (target URL) specified. | |
Anchor(SafeHtml html, DirectionEstimator directionEstimator, String href) Creates an anchor with its html and href (target URL) specified. | |
Anchor(String text, Direction dir, String href) Creates an anchor with its text and href (target URL) specified. | |
Anchor(String text, DirectionEstimator directionEstimator, String href) Creates an anchor with its text and href (target URL) specified. | |
Anchor(String text, boolean asHTML, String href) Creates an anchor with its text and href (target URL) specified. | |
Anchor(SafeHtml html, String href, String target) Creates a source anchor (link to URI). | |
Anchor(String text, String href, String target) Creates a source anchor with a frame target. |
String | getHref() Gets the anchor's href (the url to which it links). |
String | getHTML() |
String | getName() |
String | getText() |
void | setFocus(boolean focused) |
void | setHorizontalAlignment(HorizontalAlignmentConstant align) |
void | setHref(String href) Sets the anchor's href (the url to which it links). |
void | setHTML(SafeHtml html) |
void | setHTML(String html) |
void | setName(String name) |
void | setTabIndex(int index) |
void | setTarget(String target) Sets the anchor's target frame (the frame in which navigation will occur when the link is selected). |
void | setText(String text) |
void | setWordWrap(boolean wrap) |
Anchor | wrap(Element element) Creates an Anchor widget that wraps an existing <a> element. |