Uses of Class
com.google.gwt.user.client.Element
-
Packages that use Element Package Description 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. -
-
Uses of Element in com.google.gwt.user.client
Methods in com.google.gwt.user.client that return Element Modifier and Type Method Description static Element
DOM. asOld(Element elem)
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; useDOM.createOption()
insteadstatic 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
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. -
Uses of Element in com.google.gwt.user.client.ui
Methods in com.google.gwt.user.client.ui that return Element Modifier and Type Method Description protected 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.Element
HTMLTable.Cell. getElement()
Gets the cell's element.Element
HTMLTable.CellFormatter. getElement(int row, int column)
Gets the TD element representing the specified cell.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.Element
UIObject. getElement()
Gets a handle to the object's underlying DOM element.Element
HTMLPanel. getElementById(java.lang.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
HTMLTable.RowFormatter. getRow(Element tbody, int row)
protected Element
HTMLTable.RowFormatter. getRow(Element tbody, int row)
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()
Methods in com.google.gwt.user.client.ui with parameters of type Element Modifier and Type Method Description protected void
ComplexPanel. add(Widget child, Element container)
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
HTMLTable.RowFormatter. getRow(Element tbody, int row)
Deprecated.Call and overrideHTMLTable.RowFormatter.getRow(Element, int)
instead.protected void
ComplexPanel. insert(Widget child, Element container, int beforeIndex, boolean domInsert)
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.
-