Java com.google.gwt.user.client.ui Anchor fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui Anchor fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui Anchor.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.Anchor has subclasses.
Click this link to see all its subclasses.

Constructor

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.

Method

StringgetHref()
Gets the anchor's href (the url to which it links).
StringgetHTML()
StringgetName()
StringgetText()
voidsetFocus(boolean focused)
voidsetHorizontalAlignment(HorizontalAlignmentConstant align)
voidsetHref(String href)
Sets the anchor's href (the url to which it links).
voidsetHTML(SafeHtml html)
voidsetHTML(String html)
voidsetName(String name)
voidsetTabIndex(int index)
voidsetTarget(String target)
Sets the anchor's target frame (the frame in which navigation will occur when the link is selected).
voidsetText(String text)
voidsetWordWrap(boolean wrap)
Anchorwrap(Element element)
Creates an Anchor widget that wraps an existing <a> element.