|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Element | |
| com.google.gwt.user.client | |
| com.google.gwt.user.client.impl | |
| com.google.gwt.user.client.ui | |
| com.google.gwt.user.client.ui.impl | |
| Uses of Element in com.google.gwt.user.client |
| Methods in com.google.gwt.user.client that return Element | |
static Element |
DOM.createAnchor()
Creates an HTML A element. |
static Element |
DOM.createButton()
Creates an HTML BUTTON element. |
static Element |
DOM.createCol()
Creates an HTML COL 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.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 group)
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.createOptions()
Creates an HTML OPTIONS element. |
static Element |
DOM.createSelect()
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 BODY element. |
static Element |
DOM.createTD()
Creates an HTML TD element. |
static Element |
DOM.createTextArea()
Creates an HTML TEXTAREA element. |
static Element |
DOM.createTH()
Creates an HTML THEAD element. |
static Element |
DOM.createTR()
Creates an HTML TR element. |
static Element |
DOM.eventGetFromElement(Event evt)
Gets the element from which the mouse pointer was moved (only valid for Event.ONMOUSEOVER). |
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). |
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(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. |
| Methods in com.google.gwt.user.client with parameters of type Element | |
static void |
DOM.appendChild(Element parent,
Element child)
Appends one element to another's list of children. |
static boolean |
DOM.compare(Element elem1,
Element elem2)
Compares two elements for equality (note that reference equality is not sufficient to determine equality among elements on most browsers). |
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 String |
DOM.getAttribute(Element elem,
String attr)
Gets any named attribute from an element, as a string. |
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 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.getInnerHTML(Element elem)
Gets an HTML representation of an element's children. |
static String |
DOM.getInnerText(Element elem)
Gets the text contained within an element. |
static int |
DOM.getIntAttribute(Element elem,
String attr)
Gets an integer attribute on a given element. |
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)
Gets an attribute of the given element's style. |
static void |
DOM.insertChild(Element parent,
Element child,
int index)
Inserts an element as a child of the given parent 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 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.setAttribute(Element elem,
String attr,
String value)
Sets an attribute on the given element. |
static void |
DOM.setCapture(Element elem)
Sets mouse-capture 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.setInnerHTML(Element elem,
String html)
Sets the HTML contained within an element. |
static void |
DOM.setInnerText(Element elem,
String text)
Sets the text contained within an element. |
static void |
DOM.setIntAttribute(Element elem,
String attr,
int value)
Sets an integer attribute on the given element. |
static void |
DOM.setIntStyleAttribute(Element elem,
String attr,
int value)
Sets an integer attribute on the given element's style. |
static void |
DOM.setStyleAttribute(Element elem,
String attr,
String value)
Sets an attribute on the given element's style. |
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)
Returns a stringized version of the element. |
| Uses of Element in com.google.gwt.user.client.impl |
| Methods in com.google.gwt.user.client.impl that return Element | |
Element |
DOMImpl.createElement(String tag)
|
Element |
DOMImpl.createInputElement(String type)
|
abstract Element |
DOMImpl.createInputRadioElement(String group)
|
Element |
DOMImpl.eventGetFromElement(Event evt)
|
abstract Element |
DOMImpl.eventGetTarget(Event evt)
|
Element |
DOMImpl.eventGetToElement(Event evt)
|
abstract Element |
DOMImpl.getChild(Element elem,
int index)
|
Element |
DOMImpl.getElementById(String id)
|
abstract Element |
DOMImpl.getFirstChild(Element elem)
|
abstract Element |
DOMImpl.getNextSibling(Element elem)
|
abstract Element |
DOMImpl.getParent(Element elem)
|
| Methods in com.google.gwt.user.client.impl with parameters of type Element | |
void |
DOMImpl.appendChild(Element parent,
Element child)
|
abstract boolean |
DOMImpl.compare(Element elem1,
Element elem2)
|
int |
DOMImpl.getAbsoluteLeft(Element elem)
|
int |
DOMImpl.getAbsoluteTop(Element elem)
|
String |
DOMImpl.getAttribute(Element elem,
String attr)
|
abstract Element |
DOMImpl.getChild(Element elem,
int index)
|
abstract int |
DOMImpl.getChildCount(Element elem)
|
abstract int |
DOMImpl.getChildIndex(Element parent,
Element child)
|
int |
DOMImpl.getEventsSunk(Element elem)
|
abstract Element |
DOMImpl.getFirstChild(Element elem)
|
String |
DOMImpl.getInnerHTML(Element elem)
|
String |
DOMImpl.getInnerText(Element node)
|
int |
DOMImpl.getIntAttribute(Element elem,
String attr)
|
int |
DOMImpl.getIntStyleAttribute(Element elem,
String attr)
|
abstract Element |
DOMImpl.getNextSibling(Element elem)
|
abstract Element |
DOMImpl.getParent(Element elem)
|
String |
DOMImpl.getStyleAttribute(Element elem,
String attr)
|
abstract void |
DOMImpl.insertChild(Element parent,
Element child,
int index)
|
abstract boolean |
DOMImpl.isOrHasChild(Element parent,
Element child)
|
abstract void |
DOMImpl.releaseCapture(Element elem)
|
void |
DOMImpl.removeChild(Element parent,
Element child)
|
void |
DOMImpl.setAttribute(Element elem,
String attr,
String value)
|
void |
DOMImpl.setBooleanAttribute(Element elem,
String attr,
boolean value)
|
abstract void |
DOMImpl.setCapture(Element elem)
|
void |
DOMImpl.setEventListener(Element elem,
EventListener listener)
|
void |
DOMImpl.setInnerHTML(Element elem,
String html)
|
void |
DOMImpl.setInnerText(Element elem,
String text)
|
void |
DOMImpl.setStyleAttribute(Element elem,
String attr,
String value)
|
abstract void |
DOMImpl.sinkEvents(Element elem,
int eventBits)
|
abstract String |
DOMImpl.toString(Element elem)
|
protected void |
DOMImpl.elementSetIntAttribute(Element elem,
String attr,
int value)
|
| Uses of Element in com.google.gwt.user.client.ui |
| Methods in com.google.gwt.user.client.ui that return Element | |
Element |
UIObject.getElement()
Gets a handle to the object's underlying DOM element. |
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. |
static Element |
RootPanel.getBodyElement()
Convenience method for getting the document's body element. |
protected Element |
HTMLTable.createCell()
Creates a new cell. |
protected Element |
HTMLTable.getBodyElement()
Gets the table's TBODY element. |
Element |
HTMLTable.CellFormatter.getElement(int row,
int column)
Gets the TD element representing the specified cell. |
protected Element |
HTMLTable.CellFormatter.ensureElement(int row,
int column)
Gets the element associated with a cell. |
Element |
HTMLTable.RowFormatter.getElement(int row)
Gets the TR element representing the specified row. |
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 |
Grid.createCell()
Creates a new, empty cell. |
Element |
Composite.getElement()
This override checks to ensure Composite.setWidget(Widget) has been called. |
protected Element |
CellPanel.getTable()
Accessor for subclasses to get this panel's table element. |
| Methods in com.google.gwt.user.client.ui with parameters of type Element | |
static boolean |
UIObject.isVisible(Element elem)
|
static void |
UIObject.setVisible(Element elem,
boolean visible)
|
protected static void |
UIObject.setStyleName(Element elem,
String style,
boolean add)
This convenience method implements allows one to easily add or remove the style name for any element. |
protected void |
UIObject.setElement(Element elem)
Sets this object's browser element. |
protected boolean |
HTMLTable.internalClearCell(int row,
int column,
Element td)
Does actual clearing, used by clearCell and cleanCell. |
| Constructors in com.google.gwt.user.client.ui with parameters of type Element | |
TextBoxBase(Element elem)
Creates a text box that wraps the given browser element handle. |
|
SimplePanel(Element elem)
Creates an empty panel that uses the specified browser element for its contents. |
|
FocusWidget(Element elem)
Creates a new focus component that wraps the specified browser element. |
|
CheckBox(Element elem)
|
|
ButtonBase(Element elem)
Creates a new ButtonBase that wraps the given browser element. |
|
| Uses of Element in com.google.gwt.user.client.ui.impl |
| Methods in com.google.gwt.user.client.ui.impl that return Element | |
Element |
PopupImplIE6.createElement()
|
Element |
PopupImpl.createElement()
|
Element |
FocusImplSafari.createFocusable()
|
Element |
FocusImplOldMoz.createFocusable()
|
Element |
FocusImpl.createFocusable()
|
| Methods in com.google.gwt.user.client.ui.impl with parameters of type Element | |
int |
TextBoxImplIE6.getCursorPos(Element elem)
|
int |
TextBoxImplIE6.getSelectionLength(Element elem)
|
void |
TextBoxImplIE6.setSelectionRange(Element elem,
int pos,
int length)
|
int |
TextBoxImplIE6.getTextAreaCursorPos(Element elem)
|
int |
TextBoxImpl.getCursorPos(Element elem)
|
int |
TextBoxImpl.getSelectionLength(Element elem)
|
void |
TextBoxImpl.setSelectionRange(Element elem,
int pos,
int length)
|
int |
TextBoxImpl.getTextAreaCursorPos(Element elem)
|
void |
PopupImplIE6.setClassName(Element popup,
String className)
|
void |
PopupImplIE6.fixup(Element popup)
|
void |
PopupImplIE6.setChild(Element popup,
Element child)
|
void |
PopupImplIE6.setHeight(Element popup,
String height)
|
void |
PopupImplIE6.setWidth(Element popup,
String width)
|
void |
PopupImpl.fixup(Element popup)
|
void |
PopupImpl.setChild(Element popup,
Element child)
|
void |
PopupImpl.setClassName(Element popup,
String className)
|
void |
PopupImpl.setHeight(Element popup,
String height)
|
void |
PopupImpl.setWidth(Element popup,
String width)
|
void |
FocusImplSafari.blur(Element elem)
|
void |
FocusImplSafari.focus(Element elem)
|
int |
FocusImplSafari.getTabIndex(Element elem)
|
void |
FocusImplSafari.setAccessKey(Element elem,
char key)
|
void |
FocusImplSafari.setTabIndex(Element elem,
int index)
|
void |
FocusImplOldMoz.focus(Element elem)
|
void |
FocusImplOldMoz.blur(Element elem)
|
void |
FocusImplOldMoz.setTabIndex(Element elem,
int index)
|
int |
FocusImplOldMoz.getTabIndex(Element elem)
|
void |
FocusImpl.blur(Element elem)
|
void |
FocusImpl.focus(Element elem)
|
int |
FocusImpl.getTabIndex(Element elem)
|
void |
FocusImpl.setAccessKey(Element elem,
char key)
|
void |
FocusImpl.setTabIndex(Element elem,
int index)
|
|
|||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||