Package | Description |
---|---|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.i18n.shared |
This package contains i18n classes and interfaces shared between client and
server.
|
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
Modifier and Type | Method and Description |
---|---|
DirectionEstimator |
AutoDirectionHandler.getDirectionEstimator()
Returns the DirectionEstimator object.
|
Modifier and Type | Method and Description |
---|---|
static AutoDirectionHandler |
AutoDirectionHandler.addTo(AutoDirectionHandler.Target target,
DirectionEstimator directionEstimator)
Adds auto-direction adjustment to a given object:
- Creates an AutoDirectionHandler.
|
void |
AutoDirectionHandler.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the DirectionEstimator object.
|
Modifier and Type | Class and Description |
---|---|
class |
AnyRtlDirectionEstimator
Direction estimator that uses the "any RTL" heuristic.
|
class |
FirstStrongDirectionEstimator
Direction estimator that uses the "first strong" heuristic.
|
class |
WordCountDirectionEstimator
Direction estimator that uses the "word count" heuristic.
|
Modifier and Type | Method and Description |
---|---|
DirectionEstimator |
HasDirectionEstimator.getDirectionEstimator()
Returns the
DirectionEstimator object. |
Modifier and Type | Method and Description |
---|---|
void |
HasDirectionEstimator.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
Modifier and Type | Field and Description |
---|---|
static DirectionEstimator |
RadioButton.DEFAULT_DIRECTION_ESTIMATOR |
static DirectionEstimator |
ListBox.DEFAULT_DIRECTION_ESTIMATOR |
static DirectionEstimator |
Label.DEFAULT_DIRECTION_ESTIMATOR |
static DirectionEstimator |
Hyperlink.DEFAULT_DIRECTION_ESTIMATOR |
static DirectionEstimator |
DirectionalTextHelper.DEFAULT_DIRECTION_ESTIMATOR
A default direction estimator instance.
|
static DirectionEstimator |
CheckBox.DEFAULT_DIRECTION_ESTIMATOR |
static DirectionEstimator |
Anchor.DEFAULT_DIRECTION_ESTIMATOR |
Modifier and Type | Method and Description |
---|---|
DirectionEstimator |
ValueBoxBase.getDirectionEstimator()
Gets the direction estimation model of the auto-dir handler.
|
DirectionEstimator |
ListBox.getDirectionEstimator() |
DirectionEstimator |
LabelBase.getDirectionEstimator() |
DirectionEstimator |
Hyperlink.getDirectionEstimator() |
DirectionEstimator |
DirectionalTextHelper.getDirectionEstimator() |
DirectionEstimator |
CheckBox.getDirectionEstimator() |
DirectionEstimator |
Anchor.getDirectionEstimator() |
Modifier and Type | Method and Description |
---|---|
void |
ValueBoxBase.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the direction estimation model of the auto-dir handler.
|
void |
ListBox.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
void |
LabelBase.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
void |
Hyperlink.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
void |
DirectionalTextHelper.setDirectionEstimator(DirectionEstimator directionEstimator)
Note: if the element already has non-empty content, this will update
its direction according to the new estimator's result.
|
void |
CheckBox.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
void |
Anchor.setDirectionEstimator(DirectionEstimator directionEstimator)
Sets the
DirectionEstimator object. |
Constructor and Description |
---|
Anchor(SafeHtml html,
DirectionEstimator directionEstimator)
Creates an anchor for scripting.
|
Anchor(SafeHtml html,
DirectionEstimator directionEstimator,
SafeUri href)
Creates an anchor with its html and href (target URL) specified.
|
Anchor(SafeHtml html,
DirectionEstimator directionEstimator,
java.lang.String href)
Creates an anchor with its html and href (target URL) specified.
|
Anchor(java.lang.String text,
DirectionEstimator directionEstimator)
Creates an anchor for scripting.
|
Anchor(java.lang.String text,
DirectionEstimator directionEstimator,
java.lang.String href)
Creates an anchor with its text and href (target URL) specified.
|
CheckBox(SafeHtml label,
DirectionEstimator directionEstimator)
Creates a check box with the specified text label.
|
CheckBox(java.lang.String label,
DirectionEstimator directionEstimator)
Creates a label with the specified text and a default direction estimator.
|
HTML(SafeHtml html,
DirectionEstimator directionEstimator)
Creates an HTML widget with the specified HTML contents and specifies a
direction estimator.
|
Hyperlink(SafeHtml html,
DirectionEstimator directionEstimator,
java.lang.String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
Hyperlink(java.lang.String text,
DirectionEstimator directionEstimator,
java.lang.String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
|
InlineHTML(SafeHtml html,
DirectionEstimator directionEstimator)
Creates an HTML widget with the specified HTML contents and with a default
direction estimator.
|
InlineHyperlink(SafeHtml html,
DirectionEstimator directionEstimator,
java.lang.String targetHistoryToken)
Creates a hyperlink with its html and target history token specified.
|
InlineHyperlink(java.lang.String text,
DirectionEstimator directionEstimator,
java.lang.String targetHistoryToken)
Creates a hyperlink with its text and target history token specified.
|
InlineLabel(java.lang.String text,
DirectionEstimator directionEstimator)
Creates a label with the specified text and a default direction estimator.
|
Label(java.lang.String text,
DirectionEstimator directionEstimator)
Creates a label with the specified text and a default direction estimator.
|
RadioButton(java.lang.String name,
SafeHtml label,
DirectionEstimator directionEstimator) |
RadioButton(java.lang.String name,
java.lang.String label,
DirectionEstimator directionEstimator) |