Package | Description |
---|---|
com.google.gwt.animation.client |
Classes for Animation support.
|
com.google.gwt.animation.client.testing | |
com.google.gwt.aria.client | |
com.google.gwt.cell.client |
Standard
Cell subclasses used by the
cellview widgets. |
com.google.gwt.dom.builder.client |
Classes used to build DOM elements.
|
com.google.gwt.dom.builder.shared |
Classes used to build DOM elements.
|
com.google.gwt.dom.client |
Classes for low-level DOM programming.
|
com.google.gwt.event.dom.client |
Types related to DOM events.
|
com.google.gwt.i18n.client |
Internationalization support for GWT applications.
|
com.google.gwt.layout.client |
Classes for laying out container elements.
|
com.google.gwt.uibinder.client |
Classes used to generate user interfaces using declarative ui.xml files.
|
com.google.gwt.uibinder.client.impl | |
com.google.gwt.user.cellview.client |
The "cellview" widget set.
|
com.google.gwt.user.client |
Fundamental user-interface classes used in client-side GWT code.
|
com.google.gwt.user.client.impl | |
com.google.gwt.user.client.ui |
Widgets, Panels, and other user-interface classes.
|
com.google.gwt.user.client.ui.impl | |
com.google.gwt.user.datepicker.client |
The date picker widget and associated types.
|
Modifier and Type | Method and Description |
---|---|
abstract AnimationScheduler.AnimationHandle |
AnimationScheduler.requestAnimationFrame(AnimationScheduler.AnimationCallback callback,
Element element)
Schedule an animation, letting the browser decide when to trigger the next
step in the animation.
|
void |
Animation.run(int duration,
double startTime,
Element element)
Run this animation at the given startTime.
|
void |
Animation.run(int duration,
Element element)
Immediately run this animation.
|
Modifier and Type | Method and Description |
---|---|
StubAnimationScheduler.StubAnimationHandle |
StubAnimationScheduler.requestAnimationFrame(AnimationScheduler.AnimationCallback callback,
Element element) |
Modifier and Type | Method and Description |
---|---|
String |
Attribute.get(Element element)
Gets the HTML attribute value for the attribute with name
name for element
element |
String |
TextboxRole.getAriaActivedescendantProperty(Element element)
Returns the value of the
aria-activedescendant attribute for the
element or "" if no
such attribute is present. |
String |
GroupRole.getAriaActivedescendantProperty(Element element)
Returns the value of the
aria-activedescendant attribute for the
element or "" if no
such attribute is present. |
String |
CompositeRole.getAriaActivedescendantProperty(Element element)
Returns the value of the
aria-activedescendant attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaAtomicProperty(Element element)
Returns the value of the
aria-atomic attribute for the
element or "" if no
such attribute is present. |
String |
TextboxRole.getAriaAutocompleteProperty(Element element)
Returns the value of the
aria-autocomplete attribute for the
element or "" if no
such attribute is present. |
String |
ComboboxRole.getAriaAutocompleteProperty(Element element)
Returns the value of the
aria-autocomplete attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaBusyState(Element element)
Returns the value of the
aria-busy attribute for the
element or "" if no
such attribute is present. |
String |
OptionRole.getAriaCheckedState(Element element)
Returns the value of the
aria-checked attribute for the
element or "" if no
such attribute is present. |
String |
CheckboxRole.getAriaCheckedState(Element element)
Returns the value of the
aria-checked attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaControlsProperty(Element element)
Returns the value of the
aria-controls attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaDescribedbyProperty(Element element)
Returns the value of the
aria-describedby attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaDisabledState(Element element)
Returns the value of the
aria-disabled attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaDropeffectProperty(Element element)
Returns the value of the
aria-dropeffect attribute for the
element or "" if no
such attribute is present. |
String |
WindowRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
ButtonRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
SectionheadRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
DocumentRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
SectionRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
LinkRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
SeparatorRole.getAriaExpandedState(Element element)
Returns the value of the
aria-expanded attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaFlowtoProperty(Element element)
Returns the value of the
aria-flowto attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaGrabbedState(Element element)
Returns the value of the
aria-grabbed attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaHaspopupProperty(Element element)
Returns the value of the
aria-haspopup attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaHiddenState(Element element)
Returns the value of the
aria-hidden attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaInvalidState(Element element)
Returns the value of the
aria-invalid attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaLabelledbyProperty(Element element)
Returns the value of the
aria-labelledby attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaLabelProperty(Element element)
Returns the value of the
aria-label attribute for the
element or "" if no
such attribute is present. |
String |
ListitemRole.getAriaLevelProperty(Element element)
Returns the value of the
aria-level attribute for the
element or "" if no
such attribute is present. |
String |
RowRole.getAriaLevelProperty(Element element)
Returns the value of the
aria-level attribute for the
element or "" if no
such attribute is present. |
String |
HeadingRole.getAriaLevelProperty(Element element)
Returns the value of the
aria-level attribute for the
element or "" if no
such attribute is present. |
String |
TablistRole.getAriaLevelProperty(Element element)
Returns the value of the
aria-level attribute for the
element or "" if no
such attribute is present. |
String |
GridRole.getAriaLevelProperty(Element element)
Returns the value of the
aria-level attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaLiveProperty(Element element)
Returns the value of the
aria-live attribute for the
element or "" if no
such attribute is present. |
String |
TextboxRole.getAriaMultilineProperty(Element element)
Returns the value of the
aria-multiline attribute for the
element or "" if no
such attribute is present. |
String |
ListboxRole.getAriaMultiselectableProperty(Element element)
Returns the value of the
aria-multiselectable attribute for the
element or "" if no
such attribute is present. |
String |
TreeRole.getAriaMultiselectableProperty(Element element)
Returns the value of the
aria-multiselectable attribute for the
element or "" if no
such attribute is present. |
String |
GridRole.getAriaMultiselectableProperty(Element element)
Returns the value of the
aria-multiselectable attribute for the
element or "" if no
such attribute is present. |
String |
ScrollbarRole.getAriaOrientationProperty(Element element)
Returns the value of the
aria-orientation attribute for the
element or "" if no
such attribute is present. |
String |
SliderRole.getAriaOrientationProperty(Element element)
Returns the value of the
aria-orientation attribute for the
element or "" if no
such attribute is present. |
String |
SeparatorRole.getAriaOrientationProperty(Element element)
Returns the value of the
aria-orientation attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaOwnsProperty(Element element)
Returns the value of the
aria-owns attribute for the
element or "" if no
such attribute is present. |
String |
ListitemRole.getAriaPosinsetProperty(Element element)
Returns the value of the
aria-posinset attribute for the
element or "" if no
such attribute is present. |
String |
OptionRole.getAriaPosinsetProperty(Element element)
Returns the value of the
aria-posinset attribute for the
element or "" if no
such attribute is present. |
String |
ButtonRole.getAriaPressedState(Element element)
Returns the value of the
aria-pressed attribute for the
element or "" if no
such attribute is present. |
String |
TextboxRole.getAriaReadonlyProperty(Element element)
Returns the value of the
aria-readonly attribute for the
element or "" if no
such attribute is present. |
String |
GridcellRole.getAriaReadonlyProperty(Element element)
Returns the value of the
aria-readonly attribute for the
element or "" if no
such attribute is present. |
String |
GridRole.getAriaReadonlyProperty(Element element)
Returns the value of the
aria-readonly attribute for the
element or "" if no
such attribute is present. |
String |
Role.getAriaRelevantProperty(Element element)
Returns the value of the
aria-relevant attribute for the
element or "" if no
such attribute is present. |
String |
ListboxRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
TextboxRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
GridcellRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
TreeRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
RadiogroupRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
SpinbuttonRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
ComboboxRole.getAriaRequiredProperty(Element element)
Returns the value of the
aria-required attribute for the
element or "" if no
such attribute is present. |
String |
RowRole.getAriaSelectedState(Element element)
Returns the value of the
aria-selected attribute for the
element or "" if no
such attribute is present. |
String |
GridcellRole.getAriaSelectedState(Element element)
Returns the value of the
aria-selected attribute for the
element or "" if no
such attribute is present. |
String |
TabRole.getAriaSelectedState(Element element)
Returns the value of the
aria-selected attribute for the
element or "" if no
such attribute is present. |
String |
OptionRole.getAriaSelectedState(Element element)
Returns the value of the
aria-selected attribute for the
element or "" if no
such attribute is present. |
String |
ListitemRole.getAriaSetsizeProperty(Element element)
Returns the value of the
aria-setsize attribute for the
element or "" if no
such attribute is present. |
String |
OptionRole.getAriaSetsizeProperty(Element element)
Returns the value of the
aria-setsize attribute for the
element or "" if no
such attribute is present. |
String |
RowheaderRole.getAriaSortProperty(Element element)
Returns the value of the
aria-sort attribute for the
element or "" if no
such attribute is present. |
String |
ColumnheaderRole.getAriaSortProperty(Element element)
Returns the value of the
aria-sort attribute for the
element or "" if no
such attribute is present. |
String |
RangeRole.getAriaValuemaxProperty(Element element)
Returns the value of the
aria-valuemax attribute for the
element or "" if no
such attribute is present. |
String |
RangeRole.getAriaValueminProperty(Element element)
Returns the value of the
aria-valuemin attribute for the
element or "" if no
such attribute is present. |
String |
RangeRole.getAriaValuenowProperty(Element element)
Returns the value of the
aria-valuenow attribute for the
element or "" if no
such attribute is present. |
String |
RangeRole.getAriaValuetextProperty(Element element)
Returns the value of the
aria-valuetext attribute for the
element or "" if no
such attribute is present. |
String |
Role.getTabindexExtraAttribute(Element element)
Returns the value of the
tabIndex attribute for the
element or "" if no
such attribute is present. |
static Id |
Id.of(Element element)
Creates an Id instance for the
element by getting
the element 'id' attribute. |
void |
Attribute.remove(Element element)
Removes the state/property attribute for element
element . |
void |
Role.remove(Element element)
Removes the 'role' attribute from the
element . |
void |
TextboxRole.removeAriaActivedescendantProperty(Element element)
Removes the
aria-activedescendant attribute from the
element . |
void |
GroupRole.removeAriaActivedescendantProperty(Element element)
Removes the
aria-activedescendant attribute from the
element . |
void |
CompositeRole.removeAriaActivedescendantProperty(Element element)
Removes the
aria-activedescendant attribute from the
element . |
void |
Role.removeAriaAtomicProperty(Element element)
Removes the
aria-atomic attribute from the
element . |
void |
TextboxRole.removeAriaAutocompleteProperty(Element element)
Removes the
aria-autocomplete attribute from the
element . |
void |
ComboboxRole.removeAriaAutocompleteProperty(Element element)
Removes the
aria-autocomplete attribute from the
element . |
void |
Role.removeAriaBusyState(Element element)
Removes the
aria-busy attribute from the
element . |
void |
OptionRole.removeAriaCheckedState(Element element)
Removes the
aria-checked attribute from the
element . |
void |
CheckboxRole.removeAriaCheckedState(Element element)
Removes the
aria-checked attribute from the
element . |
void |
Role.removeAriaControlsProperty(Element element)
Removes the
aria-controls attribute from the
element . |
void |
Role.removeAriaDescribedbyProperty(Element element)
Removes the
aria-describedby attribute from the
element . |
void |
Role.removeAriaDisabledState(Element element)
Removes the
aria-disabled attribute from the
element . |
void |
Role.removeAriaDropeffectProperty(Element element)
Removes the
aria-dropeffect attribute from the
element . |
void |
WindowRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
ButtonRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
SectionheadRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
DocumentRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
SectionRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
LinkRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
SeparatorRole.removeAriaExpandedState(Element element)
Removes the
aria-expanded attribute from the
element . |
void |
Role.removeAriaFlowtoProperty(Element element)
Removes the
aria-flowto attribute from the
element . |
void |
Role.removeAriaGrabbedState(Element element)
Removes the
aria-grabbed attribute from the
element . |
void |
Role.removeAriaHaspopupProperty(Element element)
Removes the
aria-haspopup attribute from the
element . |
void |
Role.removeAriaHiddenState(Element element)
Removes the
aria-hidden attribute from the
element . |
void |
Role.removeAriaInvalidState(Element element)
Removes the
aria-invalid attribute from the
element . |
void |
Role.removeAriaLabelledbyProperty(Element element)
Removes the
aria-labelledby attribute from the
element . |
void |
Role.removeAriaLabelProperty(Element element)
Removes the
aria-label attribute from the
element . |
void |
ListitemRole.removeAriaLevelProperty(Element element)
Removes the
aria-level attribute from the
element . |
void |
RowRole.removeAriaLevelProperty(Element element)
Removes the
aria-level attribute from the
element . |
void |
HeadingRole.removeAriaLevelProperty(Element element)
Removes the
aria-level attribute from the
element . |
void |
TablistRole.removeAriaLevelProperty(Element element)
Removes the
aria-level attribute from the
element . |
void |
GridRole.removeAriaLevelProperty(Element element)
Removes the
aria-level attribute from the
element . |
void |
Role.removeAriaLiveProperty(Element element)
Removes the
aria-live attribute from the
element . |
void |
TextboxRole.removeAriaMultilineProperty(Element element)
Removes the
aria-multiline attribute from the
element . |
void |
ListboxRole.removeAriaMultiselectableProperty(Element element)
Removes the
aria-multiselectable attribute from the
element . |
void |
TreeRole.removeAriaMultiselectableProperty(Element element)
Removes the
aria-multiselectable attribute from the
element . |
void |
GridRole.removeAriaMultiselectableProperty(Element element)
Removes the
aria-multiselectable attribute from the
element . |
void |
ScrollbarRole.removeAriaOrientationProperty(Element element)
Removes the
aria-orientation attribute from the
element . |
void |
SliderRole.removeAriaOrientationProperty(Element element)
Removes the
aria-orientation attribute from the
element . |
void |
SeparatorRole.removeAriaOrientationProperty(Element element)
Removes the
aria-orientation attribute from the
element . |
void |
Role.removeAriaOwnsProperty(Element element)
Removes the
aria-owns attribute from the
element . |
void |
ListitemRole.removeAriaPosinsetProperty(Element element)
Removes the
aria-posinset attribute from the
element . |
void |
OptionRole.removeAriaPosinsetProperty(Element element)
Removes the
aria-posinset attribute from the
element . |
void |
ButtonRole.removeAriaPressedState(Element element)
Removes the
aria-pressed attribute from the
element . |
void |
TextboxRole.removeAriaReadonlyProperty(Element element)
Removes the
aria-readonly attribute from the
element . |
void |
GridcellRole.removeAriaReadonlyProperty(Element element)
Removes the
aria-readonly attribute from the
element . |
void |
GridRole.removeAriaReadonlyProperty(Element element)
Removes the
aria-readonly attribute from the
element . |
void |
Role.removeAriaRelevantProperty(Element element)
Removes the
aria-relevant attribute from the
element . |
void |
ListboxRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
TextboxRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
GridcellRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
TreeRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
RadiogroupRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
SpinbuttonRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
ComboboxRole.removeAriaRequiredProperty(Element element)
Removes the
aria-required attribute from the
element . |
void |
RowRole.removeAriaSelectedState(Element element)
Removes the
aria-selected attribute from the
element . |
void |
GridcellRole.removeAriaSelectedState(Element element)
Removes the
aria-selected attribute from the
element . |
void |
TabRole.removeAriaSelectedState(Element element)
Removes the
aria-selected attribute from the
element . |
void |
OptionRole.removeAriaSelectedState(Element element)
Removes the
aria-selected attribute from the
element . |
void |
ListitemRole.removeAriaSetsizeProperty(Element element)
Removes the
aria-setsize attribute from the
element . |
void |
OptionRole.removeAriaSetsizeProperty(Element element)
Removes the
aria-setsize attribute from the
element . |
void |
RowheaderRole.removeAriaSortProperty(Element element)
Removes the
aria-sort attribute from the
element . |
void |
ColumnheaderRole.removeAriaSortProperty(Element element)
Removes the
aria-sort attribute from the
element . |
void |
RangeRole.removeAriaValuemaxProperty(Element element)
Removes the
aria-valuemax attribute from the
element . |
void |
RangeRole.removeAriaValueminProperty(Element element)
Removes the
aria-valuemin attribute from the
element . |
void |
RangeRole.removeAriaValuenowProperty(Element element)
Removes the
aria-valuenow attribute from the
element . |
void |
RangeRole.removeAriaValuetextProperty(Element element)
Removes the
aria-valuetext attribute from the
element . |
void |
Role.removeTabindexExtraAttribute(Element element)
Removes the
tabIndex attribute from the
element . |
static Role |
Roles.roleOf(Element element)
Returns the WAI-ARIA role for the
element . |
void |
Role.set(Element element)
Sets the 'role' attribute of the given
element to the appropriate
value for this role. |
void |
Attribute.set(Element element,
T... values)
Sets the state/property
value for the HTML element element . |
void |
TextboxRole.setAriaActivedescendantProperty(Element element,
Id value)
|
void |
GroupRole.setAriaActivedescendantProperty(Element element,
Id value)
|
void |
CompositeRole.setAriaActivedescendantProperty(Element element,
Id value)
|
void |
Role.setAriaAtomicProperty(Element element,
boolean value)
|
void |
TextboxRole.setAriaAutocompleteProperty(Element element,
AutocompleteValue value)
|
void |
ComboboxRole.setAriaAutocompleteProperty(Element element,
AutocompleteValue value)
|
void |
Role.setAriaBusyState(Element element,
boolean value)
|
void |
OptionRole.setAriaCheckedState(Element element,
CheckedValue value)
|
void |
CheckboxRole.setAriaCheckedState(Element element,
CheckedValue value)
|
void |
Role.setAriaControlsProperty(Element element,
Id... value)
|
void |
Role.setAriaDescribedbyProperty(Element element,
Id... value)
|
void |
Role.setAriaDisabledState(Element element,
boolean value)
|
void |
Role.setAriaDropeffectProperty(Element element,
DropeffectValue... value)
|
void |
WindowRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
ButtonRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
SectionheadRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
DocumentRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
SectionRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
LinkRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
SeparatorRole.setAriaExpandedState(Element element,
ExpandedValue value)
|
void |
Role.setAriaFlowtoProperty(Element element,
Id... value)
|
void |
Role.setAriaGrabbedState(Element element,
GrabbedValue value)
|
void |
Role.setAriaHaspopupProperty(Element element,
boolean value)
|
void |
Role.setAriaHiddenState(Element element,
boolean value)
|
void |
Role.setAriaInvalidState(Element element,
InvalidValue value)
|
void |
Role.setAriaLabelledbyProperty(Element element,
Id... value)
|
void |
Role.setAriaLabelProperty(Element element,
String value)
|
void |
ListitemRole.setAriaLevelProperty(Element element,
int value)
|
void |
RowRole.setAriaLevelProperty(Element element,
int value)
|
void |
HeadingRole.setAriaLevelProperty(Element element,
int value)
|
void |
TablistRole.setAriaLevelProperty(Element element,
int value)
|
void |
GridRole.setAriaLevelProperty(Element element,
int value)
|
void |
Role.setAriaLiveProperty(Element element,
LiveValue value)
|
void |
TextboxRole.setAriaMultilineProperty(Element element,
boolean value)
|
void |
ListboxRole.setAriaMultiselectableProperty(Element element,
boolean value)
|
void |
TreeRole.setAriaMultiselectableProperty(Element element,
boolean value)
|
void |
GridRole.setAriaMultiselectableProperty(Element element,
boolean value)
|
void |
ScrollbarRole.setAriaOrientationProperty(Element element,
OrientationValue value)
|
void |
SliderRole.setAriaOrientationProperty(Element element,
OrientationValue value)
|
void |
SeparatorRole.setAriaOrientationProperty(Element element,
OrientationValue value)
|
void |
Role.setAriaOwnsProperty(Element element,
Id... value)
|
void |
ListitemRole.setAriaPosinsetProperty(Element element,
int value)
|
void |
OptionRole.setAriaPosinsetProperty(Element element,
int value)
|
void |
ButtonRole.setAriaPressedState(Element element,
PressedValue value)
|
void |
TextboxRole.setAriaReadonlyProperty(Element element,
boolean value)
|
void |
GridcellRole.setAriaReadonlyProperty(Element element,
boolean value)
|
void |
GridRole.setAriaReadonlyProperty(Element element,
boolean value)
|
void |
Role.setAriaRelevantProperty(Element element,
RelevantValue... value)
|
void |
ListboxRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
TextboxRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
GridcellRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
TreeRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
RadiogroupRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
SpinbuttonRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
ComboboxRole.setAriaRequiredProperty(Element element,
boolean value)
|
void |
RowRole.setAriaSelectedState(Element element,
SelectedValue value)
|
void |
GridcellRole.setAriaSelectedState(Element element,
SelectedValue value)
|
void |
TabRole.setAriaSelectedState(Element element,
SelectedValue value)
|
void |
OptionRole.setAriaSelectedState(Element element,
SelectedValue value)
|
void |
ListitemRole.setAriaSetsizeProperty(Element element,
int value)
|
void |
OptionRole.setAriaSetsizeProperty(Element element,
int value)
|
void |
RowheaderRole.setAriaSortProperty(Element element,
SortValue value)
|
void |
ColumnheaderRole.setAriaSortProperty(Element element,
SortValue value)
|
void |
RangeRole.setAriaValuemaxProperty(Element element,
Number value)
|
void |
RangeRole.setAriaValueminProperty(Element element,
Number value)
|
void |
RangeRole.setAriaValuenowProperty(Element element,
Number value)
|
void |
RangeRole.setAriaValuetextProperty(Element element,
String value)
|
void |
Attribute.setDefault(Element element)
Sets the state/property value to the defaultValue if not null.
|
void |
Role.setTabindexExtraAttribute(Element element,
int value)
|
Modifier and Type | Method and Description |
---|---|
protected Element |
CompositeCell.getContainerElement(Element parent)
Get the element that acts as the container for all children.
|
protected Element |
AbstractInputCell.getInputElement(Element parent)
Get the input element.
|
Modifier and Type | Method and Description |
---|---|
protected void |
EditTextCell.edit(Cell.Context context,
Element parent,
String value)
Convert the cell to edit mode.
|
protected void |
AbstractInputCell.finishEditing(Element parent,
C value,
Object key,
ValueUpdater<C> valueUpdater)
Call this method when editing is complete.
|
protected void |
TextInputCell.finishEditing(Element parent,
String value,
Object key,
ValueUpdater<String> valueUpdater) |
protected Element |
CompositeCell.getContainerElement(Element parent)
Get the element that acts as the container for all children.
|
protected InputElement |
TextInputCell.getInputElement(Element parent) |
protected Element |
AbstractInputCell.getInputElement(Element parent)
Get the input element.
|
boolean |
CheckboxCell.isEditing(Cell.Context context,
Element parent,
Boolean value) |
abstract boolean |
AbstractEditableCell.isEditing(Cell.Context context,
Element parent,
C value)
Returns true if the cell is currently editing the data identified by the
given element and key.
|
boolean |
IconCellDecorator.isEditing(Cell.Context context,
Element parent,
C value) |
boolean |
AbstractCell.isEditing(Cell.Context context,
Element parent,
C value)
Returns false.
|
boolean |
CompositeCell.isEditing(Cell.Context context,
Element parent,
C value) |
boolean |
Cell.isEditing(Cell.Context context,
Element parent,
C value)
Returns true if the cell is currently editing the data identified by the
given element and key.
|
boolean |
AbstractInputCell.isEditing(Cell.Context context,
Element parent,
C value) |
boolean |
DatePickerCell.isEditing(Cell.Context context,
Element parent,
Date value) |
boolean |
EditTextCell.isEditing(Cell.Context context,
Element parent,
String value) |
void |
CheckboxCell.onBrowserEvent(Cell.Context context,
Element parent,
Boolean value,
NativeEvent event,
ValueUpdater<Boolean> valueUpdater) |
void |
ActionCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
ButtonCellBase.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
IconCellDecorator.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
AbstractCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater)
Handle a browser event that took place within the cell.
|
void |
CompositeCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
Cell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater)
Handle a browser event that took place within the cell.
|
void |
AbstractInputCell.onBrowserEvent(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
void |
DatePickerCell.onBrowserEvent(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
void |
ClickableTextCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
TextInputCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
ButtonCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
ImageLoadingCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
EditTextCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
SelectionCell.onBrowserEvent(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
protected void |
ActionCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
protected void |
ButtonCellBase.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
protected void |
AbstractCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater)
Called when the user triggers a
keydown event with the ENTER
key while focused on the cell. |
protected void |
AbstractInputCell.onEnterKeyDown(Cell.Context context,
Element parent,
C value,
NativeEvent event,
ValueUpdater<C> valueUpdater) |
protected void |
DatePickerCell.onEnterKeyDown(Cell.Context context,
Element parent,
Date value,
NativeEvent event,
ValueUpdater<Date> valueUpdater) |
protected void |
ClickableTextCell.onEnterKeyDown(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
protected void |
ButtonCell.onEnterKeyDown(Cell.Context context,
Element parent,
String value,
NativeEvent event,
ValueUpdater<String> valueUpdater) |
void |
ButtonCellBase.Appearance.onPush(Element parent)
Called when the user pushes the button down.
|
void |
ButtonCellBase.DefaultAppearance.onPush(Element parent) |
void |
ButtonCellBase.Appearance.onUnpush(Element parent)
Called when the user releases the button from being pushed.
|
void |
ButtonCellBase.DefaultAppearance.onUnpush(Element parent) |
boolean |
IconCellDecorator.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
AbstractCell.resetFocus(Cell.Context context,
Element parent,
C value)
Reset focus on the Cell.
|
boolean |
CompositeCell.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
Cell.resetFocus(Cell.Context context,
Element parent,
C value)
Reset focus on the Cell.
|
boolean |
AbstractInputCell.resetFocus(Cell.Context context,
Element parent,
C value) |
boolean |
EditTextCell.resetFocus(Cell.Context context,
Element parent,
String value) |
void |
ButtonCellBase.setFocus(Element parent,
boolean focused)
Explicitly focus/unfocus this cell.
|
void |
ButtonCellBase.Appearance.setFocus(Element parent,
boolean focused)
Explicitly focus/unfocus this cell.
|
void |
ButtonCellBase.DefaultAppearance.setFocus(Element parent,
boolean focused) |
void |
IconCellDecorator.setValue(Cell.Context context,
Element parent,
C value) |
void |
AbstractCell.setValue(Cell.Context context,
Element parent,
C value) |
void |
CompositeCell.setValue(Cell.Context context,
Element parent,
C object) |
void |
Cell.setValue(Cell.Context context,
Element parent,
C value)
This method may be used by cell containers to set the value on a single
cell directly, rather than using
Element.setInnerHTML(String) . |
Modifier and Type | Class and Description |
---|---|
class |
DomElementBuilderBase<R extends ElementBuilderBase<?>,E extends Element>
Implementation of
ElementBuilderBase that delegates to a
DomBuilderImpl . |
Modifier and Type | Method and Description |
---|---|
protected abstract Element |
ElementBuilderImpl.doFinishImpl()
Return the build element.
|
Element |
AbstractElementBuilderBase.finish() |
Element |
ElementBuilderBase.finish()
Return the built DOM as an
Element . |
Element |
ElementBuilderImpl.finish()
Return the built DOM as an
Element . |
Modifier and Type | Method and Description |
---|---|
static Element |
Element.as(JavaScriptObject o)
|
static Element |
Element.as(Node node)
|
Element |
Document.createElement(String tagName)
Creates a new element.
|
Element |
Document.getDocumentElement()
Gets the document's element.
|
Element |
Document.getElementById(String elementId)
Returns the
Element whose id is given by elementId. |
Element |
Element.getFirstChildElement()
The first child of element this element.
|
Element |
Element.getNextSiblingElement()
The element immediately following this element.
|
Element |
Element.getOffsetParent()
Returns a reference to the object which is the closest (nearest in the
containment hierarchy) positioned containing element.
|
Element |
Node.getParentElement()
Gets the parent element of this node.
|
Element |
Element.getPreviousSiblingElement()
The element immediately preceeding this element.
|
Modifier and Type | Method and Description |
---|---|
NodeCollection<Element> |
FormElement.getElements()
Returns a collection of all form control elements in the form.
|
NodeList<Element> |
Element.getElementsByTagName(String name)
Returns a NodeList of all descendant Elements with a given tag name, in the
order in which they are encountered in a preorder traversal of this Element
tree.
|
NodeList<Element> |
Document.getElementsByTagName(String tagName)
|
Modifier and Type | Method and Description |
---|---|
static ButtonElement |
ButtonElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static AreaElement |
AreaElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableSectionElement |
TableSectionElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableCellElement |
TableCellElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static DivElement |
DivElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ModElement |
ModElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static UListElement |
UListElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static MapElement |
MapElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static HeadingElement |
HeadingElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static OptGroupElement |
OptGroupElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static StyleElement |
StyleElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static LIElement |
LIElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ParagraphElement |
ParagraphElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static FormElement |
FormElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static SpanElement |
SpanElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static FrameElement |
FrameElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static MetaElement |
MetaElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static SelectElement |
SelectElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableRowElement |
TableRowElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ScriptElement |
ScriptElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static OListElement |
OListElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static DListElement |
DListElement.as(Element elem) |
static SourceElement |
SourceElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static PreElement |
PreElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static LabelElement |
LabelElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static QuoteElement |
QuoteElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static LegendElement |
LegendElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TextAreaElement |
TextAreaElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static FrameSetElement |
FrameSetElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static IFrameElement |
IFrameElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ParamElement |
ParamElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static FieldSetElement |
FieldSetElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static BRElement |
BRElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ImageElement |
ImageElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static BaseElement |
BaseElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static HRElement |
HRElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableCaptionElement |
TableCaptionElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableElement |
TableElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static ObjectElement |
ObjectElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TitleElement |
TitleElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static BodyElement |
BodyElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static LinkElement |
LinkElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static InputElement |
InputElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static TableColElement |
TableColElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static HeadElement |
HeadElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static AnchorElement |
AnchorElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
static OptionElement |
OptionElement.as(Element elem)
Assert that the given
Element is compatible with this class and
automatically typecast it. |
NativeEvent |
Document.createMouseEvent(String type,
boolean canBubble,
boolean cancelable,
int detail,
int screenX,
int screenY,
int clientX,
int clientY,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int button,
Element relatedTarget)
Creates an mouse event.
|
NativeEvent |
Document.createMouseOutEvent(int detail,
int screenX,
int screenY,
int clientX,
int clientY,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int button,
Element relatedTarget)
Creates a 'mouseout' event.
|
NativeEvent |
Document.createMouseOverEvent(int detail,
int screenX,
int screenY,
int clientX,
int clientY,
boolean ctrlKey,
boolean altKey,
boolean shiftKey,
boolean metaKey,
int button,
Element relatedTarget)
Creates a 'mouseover' event.
|
int |
Touch.getRelativeX(Element target)
Gets the touch x-position relative to a given element.
|
int |
Touch.getRelativeY(Element target)
Gets the touch y-position relative to a given element.
|
static boolean |
ButtonElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
AreaElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableSectionElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableCellElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
DivElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ModElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
UListElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
MapElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
HeadingElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
OptGroupElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
StyleElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
LIElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ParagraphElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
FormElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
SpanElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
FrameElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
MetaElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
SelectElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableRowElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ScriptElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
OListElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
DListElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
SourceElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
PreElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
LabelElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
QuoteElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
LegendElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TextAreaElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
FrameSetElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
IFrameElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ParamElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
FieldSetElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
BRElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ImageElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
BaseElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
HRElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableCaptionElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
ObjectElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TitleElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
BodyElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
LinkElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
InputElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
TableColElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
HeadElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
AnchorElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
static boolean |
OptionElement.is(Element elem)
Determine whether the given
Element can be cast to this class. |
void |
DataTransfer.setDragImage(Element element,
int x,
int y)
Specify the element to use to update the drag feedback.
|
Modifier and Type | Method and Description |
---|---|
Element |
DomEvent.getRelativeElement()
Gets the element relative to which event coordinates will be measured.
|
Modifier and Type | Method and Description |
---|---|
static void |
DomEvent.fireNativeEvent(NativeEvent nativeEvent,
HasHandlers handlerSource,
Element relativeElem)
Fires the given native event on the specified handlers.
|
int |
MouseEvent.getRelativeX(Element target)
Gets the mouse x-position relative to a given element.
|
int |
MouseEvent.getRelativeY(Element target)
Gets the mouse y-position relative to a given element.
|
void |
DomEvent.setRelativeElement(Element relativeElem)
Gets the element relative to which event coordinates will be measured.
|
Modifier and Type | Method and Description |
---|---|
static HasDirection.Direction |
BidiUtils.getDirectionOnElement(Element elem)
Gets the directionality of an element.
|
static void |
BidiUtils.setDirectionOnElement(Element elem,
HasDirection.Direction direction)
Sets the directionality property for an element.
|
Modifier and Type | Method and Description |
---|---|
Element |
Layout.Layer.getContainerElement()
Gets the container element associated with this layer.
|
Modifier and Type | Method and Description |
---|---|
void |
Layout.assertIsChild(Element elem)
Asserts that the given child element is managed by this layout.
|
Layout.Layer |
Layout.attachChild(Element child)
Attaches a child element to this layout.
|
Layout.Layer |
Layout.attachChild(Element child,
Element before)
Attaches a child element to this layout.
|
Layout.Layer |
Layout.attachChild(Element child,
Element before,
Object userObject)
Attaches a child element to this layout.
|
Layout.Layer |
Layout.attachChild(Element child,
Object userObject)
Attaches a child element to this layout.
|
void |
LayoutImplIE8.onDetach(Element parent) |
Constructor and Description |
---|
Layout(Element parent)
Constructs a new layout associated with the given parent element.
|
Modifier and Type | Class and Description |
---|---|
class |
LazyDomElement<T extends Element>
Wraps a call to a DOM element.
|
Modifier and Type | Method and Description |
---|---|
static Element |
UiBinderUtil.fromHtml(String html) |
Modifier and Type | Method and Description |
---|---|
static UiBinderUtil.TempAttachment |
UiBinderUtil.attachToDom(Element element)
Attaches the element to the dom temporarily.
|
boolean |
UiRenderer.isParentOrRenderer(Element parent)
Checks whether
parent is a valid element to use as an argument for field getters. |
Modifier and Type | Method and Description |
---|---|
protected static Element |
AbstractUiRenderer.findInnerField(Element parent,
String fieldName,
String attribute)
Retrieves a specific element within a previously rendered element.
|
protected static Element |
AbstractUiRenderer.findRootElement(Element parent,
String attribute)
Retrieves the root of a previously rendered element contained within the
parent . |
protected Element |
AbstractUiRenderer.UiRendererDispatcher.getRoot()
Root Element of a previously rendered DOM structure.
|
Modifier and Type | Method and Description |
---|---|
protected static Element |
AbstractUiRenderer.findInnerField(Element parent,
String fieldName,
String attribute)
Retrieves a specific element within a previously rendered element.
|
protected static Element |
AbstractUiRenderer.findRootElement(Element parent,
String attribute)
Retrieves the root of a previously rendered element contained within the
parent . |
protected void |
AbstractUiRenderer.UiRendererDispatcher.fireEvent(T target,
NativeEvent event,
Element parentOrRoot)
Fire an event to the receiver.
|
boolean |
AbstractUiRenderer.isParentOrRenderer(Element parent) |
Modifier and Type | Method and Description |
---|---|
protected Element |
AbstractHasData.convertToElements(SafeHtml html)
Convert the specified HTML into DOM elements and return the parent of the
DOM elements.
|
protected Element |
AbstractCellTable.convertToElements(SafeHtml html) |
protected Element |
CellList.getCellParent(Element item)
Get the parent element that wraps the cell from the list item.
|
protected abstract Element |
AbstractHasData.getChildContainer()
Return the element that holds the rendered cells.
|
protected Element |
AbstractCellTable.getChildContainer() |
protected Element |
CellList.getChildContainer() |
protected Element |
AbstractHasData.getChildElement(int index)
Get the element that represents the specified index.
|
protected abstract Element |
AbstractHasData.getKeyboardSelectedElement()
Get the element that has keyboard selection.
|
protected Element |
AbstractCellTable.getKeyboardSelectedElement() |
protected Element |
CellList.getKeyboardSelectedElement() |
Element |
AbstractHasData.getRowContainer()
Return the outer element that contains all of the rendered row values.
|
Element |
CellList.getRowElement(int indexOnPage)
Get the
Element for the specified index. |
Modifier and Type | Method and Description |
---|---|
protected void |
CellList.fireEventToCell(Cell.Context context,
Event event,
Element parent,
T value)
Fire an event to the cell.
|
protected Element |
CellList.getCellParent(Element item)
Get the parent element that wraps the cell from the list item.
|
HasCell<T,?> |
AbstractCellTableBuilder.getColumn(Cell.Context context,
T rowValue,
Element elem)
Return the column containing an element.
|
HasCell<T,?> |
CellTableBuilder.getColumn(Cell.Context context,
T rowValue,
Element elem)
Return the column containing an element.
|
Column<T,?> |
AbstractHeaderOrFooterBuilder.getColumn(Element elem) |
Column<T,?> |
FooterBuilder.getColumn(Element elem)
Given an element in the DOM subtree returned by the most recent call to
FooterBuilder.buildFooter() , returns the Column that should be the target of any
button clicks or other events on that element, or null if the events should
be discarded. |
Column<T,?> |
HeaderBuilder.getColumn(Element elem)
Given an element in the DOM subtree returned by the most recent call to
HeaderBuilder.buildHeader() , returns the Column that should be the target of any
button clicks or other events on that element, or null if the events should
be discarded. |
Header<?> |
AbstractHeaderOrFooterBuilder.getHeader(Element elem) |
Header<?> |
FooterBuilder.getHeader(Element elem)
|
Header<?> |
HeaderBuilder.getHeader(Element elem)
|
boolean |
AbstractHeaderOrFooterBuilder.isColumn(Element elem) |
boolean |
AbstractCellTableBuilder.isColumn(Element elem)
Return if an element contains a cell.
|
boolean |
CellTableBuilder.isColumn(Element elem)
Return if an element contains a cell.
|
boolean |
FooterBuilder.isColumn(Element elem)
Check if an element contains a
Column . |
boolean |
HeaderBuilder.isColumn(Element elem)
Check if an element contains a
Column . |
boolean |
AbstractHeaderOrFooterBuilder.isHeader(Element elem) |
boolean |
FooterBuilder.isHeader(Element elem)
Check if an element contains a
Header . |
boolean |
HeaderBuilder.isHeader(Element elem)
Check if an element contains a
Header . |
void |
Header.onBrowserEvent(Cell.Context context,
Element elem,
NativeEvent event)
Handle a browser event that took place within the header.
|
void |
Column.onBrowserEvent(Cell.Context context,
Element elem,
T object,
NativeEvent event)
Handle a browser event that took place within the column.
|
boolean |
Header.onPreviewColumnSortEvent(Cell.Context context,
Element elem,
NativeEvent event)
Preview a browser event that may trigger a column sort event.
|
protected void |
AbstractHasData.setFocusable(Element elem,
boolean focusable)
Make an element focusable or not.
|
protected void |
AbstractHasData.setSelected(Element elem,
boolean selected)
Deprecated.
this method is never called by AbstractHasData, render the
selected styles in
AbstractHasData.renderRowValues(SafeHtmlBuilder, List, int, SelectionModel) |
protected void |
CellList.setSelected(Element elem,
boolean selected)
Deprecated.
this method is never called by AbstractHasData, render the
selected styles in
CellList.renderRowValues(SafeHtmlBuilder, List, int, SelectionModel) |
Constructor and Description |
---|
AbstractCellTable(Element elem,
int pageSize,
AbstractCellTable.Resources resources,
ProvidesKey<T> keyProvider)
Constructs a table with the given page size, the specified
AbstractCellTable.Style ,
and the given key provider. |
AbstractHasData(Element elem,
int pageSize,
ProvidesKey<T> keyProvider)
Constructs an
AbstractHasData with the given page size. |
CellWidget(Cell<C> cell,
C initialValue,
ProvidesKey<C> keyProvider,
Element elem)
Creates a
CellWidget with the specified cell, initial value, key
provider, using the specified element as the wrapper around the cell. |
Modifier and Type | Method and Description |
---|---|
Element |
Event.getCurrentTarget()
Deprecated.
use
NativeEvent.getCurrentEventTarget() instead |
Element |
Event.getFromElement()
Deprecated.
use
NativeEvent.getRelatedEventTarget() instead |
Element |
Event.getRelatedTarget()
Deprecated.
use
NativeEvent.getRelatedEventTarget() instead |
Element |
Event.getTarget()
Deprecated.
use
NativeEvent.getEventTarget() instead |
Element |
Event.getToElement()
Deprecated.
use
NativeEvent.getRelatedEventTarget() instead |
Modifier and Type | Method and Description |
---|---|
static void |
DOM.appendChild(Element parent,
Element child)
Appends one element to another's list of children.
|
static Element |
DOM.asOld(Element elem)
|
static Element |
DOM.clone(Element elem,
boolean deep)
Clones an element.
|
static boolean |
DOM.compare(Element elem1,
Element elem2)
Deprecated.
Use identity comparison.
|
static boolean |
DOM.dispatchEvent(Event evt,
Element elem)
This method is a similar to
DOM.dispatchEvent(Event, Element, EventListener) but only
dispatches if an event listener is set to element. |
static void |
DOM.dispatchEvent(Event evt,
Element elem,
EventListener listener)
This method is called directly by native code when any event is fired.
|
static int |
DOM.getAbsoluteLeft(Element elem)
Deprecated.
Use
Element.getAbsoluteLeft() instead. |
static int |
DOM.getAbsoluteTop(Element elem)
Deprecated.
Use
Element.getAbsoluteTop() instead. |
static String |
DOM.getAttribute(Element elem,
String attr)
Deprecated.
Use the more appropriately named
Element.getPropertyString(String) instead. |
static boolean |
DOM.getBooleanAttribute(Element elem,
String attr)
Deprecated.
Use the more appropriately named
Element.getPropertyBoolean(String) instead. |
static Element |
DOM.getChild(Element parent,
int index)
Gets an element's n-th child element.
|
static int |
DOM.getChildCount(Element parent)
Gets the number of child elements present in a given parent element.
|
static int |
DOM.getChildIndex(Element parent,
Element child)
Gets the index of a given child element within its parent.
|
static String |
DOM.getElementAttribute(Element elem,
String attr)
Deprecated.
Use
Element.getAttribute(String) instead. |
static String |
DOM.getElementProperty(Element elem,
String prop)
Deprecated.
Use
Element#getProperty(String) instead. |
static boolean |
DOM.getElementPropertyBoolean(Element elem,
String prop)
Deprecated.
Use
Element.getPropertyBoolean(String) instead. |
static int |
DOM.getElementPropertyInt(Element elem,
String prop)
Deprecated.
Use
Element.getPropertyInt(String) instead. |
static EventListener |
Event.getEventListener(Element elem)
Gets the
EventListener that will receive events for the given
element. |
static EventListener |
DOM.getEventListener(Element elem)
Gets the
EventListener that will receive events for the given
element. |
static int |
Event.getEventsSunk(Element elem)
Gets the current set of events sunk by a given element.
|
static int |
DOM.getEventsSunk(Element elem)
Gets the current set of events sunk by a given element.
|
static Element |
DOM.getFirstChild(Element elem)
Gets the first child element of the given element.
|
static String |
DOM.getImgSrc(Element img)
Gets the src attribute of an img element.
|
static String |
DOM.getInnerHTML(Element elem)
Deprecated.
Use
Element.getInnerHTML() instead. |
static String |
DOM.getInnerText(Element elem)
Deprecated.
Use
Element.getInnerText() instead. |
static int |
DOM.getIntAttribute(Element elem,
String attr)
Deprecated.
Use the more appropriately named
Element.getPropertyInt(String) instead. |
static int |
DOM.getIntStyleAttribute(Element elem,
String attr)
Gets an integer attribute on a given element's style.
|
static Element |
DOM.getNextSibling(Element elem)
Gets an element's next sibling element.
|
static Element |
DOM.getParent(Element elem)
Gets an element's parent element.
|
static String |
DOM.getStyleAttribute(Element elem,
String attr)
Deprecated.
Use
Element.getStyle() and
Style#getProperty(String) instead. |
static void |
DOM.insertBefore(Element parent,
Element child,
Element before)
Inserts an element as a child of the given parent element, before another
child of that parent.
|
static void |
DOM.insertChild(Element parent,
Element child,
int index)
Inserts an element as a child of the given parent element.
|
static void |
DOM.insertListItem(Element selectElem,
String item,
String value,
int index)
Creates an
<option> element and inserts it as a child of
the specified <select> element. |
static boolean |
DOM.isOrHasChild(Element parent,
Element child)
Deprecated.
Use
Element#isOrHasChild(Element) instead. |
static void |
Event.releaseCapture(Element elem)
Releases mouse capture on the given element.
|
static void |
DOM.releaseCapture(Element elem)
Releases mouse/touch/gesture capture on the given element.
|
static void |
DOM.removeChild(Element parent,
Element child)
Deprecated.
Use
Element#removeChild(Element) instead. |
static void |
DOM.removeElementAttribute(Element elem,
String attr)
Deprecated.
Use
Element.removeAttribute(String) instead. |
static void |
DOM.scrollIntoView(Element elem)
Deprecated.
Use
Element.scrollIntoView() instead. |
static void |
DOM.setAttribute(Element elem,
String attr,
String value)
Deprecated.
Use the more appropriately named
Element.setPropertyString(String, String) instead. |
static void |
DOM.setBooleanAttribute(Element elem,
String attr,
boolean value)
Deprecated.
Use the more appropriately named
Element.setPropertyBoolean(String, boolean)
instead. |
static void |
Event.setCapture(Element elem)
Sets mouse-capture on the given element.
|
static void |
DOM.setCapture(Element elem)
Sets mouse/touch/gesture capture on the given element.
|
static void |
DOM.setElementAttribute(Element elem,
String attr,
String value)
Deprecated.
Use
Element.setAttribute(String, String) instead. |
static void |
DOM.setElementProperty(Element elem,
String prop,
String value)
Deprecated.
Use
Element.setPropertyString(String, String) instead. |
static void |
DOM.setElementPropertyBoolean(Element elem,
String prop,
boolean value)
Deprecated.
Use
Element.setPropertyBoolean(String, boolean) instead. |
static void |
DOM.setElementPropertyInt(Element elem,
String prop,
int value)
Deprecated.
Use
Element.setPropertyInt(String, int) instead. |
static void |
Event.setEventListener(Element elem,
EventListener listener)
Sets the
EventListener to receive events for the given element. |
static void |
DOM.setEventListener(Element elem,
EventListener listener)
Sets the
EventListener to receive events for the given element. |
static void |
DOM.setImgSrc(Element img,
String src)
Sets the src attribute of an img element.
|
static void |
DOM.setInnerHTML(Element elem,
String html)
Deprecated.
Use
Element.setInnerHTML(String) instead. |
static void |
DOM.setInnerText(Element elem,
String text)
Deprecated.
Use
Element.setInnerText(String) instead. |
static void |
DOM.setIntAttribute(Element elem,
String attr,
int value)
Deprecated.
Use the more appropriately named
Element.setPropertyInt(String, int) instead. |
static void |
DOM.setIntStyleAttribute(Element elem,
String attr,
int value)
Sets an integer attribute on the given element's style.
|
static void |
DOM.setOptionText(Element select,
String text,
int index)
Sets the option text of the given select object.
|
static void |
DOM.setStyleAttribute(Element elem,
String attr,
String value)
Deprecated.
Use
Element.getStyle() and
Style#setProperty(String, String) instead. |
static void |
DOM.sinkBitlessEvent(Element elem,
String eventTypeName)
Sinks a named event.
|
static void |
Event.sinkEvents(Element elem,
int eventBits)
Sets the current set of events sunk by a given element.
|
static void |
DOM.sinkEvents(Element elem,
int eventBits)
Sets the current set of events sunk by a given element.
|
static String |
DOM.toString(Element elem)
Deprecated.
Use
Element.getString() instead. |
Modifier and Type | Method and Description |
---|---|
Element |
DOMImplStandard.eventGetFromElement(Event evt) |
Element |
DOMImplTrident.eventGetFromElement(Event evt) |
abstract Element |
DOMImpl.eventGetFromElement(Event evt) |
Element |
DOMImplStandard.eventGetToElement(Event evt) |
Element |
DOMImplTrident.eventGetToElement(Event evt) |
abstract Element |
DOMImpl.eventGetToElement(Event evt) |
Element |
DOMImplStandard.getChild(Element elem,
int index) |
Element |
DOMImplTrident.getChild(Element elem,
int index) |
abstract Element |
DOMImpl.getChild(Element elem,
int index) |
Modifier and Type | Method and Description |
---|---|
T |
ElementMapperImpl.get(Element elem)
Returns the uiObject associated with the given element.
|
Element |
DOMImplStandard.getChild(Element elem,
int index) |
Element |
DOMImplTrident.getChild(Element elem,
int index) |
abstract Element |
DOMImpl.getChild(Element elem,
int index) |
int |
DOMImplStandard.getChildCount(Element elem) |
int |
DOMImplTrident.getChildCount(Element elem) |
abstract int |
DOMImpl.getChildCount(Element elem) |
int |
DOMImplStandard.getChildIndex(Element parent,
Element toFind) |
int |
DOMImplTrident.getChildIndex(Element parent,
Element child) |
abstract int |
DOMImpl.getChildIndex(Element parent,
Element child) |
static EventListener |
DOMImpl.getEventListener(Element elem) |
int |
DOMImpl.getEventsSunk(Element elem) |
void |
DOMImplStandard.insertChild(Element parent,
Element toAdd,
int index) |
void |
DOMImplTrident.insertChild(Element parent,
Element child,
int index) |
abstract void |
DOMImpl.insertChild(Element parent,
Element child,
int index) |
void |
DOMImplStandard.releaseCapture(Element elem) |
void |
DOMImplTrident.releaseCapture(Element elem) |
abstract void |
DOMImpl.releaseCapture(Element elem) |
void |
ElementMapperImpl.removeByElement(Element elem)
Remove the uiObject associated with the given element.
|
void |
DOMImplStandard.setCapture(Element elem) |
void |
DOMImplTrident.setCapture(Element elem) |
abstract void |
DOMImpl.setCapture(Element elem) |
static void |
DOMImpl.setEventListener(Element elem,
EventListener listener) |
void |
DOMImplStandard.sinkBitlessEvent(Element elem,
String eventTypeName) |
void |
DOMImplTrident.sinkBitlessEvent(Element elem,
String eventTypeName) |
abstract void |
DOMImpl.sinkBitlessEvent(Element elem,
String eventTypeName) |
protected void |
DOMImplStandard.sinkBitlessEventImpl(Element elem,
String eventTypeName) |
void |
DOMImplStandard.sinkEvents(Element elem,
int bits) |
void |
DOMImplTrident.sinkEvents(Element elem,
int bits) |
abstract void |
DOMImpl.sinkEvents(Element elem,
int eventBits) |
protected void |
DOMImplStandard.sinkEventsImpl(Element elem,
int bits) |
Modifier and Type | Field and Description |
---|---|
protected Element |
HTMLTable.ColumnFormatter.columnGroup |
Modifier and Type | Method and Description |
---|---|
Element |
RenderableStamper.findStampedElement()
Finds the element that was previously stamped in the DOM.
|
protected Element |
PopupPanel.getGlassElement()
Get the glass element used by this
PopupPanel . |
protected abstract Element |
AbstractNativeScrollbar.getScrollableElement()
Get the scrollable element.
|
protected Element |
NativeHorizontalScrollbar.getScrollableElement() |
protected Element |
NativeVerticalScrollbar.getScrollableElement() |
Element |
LayoutPanel.getWidgetContainerElement(Widget child)
Gets the container element wrapping the given child widget.
|
Element |
DockLayoutPanel.getWidgetContainerElement(Widget child)
Gets the container element wrapping the given child widget.
|
static Element |
PotentialElement.resolve(Element maybePotential)
If given a PotentialElement, returns the real Element to be
built from it.
|
Element |
RenderablePanel.resolvePotentialElement() |
protected Element |
UIObject.resolvePotentialElement()
EXPERIMENTAL and subject to change.
|
protected Element |
Composite.resolvePotentialElement() |
Modifier and Type | Method and Description |
---|---|
void |
HTMLPanel.add(Widget widget,
Element elem)
Adds a child widget to the panel, contained within an HTML
element.
|
protected void |
ComplexPanel.add(Widget child,
Element container)
Adds a new child widget to the panel, attaching its Element to the
specified container Element.
|
void |
RenderablePanel.addAndReplaceElement(IsWidget widget,
Element toReplace)
Overloaded version for IsWidget.
|
void |
HTMLPanel.addAndReplaceElement(IsWidget widget,
Element toReplace)
Overloaded version for IsWidget.
|
void |
RenderablePanel.addAndReplaceElement(Widget widget,
Element toReplace)
Adds a child widget to the panel, replacing the HTML element.
|
void |
HTMLPanel.addAndReplaceElement(Widget widget,
Element toReplace)
Adds a child widget to the panel, replacing the HTML element.
|
void |
PopupPanel.addAutoHidePartner(Element partner)
Mouse events that occur within an autoHide partner will not hide a panel
set to autoHide.
|
static PotentialElement |
PotentialElement.as(Element e) |
void |
RenderablePanel.claimElement(Element element) |
void |
Composite.claimElement(Element element) |
void |
IsRenderable.claimElement(Element element)
Replace the previous contents of the receiver with the given element,
presumed to have been created and stamped via a previous call to
IsRenderable.render(com.google.gwt.user.client.ui.RenderableStamper) . |
static HtmlElementBuilder |
PotentialElement.createBuilderFor(Element potentialElement)
Creates an
HtmlElementBuilder instance inheriting all attributes
set for the given PotentialElement. |
static void |
UIObject.ensureDebugId(Element elem,
String id)
Ensure that elem has an ID property set, which allows it to integrate with
third-party libraries and test tools.
|
protected static void |
UIObject.ensureDebugId(Element elem,
String baseID,
String id)
Set the debug id of a specific element.
|
void |
UIObject.DebugIdImpl.ensureDebugId(Element elem,
String baseID,
String id) |
void |
UIObject.DebugIdImplEnabled.ensureDebugId(Element elem,
String baseID,
String id) |
protected int |
HTMLTable.getDOMCellCount(Element tableBody,
int row)
Directly ask the underlying DOM what the cell count on the given row is.
|
protected int |
HTMLTable.getDOMRowCount(Element tbody) |
static String |
Accessibility.getRole(Element elem)
Deprecated.
Requests the string value of the role with the specified namespace.
|
protected Element |
HTMLTable.RowFormatter.getRow(Element tbody,
int row) |
static String |
Accessibility.getState(Element elem,
String stateName)
Deprecated.
Requests the string value of the state with the specified namespace.
|
protected static String |
UIObject.getStyleName(Element elem)
Gets all of the element's style names, as a space-separated list.
|
protected static String |
UIObject.getStylePrimaryName(Element elem)
Gets the element's primary style name.
|
protected void |
ComplexPanel.insert(Widget child,
Element container,
int beforeIndex,
boolean domInsert)
Insert a new child Widget into this Panel at a specified index, attaching
its Element to the specified container Element.
|
protected boolean |
HTMLTable.internalClearCell(Element td,
boolean clearInnerHTML)
Does actual clearing, used by clearCell and cleanCell.
|
static boolean |
UIObject.isVisible(Element elem)
Returns whether the given element is visible in a way consistent with
UIObject.setVisible(Element, boolean) . |
void |
PopupPanel.removeAutoHidePartner(Element partner)
Remove an autoHide partner.
|
static void |
Accessibility.removeState(Element elem,
String stateName)
Deprecated.
Removes the state from the given element.
|
protected void |
CheckBox.replaceInputElement(Element elem)
Replace the current input element with a new one.
|
static Element |
PotentialElement.resolve(Element maybePotential)
If given a PotentialElement, returns the real Element to be
built from it.
|
void |
CaptionPanel.CaptionPanelImpl.setCaption(FieldSetElement fieldset,
Element legend,
SafeHtml caption) |
void |
CaptionPanel.CaptionPanelImplMozilla.setCaption(FieldSetElement fieldset,
Element legend,
SafeHtml caption) |
void |
CaptionPanel.CaptionPanelImplSafari.setCaption(FieldSetElement fieldset,
Element legend,
SafeHtml caption) |
void |
CaptionPanel.CaptionPanelImpl.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplMozilla.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
void |
CaptionPanel.CaptionPanelImplSafari.setCaption(FieldSetElement fieldset,
Element legend,
String caption,
boolean asHTML) |
protected void |
CellPanel.setCellHorizontalAlignment(Element td,
HasHorizontalAlignment.HorizontalAlignmentConstant align) |
protected void |
CellPanel.setCellVerticalAlignment(Element td,
HasVerticalAlignment.VerticalAlignmentConstant align) |
protected void |
UIObject.setElement(Element elem)
Sets this object's browser element.
|
static void |
Accessibility.setRole(Element elem,
String roleName)
Deprecated.
Assigns the specified element the specified role and value for that role.
|
static void |
Accessibility.setState(Element elem,
String stateName,
String stateValue)
Deprecated.
Assigns the specified element the specified state and value for that state.
|
protected static void |
UIObject.setStyleName(Element elem,
String styleName)
Clears all of the element's style names and sets it to the given style.
|
protected static void |
UIObject.setStyleName(Element elem,
String style,
boolean add)
This convenience method adds or removes a style name for a given element.
|
protected static void |
UIObject.setStylePrimaryName(Element elem,
String style)
Sets the element's primary style name and updates all dependent style
names.
|
static void |
UIObject.setVisible(Element elem,
boolean visible)
Shows or hides the given element.
|
static ListBox |
ListBox.wrap(Element element)
Creates a ListBox widget that wraps an existing <select> element.
|
static HTML |
HTML.wrap(Element element)
Creates an HTML widget that wraps an existing <div> or <span>
element.
|
static SimpleRadioButton |
SimpleRadioButton.wrap(Element element)
Creates a SimpleRadioButton widget that wraps an existing <input
type='radio'> element.
|
static Label |
Label.wrap(Element element)
Creates a Label widget that wraps an existing <div> or <span>
element.
|
static Button |
SubmitButton.wrap(Element element)
Creates a SubmitButton widget that wraps an existing <button>
element.
|
static HTMLPanel |
HTMLPanel.wrap(Element element)
Creates an HTML panel that wraps an existing element.
|
static FileUpload |
FileUpload.wrap(Element element)
Creates a FileUpload widget that wraps an existing <input
type='file'> element.
|
static TextArea |
TextArea.wrap(Element element)
Creates a TextArea widget that wraps an existing <textarea>
element.
|
static InlineLabel |
InlineLabel.wrap(Element element)
Creates a InlineLabel widget that wraps an existing <div> or
<span> element.
|
static InlineHTML |
InlineHTML.wrap(Element element)
Creates an InlineHTML widget that wraps an existing <div> or
<span> element.
|
static Hidden |
Hidden.wrap(Element element)
Creates a Hidden widget that wraps an existing <input type='hidden'>
element.
|
static SimpleCheckBox |
SimpleCheckBox.wrap(Element element)
Creates a SimpleCheckBox widget that wraps an existing <input
type='checkbox'> element.
|
static TextBox |
TextBox.wrap(Element element)
Creates a TextBox widget that wraps an existing <input type='text'>
element.
|
static Button |
Button.wrap(Element element)
Creates a Button widget that wraps an existing <button> element.
|
static Button |
ResetButton.wrap(Element element)
Creates a ResetButton widget that wraps an existing <button> element.
|
static FormPanel |
FormPanel.wrap(Element element)
Creates a FormPanel that wraps an existing <form> element.
|
static PasswordTextBox |
PasswordTextBox.wrap(Element element)
Creates a PasswordTextBox widget that wraps an existing <input
type='password'> element.
|
static Frame |
Frame.wrap(Element element)
Creates a Frame widget that wraps an existing <frame> element.
|
static Image |
Image.wrap(Element element)
Creates a Image widget that wraps an existing <img> element.
|
static Anchor |
Anchor.wrap(Element element)
Creates an Anchor widget that wraps an existing <a> element.
|
static FormPanel |
FormPanel.wrap(Element element,
boolean createIFrame)
Creates a FormPanel that wraps an existing <form> element.
|
static <T> ValueLabel<T> |
ValueLabel.wrap(Element element,
Renderer<? super T> renderer)
Creates a ValueLabel widget that wraps an existing <span> element.
|
static <T> ValueLabel<T> |
ValueLabel.wrap(Element element,
Renderer<? super T> renderer,
Parser<? extends T> parser)
Creates a ValueLabel widget that wraps an existing <span> element.
|
static <T> ValueBox<T> |
ValueBox.wrap(Element element,
Renderer<T> renderer,
Parser<T> parser)
Creates a ValueBox widget that wraps an existing <input type='text'>
element.
|
static SuggestBox |
SuggestBox.wrap(SuggestOracle oracle,
Element element)
Creates a
SuggestBox widget that wraps an existing <input
type='text'> element. |
Constructor and Description |
---|
AbsolutePanel(Element elem)
Creates an AbsolutePanel with the given element.
|
Anchor(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Button(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
ButtonBase(Element elem)
Creates a new ButtonBase that wraps the given browser element.
|
CheckBox(Element elem) |
DirectionalTextHelper(Element element,
boolean isElementInline) |
FileUpload(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
FocusWidget(Element elem)
Creates a new focus widget that wraps the specified browser element.
|
FormPanel(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
FormPanel(Element element,
boolean createIFrame)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Frame(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Hidden(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
HTML(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Hyperlink(Element elem) |
Image(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
InlineHTML(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
InlineLabel(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Label(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
LabelBase(Element element) |
ListBox(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
PasswordTextBox(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
ResetButton(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
ScrollPanel(Element root,
Element scrollable,
Element container)
Creates an empty scroll panel using the specified root, scrollable, and
container elements.
|
SimpleCheckBox(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
SimplePanel(Element elem)
Creates an empty panel that uses the specified browser element for its
contents.
|
SimpleRadioButton(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
SubmitButton(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
TextArea(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
TextBox(Element element)
This constructor may be used by subclasses to explicitly use an existing
element.
|
TextBoxBase(Element elem)
Creates a text box that wraps the given browser element handle.
|
ValueBox(Element element,
Renderer<T> renderer,
Parser<T> parser)
This constructor may be used by subclasses to explicitly use an existing
element.
|
ValueBoxBase(Element elem,
Renderer<T> renderer,
Parser<T> parser)
Creates a value box that wraps the given browser element handle.
|
ValueLabel(Element element,
Renderer<? super T> renderer)
This constructor may be used by subclasses to explicitly use an existing
element.
|
Modifier and Type | Field and Description |
---|---|
protected Element |
RichTextAreaImpl.elem |
Modifier and Type | Method and Description |
---|---|
Element |
PopupImplMozilla.createElement() |
Element |
RichTextAreaImplIE8toIE10.createElement() |
Element |
PopupImpl.createElement() |
Element |
RichTextAreaImplStandard.createElement() |
protected Element |
RichTextAreaImpl.createElement() |
Element |
FocusImpl.createFocusable() |
Element |
FocusImplStandard.createFocusable() |
Element |
ClippedImageImpl.createStructure(SafeUri url,
int left,
int top,
int width,
int height) |
Element |
PopupImplMozilla.getContainerElement(Element outerElem) |
Element |
PopupImpl.getContainerElement(Element popup) |
Element |
RichTextAreaImpl.getElement() |
Element |
ClippedImageImpl.getImgElement(Image image) |
Element |
PopupImplMozilla.getStyleElement(Element outerElem) |
Element |
PopupImpl.getStyleElement(Element popup) |
Modifier and Type | Method and Description |
---|---|
void |
ClippedImageImpl.adjust(Element img,
SafeUri url,
int left,
int top,
int width,
int height) |
void |
FocusImplSafari.blur(Element elem) |
void |
FocusImpl.blur(Element elem) |
void |
FocusImplIE6.focus(Element elem) |
void |
FocusImplSafari.focus(Element elem) |
void |
FocusImpl.focus(Element elem) |
Element |
PopupImplMozilla.getContainerElement(Element outerElem) |
Element |
PopupImpl.getContainerElement(Element popup) |
String |
FormPanelImpl.getContents(Element iframe)
Gets the response html from the loaded iframe.
|
int |
TextBoxImpl.getCursorPos(Element elem) |
int |
TextBoxImplIE8.getCursorPos(Element elem) |
String |
FormPanelImpl.getEncoding(Element form)
Gets the form element's encoding.
|
int |
TextBoxImpl.getSelectionLength(Element elem) |
int |
TextBoxImplIE8.getSelectionLength(Element elem) |
Element |
PopupImplMozilla.getStyleElement(Element outerElem) |
Element |
PopupImpl.getStyleElement(Element popup) |
int |
FocusImpl.getTabIndex(Element elem) |
int |
TextBoxImpl.getTextAreaCursorPos(Element elem) |
int |
TextBoxImplIE8.getTextAreaCursorPos(Element elem)
The text reported in the text range does not include newline characters at
the end of the selection.
|
int |
TextBoxImpl.getTextAreaSelectionLength(Element elem) |
int |
TextBoxImplIE8.getTextAreaSelectionLength(Element elem) |
void |
FormPanelImpl.hookEvents(Element iframe,
Element form,
FormPanelImplHost listener)
Hooks the iframe's onLoad event and the form's onSubmit event.
|
void |
FormPanelImplIE8.hookEvents(Element iframe,
Element form,
FormPanelImplHost listener) |
void |
FormPanelImpl.reset(Element form)
Resets a form.
|
void |
FocusImpl.setAccessKey(Element elem,
char key) |
void |
FocusImplStandard.setAccessKey(Element elem,
char key) |
void |
PopupImplMozilla.setClip(Element popup,
String rect) |
void |
PopupImpl.setClip(Element popup,
String rect) |
void |
FormPanelImpl.setEncoding(Element form,
String encoding)
Sets the form element's encoding.
|
void |
TextBoxImpl.setSelectionRange(Element elem,
int pos,
int length) |
void |
TextBoxImplIE8.setSelectionRange(Element elem,
int pos,
int length)
Moving the start 1 character will move across a \r\n, but \r\n counts as
two characters, so we need to offset the position accordingly.
|
void |
FocusImpl.setTabIndex(Element elem,
int index) |
void |
FormPanelImpl.submit(Element form,
Element iframe)
Submits a form.
|
void |
FormPanelImpl.unhookEvents(Element iframe,
Element form)
Unhooks the iframe's onLoad event.
|
void |
FormPanelImplIE8.unhookEvents(Element iframe,
Element form) |
Modifier and Type | Method and Description |
---|---|
Element |
DefaultMonthSelector.getBackwardButtonElement()
Returns the button for moving to the previous month.
|
Element |
DefaultMonthSelector.getForwardButtonElement()
Returns the button for moving to the next month.
|
Element |
DefaultMonthSelector.getYearBackwardButtonElement()
Returns the button for moving to the previous year.
|
Element |
DefaultMonthSelector.getYearForwardButtonElement()
Returns the button for moving to the next year.
|
Copyright © 2018. All rights reserved.