public class

InlineHyperlink

extends Hyperlink
java.lang.Object
   ↳ com.google.gwt.user.client.ui.UIObject
     ↳ com.google.gwt.user.client.ui.Widget
       ↳ com.google.gwt.user.client.ui.Hyperlink
         ↳ com.google.gwt.user.client.ui.InlineHyperlink

Class Overview

A widget that serves as an "internal" hyperlink. That is, it is a link to another state of the running application. It should behave exactly like Hyperlink, save that it lays out as an inline element, not block.

Built-in Bidi Text Support

This widget is capable of automatically adjusting its direction according to its content. This feature is controlled by setDirectionEstimator(boolean) or passing a DirectionEstimator parameter to the constructor, and is off by default.

CSS Style Rules

  • .gwt-InlineHyperlink { }

Summary

[Expand]
Inherited Constants
From class com.google.gwt.user.client.ui.UIObject
[Expand]
Inherited Fields
From class com.google.gwt.user.client.ui.Hyperlink
Public Constructors
InlineHyperlink()
Creates an empty hyperlink.
InlineHyperlink(SafeHtml html, String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
InlineHyperlink(SafeHtml html, HasDirection.Direction dir, String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
InlineHyperlink(SafeHtml html, DirectionEstimator directionEstimator, String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
InlineHyperlink(String text, String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
InlineHyperlink(String text, HasDirection.Direction dir, String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
InlineHyperlink(String text, DirectionEstimator directionEstimator, String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
InlineHyperlink(String text, boolean asHTML, String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
[Expand]
Inherited Methods
From class com.google.gwt.user.client.ui.Hyperlink
From class com.google.gwt.user.client.ui.Widget
From class com.google.gwt.user.client.ui.UIObject
From class java.lang.Object
From interface com.google.gwt.event.dom.client.HasClickHandlers
From interface com.google.gwt.event.logical.shared.HasAttachHandlers
From interface com.google.gwt.event.shared.HasHandlers
From interface com.google.gwt.i18n.shared.HasDirectionEstimator
From interface com.google.gwt.safehtml.client.HasSafeHtml
From interface com.google.gwt.user.client.EventListener
From interface com.google.gwt.user.client.ui.HasDirectionalSafeHtml
From interface com.google.gwt.user.client.ui.HasDirectionalText
From interface com.google.gwt.user.client.ui.HasHTML
From interface com.google.gwt.user.client.ui.HasText
From interface com.google.gwt.user.client.ui.IsWidget
From interface com.google.gwt.user.client.ui.SourcesClickEvents

Public Constructors

public InlineHyperlink ()

Creates an empty hyperlink.

public InlineHyperlink (SafeHtml html, String targetHistoryToken)

Creates a hyperlink with its html and target history token specified.

Parameters
html the hyperlink's html
targetHistoryToken the history token to which it will link

public InlineHyperlink (SafeHtml html, HasDirection.Direction dir, String targetHistoryToken)

Creates a hyperlink with its html and target history token specified.

Parameters
html the hyperlink's html
dir the html's direction
targetHistoryToken the history token to which it will link

public InlineHyperlink (SafeHtml html, DirectionEstimator directionEstimator, String targetHistoryToken)

Creates a hyperlink with its html and target history token specified.

Parameters
html the hyperlink's html
directionEstimator A DirectionEstimator object used for automatic direction adjustment. For convenience, DEFAULT_DIRECTION_ESTIMATOR can be used.
targetHistoryToken the history token to which it will link

public InlineHyperlink (String text, String targetHistoryToken)

Creates a hyperlink with its text and target history token specified.

Parameters
text the hyperlink's text
targetHistoryToken the history token to which it will link

public InlineHyperlink (String text, HasDirection.Direction dir, String targetHistoryToken)

Creates a hyperlink with its text and target history token specified.

Parameters
text the hyperlink's text
dir the text's direction
targetHistoryToken the history token to which it will link

public InlineHyperlink (String text, DirectionEstimator directionEstimator, String targetHistoryToken)

Creates a hyperlink with its text and target history token specified.

Parameters
text the hyperlink's text
directionEstimator A DirectionEstimator object used for automatic direction adjustment. For convenience, DEFAULT_DIRECTION_ESTIMATOR can be used.
targetHistoryToken the history token to which it will link

public InlineHyperlink (String text, boolean asHTML, String targetHistoryToken)

Creates a hyperlink with its text and target history token specified.

Parameters
text the hyperlink's text
asHTML true to treat the specified text as html
targetHistoryToken the history token to which it will link