Example usage for Java com.google.gwt.user.client.ui UIObject fields, constructors, methods, implement or subclass
The text is from its open source code.
String | DEBUG_ID_PREFIX |
void | addStyleDependentName(String styleSuffix) Adds a dependent style name by specifying the style name's suffix. |
void | addStyleName(String style) Adds a secondary or dependent style name to this object. |
void | 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. |
int | getAbsoluteLeft() Gets the object's absolute left position in pixels, as measured from the browser window's client area. |
int | getAbsoluteTop() Gets the object's absolute top position in pixels, as measured from the browser window's client area. |
Element | getElement() Gets a handle to the object's underlying DOM element. |
int | getOffsetHeight() Gets the object's offset height in pixels. |
int | getOffsetWidth() Gets the object's offset width in pixels. |
String | getStyleName() Gets all of the object's style names, as a space-separated list. |
String | getTitle() Gets the title associated with this object. |
boolean | isVisible(Element elem) Returns whether the given element is visible in a way consistent with #setVisible(Element,boolean) . |
boolean | isVisible() |
void | removeStyleDependentName(String styleSuffix) Removes a dependent style name by specifying the style name's suffix. |
void | removeStyleName(String style) Removes a style name. |
void | setHeight(String height) Sets the object's height. |
void | setPixelSize(int width, int height) Sets the object's size, in pixels, not including decorations such as border, margin, and padding. |
void | setStyleName(Element elem, String style, boolean add) This convenience method adds or removes a style name for a given element. |
void | setStyleName(Element elem, String styleName) Clears all of the element's style names and sets it to the given style. |
void | setStyleName(String style, boolean add) Adds or removes a style name. |
void | setStyleName(String style) Clears all of the object's style names and sets it to the given style. |
void | setStylePrimaryName(Element elem, String style) Sets the element's primary style name and updates all dependent style names. |
void | setTitle(String title) Sets the title associated with this object. |
void | setVisible(Element elem, boolean visible) Shows or hides the given element. |
void | setVisible(boolean visible) |
void | setWidth(String width) Sets the object's width. |
String | toString() This method is overridden so that any object can be viewed in the debugger as an HTML snippet. |