Java com.google.gwt.user.client.ui UIObject fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.user.client.ui UIObject fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.user.client.ui UIObject.

The text is from its open source code.

Subclass

com.google.gwt.user.client.ui.UIObject has subclasses.
Click this link to see all its subclasses.

Field

Constructor

Method

voidaddStyleDependentName(String styleSuffix)
Adds a dependent style name by specifying the style name's suffix.
voidaddStyleName(String style)
Adds a secondary or dependent style name to this object.
voidensureDebugId(Element elem, String id)

Ensure that elem has an ID property set, which allows it to integrate with third-party libraries and test tools.

intgetAbsoluteLeft()
Gets the object's absolute left position in pixels, as measured from the browser window's client area.
intgetAbsoluteTop()
Gets the object's absolute top position in pixels, as measured from the browser window's client area.
ElementgetElement()
Gets a handle to the object's underlying DOM element.
intgetOffsetHeight()
Gets the object's offset height in pixels.
intgetOffsetWidth()
Gets the object's offset width in pixels.
StringgetStyleName()
Gets all of the object's style names, as a space-separated list.
StringgetTitle()
Gets the title associated with this object.
booleanisVisible(Element elem)
Returns whether the given element is visible in a way consistent with #setVisible(Element,boolean) .
booleanisVisible()
voidremoveStyleDependentName(String styleSuffix)
Removes a dependent style name by specifying the style name's suffix.
voidremoveStyleName(String style)
Removes a style name.
voidsetHeight(String height)
Sets the object's height.
voidsetPixelSize(int width, int height)
Sets the object's size, in pixels, not including decorations such as border, margin, and padding.
voidsetStyleName(Element elem, String style, boolean add)
This convenience method adds or removes a style name for a given element.
voidsetStyleName(Element elem, String styleName)
Clears all of the element's style names and sets it to the given style.
voidsetStyleName(String style, boolean add)
Adds or removes a style name.
voidsetStyleName(String style)
Clears all of the object's style names and sets it to the given style.
voidsetStylePrimaryName(Element elem, String style)
Sets the element's primary style name and updates all dependent style names.
voidsetTitle(String title)
Sets the title associated with this object.
voidsetVisible(Element elem, boolean visible)
Shows or hides the given element.
voidsetVisible(boolean visible)
voidsetWidth(String width)
Sets the object's width.
StringtoString()
This method is overridden so that any object can be viewed in the debugger as an HTML snippet.