Uses of Class
com.google.gwt.user.client.Element
Package
Description
Fundamental user-interface classes used in client-side GWT code.
Widgets, Panels, and other user-interface classes.
-
Uses of Element in com.google.gwt.user.client
Modifier and TypeMethodDescriptionstatic Element
static Element
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
(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
(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.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 forEvent.ONMOUSEOVER
andEvent.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 forEvent.ONMOUSEOUT
andEvent.ONMOUSEOVER
).static Element
DOM.getCaptureElement()
Gets the element that currently has mouse capture.static Element
Gets an element's n-th child element.static Element
DOM.getElementById
(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
Gets an element's parent element. -
Uses of Element in com.google.gwt.user.client.ui
Modifier and TypeMethodDescriptionprotected Element
Grid.createCell()
Creates a new, empty cell.protected Element
HTMLTable.createCell()
Creates a new cell.protected Element
HTMLTable.CellFormatter.ensureElement
(int row, int column) Gets the element associated with a cell.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
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.HTMLTable.Cell.getElement()
Gets the cell's element.HTMLTable.CellFormatter.getElement
(int row, int column) Gets the TD element representing the specified cell.HTMLTable.ColumnFormatter.getElement
(int column) Get the col element for the column.HTMLTable.RowFormatter.getElement
(int row) Gets the TR element representing the specified row.UIObject.getElement()
Gets a handle to the object's underlying DOM element.HTMLPanel.getElementById
(String id) Finds anelement
within this panel by its id.protected Element
HTMLTable.getEventTargetCell
(Event event) Determines the TD associated with the specified event.protected Element
protected Element
Deprecated.Call and overrideHTMLTable.RowFormatter.getRow(Element, int)
instead.protected Element
ScrollPanel.getScrollableElement()
Get the scrollable element.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()
Modifier and TypeMethodDescriptionprotected void
Deprecated.Call and overrideComplexPanel.add(Widget, Element)
instead.void
HTMLPanel.addAndReplaceElement
(IsWidget widget, Element toReplace) Deprecated.void
HTMLPanel.addAndReplaceElement
(Widget widget, Element toReplace) Deprecated.void
RenderablePanel.addAndReplaceElement
(IsWidget widget, Element toReplace) Deprecated.void
RenderablePanel.addAndReplaceElement
(Widget widget, Element toReplace) Deprecated.protected int
HTMLTable.getDOMCellCount
(Element tableBody, int row) Deprecated.Call and overrideHTMLTable.getDOMCellCount(Element, int)
instead.protected int
HTMLTable.getDOMRowCount
(Element tbody) Deprecated.Call and overrideHTMLTable.getDOMRowCount(Element)
instead.protected Element
Deprecated.Call and overrideHTMLTable.RowFormatter.getRow(Element, int)
instead.protected void
Deprecated.Call and overrideComplexPanel.insert(com.google.gwt.user.client.ui.Widget,com.google.gwt.dom.client.Element,int,boolean)
instead.protected boolean
HTMLTable.internalClearCell
(Element td, boolean clearInnerHTML) Deprecated.Call and overrideHTMLTable.internalClearCell(com.google.gwt.dom.client.Element,boolean)
instead.protected void
CheckBox.replaceInputElement
(Element elem) Deprecated.Call and useCheckBox.replaceInputElement(com.google.gwt.dom.client.Element)
instead.protected void
CellPanel.setCellHorizontalAlignment
(Element td, HasHorizontalAlignment.HorizontalAlignmentConstant align) Deprecated.Call and overrideCellPanel.setCellHorizontalAlignment(Element, HorizontalAlignmentConstant)
instead.protected void
CellPanel.setCellVerticalAlignment
(Element td, HasVerticalAlignment.VerticalAlignmentConstant align) Deprecated.Call and overrideCellPanel.setCellVerticalAlignment(Element, VerticalAlignmentConstant)
instead.protected void
UIObject.setElement
(Element elem) Deprecated.Use and overrideUIObject.setElement(Element)
instead.
DOM.createOption()
instead