Package | Description |
---|---|
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.ui |
Widgets, Panels, and other user-interface classes.
|
Modifier and Type | Method and Description |
---|---|
(package private) static Element |
AbstractHasData.convertToElements(Widget widget,
Element tmpElem,
SafeHtml html)
Convenience method to convert the specified HTML into DOM elements and
return the parent of the DOM elements.
|
Modifier and Type | Method and Description |
---|---|
static Element |
DOM.clone(Element elem,
boolean deep)
Clones an element.
|
static Element |
DOM.createAnchor()
Creates an HTML A element.
|
static Element |
DOM.createButton()
Creates an HTML BUTTON element.
|
static Element |
DOM.createCaption()
Creates an HTML CAPTION element.
|
static Element |
DOM.createCol()
Creates an HTML COL element.
|
static Element |
DOM.createColGroup()
Creates an HTML COLGROUP element.
|
static Element |
DOM.createDiv()
Creates an HTML DIV element.
|
static Element |
DOM.createElement(java.lang.String tagName)
Creates an HTML element.
|
static Element |
DOM.createFieldSet()
Creates an HTML FIELDSET element.
|
static Element |
DOM.createForm()
Creates an HTML FORM element.
|
static Element |
DOM.createIFrame()
Creates an HTML IFRAME element.
|
static Element |
DOM.createImg()
Creates an HTML IMG element.
|
static Element |
DOM.createInputCheck()
Creates an HTML INPUT type='CHECK' element.
|
static Element |
DOM.createInputPassword()
Creates an HTML INPUT type='PASSWORD' element.
|
static Element |
DOM.createInputRadio(java.lang.String name)
Creates an HTML INPUT type='RADIO' element.
|
static Element |
DOM.createInputText()
Creates an HTML INPUT type='TEXT' element.
|
static Element |
DOM.createLabel()
Creates an HTML LABEL element.
|
static Element |
DOM.createLegend()
Creates an HTML LEGEND element.
|
static Element |
DOM.createOption()
Creates an HTML OPTION element.
|
static Element |
DOM.createOptions()
Deprecated.
there is no "options" element; use
DOM.createOption()
instead |
static Element |
DOM.createSelect()
Creates a single-selection HTML SELECT element.
|
static Element |
DOM.createSelect(boolean multiple)
Creates an HTML SELECT element.
|
static Element |
DOM.createSpan()
Creates an HTML SPAN element.
|
static Element |
DOM.createTable()
Creates an HTML TABLE element.
|
static Element |
DOM.createTBody()
Creates an HTML TBODY element.
|
static Element |
DOM.createTD()
Creates an HTML TD element.
|
static Element |
DOM.createTextArea()
Creates an HTML TEXTAREA element.
|
static Element |
DOM.createTFoot()
Creates an HTML TFOOT element.
|
static Element |
DOM.createTH()
Creates an HTML TH element.
|
static Element |
DOM.createTHead()
Creates an HTML THEAD element.
|
static Element |
DOM.createTR()
Creates an HTML TR element.
|
static Element |
DOM.eventGetCurrentTarget(Event evt)
Gets the current target element of the given event.
|
static Element |
DOM.eventGetFromElement(Event evt)
Gets the element from which the mouse pointer was moved (valid for
Event.ONMOUSEOVER and Event.ONMOUSEOUT ). |
static Element |
DOM.eventGetTarget(Event evt)
Returns the element that was the actual target of the given event.
|
static Element |
DOM.eventGetToElement(Event evt)
Gets the element to which the mouse pointer was moved (only valid for
Event.ONMOUSEOUT and Event.ONMOUSEOVER ). |
static Element |
DOM.getCaptureElement()
Gets the element that currently has mouse capture.
|
static Element |
DOM.getChild(Element parent,
int index)
Gets an element's n-th child element.
|
static Element |
DOM.getElementById(java.lang.String id)
Gets the element associated with the given unique id within the entire
document.
|
static Element |
DOM.getFirstChild(Element elem)
Gets the first child element of the given element.
|
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.
|
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.clone(Element elem,
boolean deep)
Clones an element.
|
static boolean |
DOM.compare(Element elem1,
Element elem2)
Deprecated.
Use identity comparison.
|
(package private) 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)
Gets an element's absolute left coordinate in the document's coordinate
system.
|
static int |
DOM.getAbsoluteTop(Element elem)
Gets an element's absolute top coordinate in the document's coordinate
system.
|
static java.lang.String |
DOM.getAttribute(Element elem,
java.lang.String attr)
Deprecated.
Use the more appropriately named
DOM.getElementProperty(Element, String) instead. |
static boolean |
DOM.getBooleanAttribute(Element elem,
java.lang.String attr)
Deprecated.
Use the more appropriately named
DOM.getElementPropertyBoolean(Element, 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 java.lang.String |
DOM.getElementAttribute(Element elem,
java.lang.String attr)
Gets the named attribute from the element.
|
static java.lang.String |
DOM.getElementProperty(Element elem,
java.lang.String prop)
Gets any named property from an element, as a string.
|
static boolean |
DOM.getElementPropertyBoolean(Element elem,
java.lang.String prop)
Gets any named property from an element, as a boolean.
|
static int |
DOM.getElementPropertyInt(Element elem,
java.lang.String prop)
Gets any named property from an element, as an int.
|
static EventListener |
DOM.getEventListener(Element elem)
Gets the
EventListener that will receive events for the 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 java.lang.String |
DOM.getImgSrc(Element img)
Gets the src attribute of an img element.
|
static java.lang.String |
DOM.getInnerHTML(Element elem)
Gets an HTML representation of an element's children.
|
static java.lang.String |
DOM.getInnerText(Element elem)
Gets the text contained within an element.
|
static int |
DOM.getIntAttribute(Element elem,
java.lang.String attr)
Deprecated.
Use the more appropriately named
DOM.getElementPropertyInt(Element, String) instead. |
static int |
DOM.getIntStyleAttribute(Element elem,
java.lang.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 java.lang.String |
DOM.getStyleAttribute(Element elem,
java.lang.String attr)
Gets an attribute of the given element's style.
|
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,
java.lang.String item,
java.lang.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)
Determine whether one element is equal to, or the child of, another.
|
static void |
DOM.releaseCapture(Element elem)
Releases mouse/touch/gesture capture on the given element.
|
static void |
DOM.removeChild(Element parent,
Element child)
Removes a child element from the given parent element.
|
static void |
DOM.removeElementAttribute(Element elem,
java.lang.String attr)
Removes the named attribute from the given element.
|
static void |
DOM.scrollIntoView(Element elem)
Scrolls the given element into view.
|
static void |
DOM.setAttribute(Element elem,
java.lang.String attr,
java.lang.String value)
Deprecated.
Use the more appropriately named
DOM.setElementProperty(Element, String, String) instead. |
static void |
DOM.setBooleanAttribute(Element elem,
java.lang.String attr,
boolean value)
Deprecated.
Use the more appropriately named
DOM.setElementPropertyBoolean(Element, String, boolean)
instead. |
static void |
DOM.setCapture(Element elem)
Sets mouse/touch/gesture capture on the given element.
|
static void |
DOM.setElementAttribute(Element elem,
java.lang.String attr,
java.lang.String value)
Sets an attribute on a given element.
|
static void |
DOM.setElementProperty(Element elem,
java.lang.String prop,
java.lang.String value)
Sets a property on the given element.
|
static void |
DOM.setElementPropertyBoolean(Element elem,
java.lang.String prop,
boolean value)
Sets a boolean property on the given element.
|
static void |
DOM.setElementPropertyInt(Element elem,
java.lang.String prop,
int value)
Sets an int property on 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,
java.lang.String src)
Sets the src attribute of an img element.
|
static void |
DOM.setInnerHTML(Element elem,
java.lang.String html)
Sets the HTML contained within an element.
|
static void |
DOM.setInnerText(Element elem,
java.lang.String text)
Sets the text contained within an element.
|
static void |
DOM.setIntAttribute(Element elem,
java.lang.String attr,
int value)
Deprecated.
Use the more appropriately named
DOM.setElementPropertyInt(Element, String, int) instead. |
static void |
DOM.setIntStyleAttribute(Element elem,
java.lang.String attr,
int value)
Sets an integer attribute on the given element's style.
|
static void |
DOM.setOptionText(Element select,
java.lang.String text,
int index)
Sets the option text of the given select object.
|
static void |
DOM.setStyleAttribute(Element elem,
java.lang.String attr,
java.lang.String value)
Sets an attribute on the given element's style.
|
static void |
DOM.sinkBitlessEvent(Element elem,
java.lang.String eventTypeName)
Sinks a named event.
|
static void |
DOM.sinkEvents(Element elem,
int eventBits)
Sets the current set of events sunk by a given element.
|
static java.lang.String |
DOM.toString(Element elem)
Returns a stringized version of the element.
|
Modifier and Type | Field and Description |
---|---|
protected Element |
HTMLTable.ColumnFormatter.columnGroup |
(package private) Element |
ResizeLayoutPanel.Impl.parent |
Element |
DockPanel.LayoutData.td |
Modifier and Type | Method and Description |
---|---|
protected Element |
Grid.createCell()
Creates a new, empty cell.
|
protected Element |
HTMLTable.createCell()
Creates a new cell.
|
(package private) Element |
DecoratedStackPanel.createHeaderElem() |
(package private) Element |
StackPanel.createHeaderElem()
Returns a header element.
|
(package private) static Element |
DecoratorPanel.createTR(java.lang.String styleName)
Create a new row with a specific style name.
|
protected Element |
HTMLTable.RowFormatter.ensureElement(int row)
Ensure the TR element representing the specified row exists for
subclasses that allow dynamic addition of elements.
|
protected Element |
HTMLTable.CellFormatter.ensureElement(int row,
int column)
Gets the element associated with a cell.
|
protected Element |
CellPanel.getBody() |
protected Element |
HTMLTable.getBodyElement()
Gets the table's TBODY element.
|
static Element |
RootPanel.getBodyElement()
Convenience method for getting the document's body element.
|
protected Element |
DecoratedPopupPanel.getCellElement(int row,
int cell)
Get a specific Element from the panel.
|
protected Element |
DecoratorPanel.getCellElement(int row,
int cell)
Get a specific Element from the panel.
|
protected Element |
DecoratorPanel.getContainerElement() |
protected Element |
PopupPanel.getContainerElement() |
protected Element |
ScrollPanel.getContainerElement() |
protected Element |
SimplePanel.getContainerElement()
Override this method to specify that an element other than the root element
be the container for the panel's child widget.
|
(package private) Element |
TreeItem.getContentElem() |
Element |
HTMLTable.Cell.getElement()
Gets the cell's element.
|
Element |
UIObject.getElement()
Gets a handle to the object's underlying DOM element.
|
Element |
HTMLTable.ColumnFormatter.getElement(int column)
Get the col element for the column.
|
Element |
HTMLTable.RowFormatter.getElement(int row)
Gets the TR element representing the specified row.
|
protected Element |
SplitPanel.getElement(int index)
Deprecated.
Gets the content element for the given index.
|
Element |
HTMLTable.CellFormatter.getElement(int row,
int column)
Gets the TD element representing the specified cell.
|
Element |
HTMLPanel.getElementById(java.lang.String id)
Finds an
element within this panel by its id. |
protected Element |
HTMLTable.getEventTargetCell(Event event)
Determines the TD associated with the specified event.
|
(package private) Element |
DecoratedStackPanel.getHeaderTextElem(Element headerElem) |
(package private) Element |
StackPanel.getHeaderTextElem(Element headerElem)
Get the element that holds the header text given the header element created
by #createHeaderElement.
|
(package private) Element |
TreeItem.getImageElement() |
(package private) Element |
TreeItem.getImageHolderElement() |
protected Element |
HTMLTable.RowFormatter.getRow(Element elem,
int row) |
protected Element |
ScrollPanel.getScrollableElement()
Get the scrollable element.
|
protected Element |
SplitPanel.getSplitElement()
Deprecated.
Gets the element that is acting as the splitter.
|
protected Element |
PopupPanel.getStyleElement() |
protected Element |
UIObject.getStyleElement()
Template method that returns the element to which style names will be
applied.
|
protected Element |
CellPanel.getTable() |
(package private) Element |
CellPanel.getWidgetTd(Widget w) |
(package private) static Element |
SplitPanel.preventBoxStyles(Element elem)
Deprecated.
Adds zero or none CSS values for padding, margin and border to prevent
stylesheet overrides.
|
Modifier and Type | Method and Description |
---|---|
protected void |
ComplexPanel.add(Widget child,
Element container)
Adds a new child widget to the panel, attaching its Element to the
specified container Element.
|
(package private) static void |
SplitPanel.addAbsolutePositoning(Element elem)
Deprecated.
Sets an elements positioning to absolute.
|
void |
HTMLPanel.addAndReplaceElement(IsWidget widget,
Element toReplace)
Deprecated.
|
void |
RenderablePanel.addAndReplaceElement(IsWidget widget,
Element toReplace)
Deprecated.
|
void |
HTMLPanel.addAndReplaceElement(Widget widget,
Element toReplace)
Deprecated.
|
void |
RenderablePanel.addAndReplaceElement(Widget widget,
Element toReplace)
Deprecated.
|
(package private) static void |
SplitPanel.addClipping(Element elem)
Deprecated.
Adds clipping to an element.
|
(package private) static void |
SplitPanel.addScrolling(Element elem)
Deprecated.
Adds as-needed scrolling to an element.
|
protected void |
Panel.adopt(Widget w,
Element container)
Deprecated.
Use
Panel.adopt(Widget) . |
(package private) static void |
SplitPanel.expandToFitParentUsingCssOffsets(Element elem)
Deprecated.
Sizes and element to consume the full area of its parent using the CSS
properties left, right, top, and bottom.
|
(package private) static void |
SplitPanel.expandToFitParentUsingPercentages(Element elem)
Deprecated.
Sizes an element to consume the full areas of its parent using 100% width
and height.
|
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 elem) |
(package private) Element |
DecoratedStackPanel.getHeaderTextElem(Element headerElem) |
(package private) Element |
StackPanel.getHeaderTextElem(Element headerElem)
Get the element that holds the header text given the header element created
by #createHeaderElement.
|
(package private) static int |
SplitPanel.getOffsetHeight(Element elem)
Deprecated.
Returns the offsetHeight element property.
|
(package private) static int |
SplitPanel.getOffsetWidth(Element elem)
Deprecated.
Returns the offsetWidth element property.
|
static java.lang.String |
Accessibility.getRole(Element elem)
Deprecated.
Requests the string value of the role with the specified namespace.
|
protected Element |
HTMLTable.RowFormatter.getRow(Element elem,
int row) |
static java.lang.String |
Accessibility.getState(Element elem,
java.lang.String stateName)
Deprecated.
Requests the string value of the state with the specified namespace.
|
void |
ResizeLayoutPanel.Impl.init(Element elem,
ResizeLayoutPanel.Impl.Delegate delegate)
Initialize the implementation.
|
void |
ResizeLayoutPanel.ImplStandard.init(Element elem,
ResizeLayoutPanel.Impl.Delegate delegate) |
void |
ResizeLayoutPanel.ImplTrident.init(Element elem,
ResizeLayoutPanel.Impl.Delegate delegate) |
protected void |
ComplexPanel.insert(Widget child,
Element container,
int beforeIndex)
Deprecated.
|
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.
|
(package private) static Element |
SplitPanel.preventBoxStyles(Element elem)
Deprecated.
Adds zero or none CSS values for padding, margin and border to prevent
stylesheet overrides.
|
static void |
Accessibility.removeState(Element elem,
java.lang.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.
|
(package private) static void |
SplitPanel.setBottom(Element elem,
java.lang.String size)
Deprecated.
Convenience method to set bottom offset of an element.
|
protected void |
CellPanel.setCellHorizontalAlignment(Element td,
HasHorizontalAlignment.HorizontalAlignmentConstant align) |
protected void |
CellPanel.setCellVerticalAlignment(Element td,
HasVerticalAlignment.VerticalAlignmentConstant align) |
(package private) static void |
SplitPanel.setClassname(Element elem,
java.lang.String className)
Deprecated.
Sets the elements css class name.
|
protected void |
UIObject.setElement(Element elem)
Sets this object's browser element.
|
(package private) static void |
SplitPanel.setHeight(Element elem,
java.lang.String height)
Deprecated.
Convenience method to set the height of an element.
|
(package private) static void |
SplitPanel.setLeft(Element elem,
java.lang.String left)
Deprecated.
Convenience method to set the left offset of an element.
|
(package private) static void |
SplitPanel.setRight(Element elem,
java.lang.String right)
Deprecated.
Convenience method to set the right offset of an element.
|
static void |
Accessibility.setRole(Element elem,
java.lang.String roleName)
Deprecated.
Assigns the specified element the specified role and value for that role.
|
static void |
Accessibility.setState(Element elem,
java.lang.String stateName,
java.lang.String stateValue)
Deprecated.
Assigns the specified element the specified state and value for that state.
|
(package private) static void |
SplitPanel.setTop(Element elem,
java.lang.String top)
Deprecated.
Convenience method to set the top offset of an element.
|
(package private) static void |
SplitPanel.setWidth(Element elem,
java.lang.String width)
Deprecated.
Convenience method to set the width of an element.
|
(package private) static boolean |
Tree.shouldTreeDelegateFocusToElement(Element elem) |
Constructor and Description |
---|
AbsolutePanel(Element elem)
Creates an AbsolutePanel with the given element.
|
CheckBox(Element elem) |
Hyperlink(Element elem) |
ScrollPanel(Element root,
Element scrollable,
Element container)
Creates an empty scroll panel using the specified root, scrollable, and
container elements.
|
SplitPanel(Element mainElem,
Element splitElem,
Element headElem,
Element tailElem)
Deprecated.
Initializes the split panel.
|