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.
|
static
void
|
ensureDebugId(Element elem, String baseID, String id)
Set the debug id of a specific element.
|
final
void
|
ensureDebugId(String id)
Ensure that the main Element for this UIObject has an ID
property set, which allows it to integrate with third-party libraries and
test tools.
|
static
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.
|
Element
|
getStyleElement()
Template method that returns the element to which style names will be
applied.
|
String
|
getStyleName()
Gets all of the object's style names, as a space-separated list.
|
static
String
|
getStyleName(Element elem)
Gets all of the element's style names, as a space-separated list.
|
String
|
getStylePrimaryName()
Gets the primary style name associated with the object.
|
static
String
|
getStylePrimaryName(Element elem)
Gets the element's primary style name.
|
String
|
getTitle()
Gets the title associated with this object.
|
boolean
|
isVisible()
Determines whether or not this object is visible.
|
static
boolean
|
isVisible(Element elem)
|
void
|
onEnsureDebugId(String baseID)
|
void
|
removeStyleDependentName(String styleSuffix)
Removes a dependent style name by specifying the style name's suffix.
|
void
|
removeStyleName(String style)
Removes a style name.
|
final
void
|
setElement(Element elem)
Sets this object's browser element.
|
void
|
setElement(Element elem)
Sets this object's browser element.
|
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
|
setSize(String width, String height)
Sets the object's size.
|
void
|
setStyleDependentName(String styleSuffix, boolean add)
Adds or removes a dependent style name by specifying the style name's
suffix.
|
static
void
|
setStyleName(Element elem, String styleName)
Clears all of the element's style names and sets it to the given style.
|
static
void
|
setStyleName(Element elem, String style, boolean add)
This convenience method adds or removes a style name for a given element.
|
void
|
setStyleName(String style)
Clears all of the object's style names and sets it to the given style.
|
void
|
setStyleName(String style, boolean add)
Adds or removes a style name.
|
void
|
setStylePrimaryName(String style)
Sets the object's primary style name and updates all dependent style names.
|
static
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(boolean visible)
Sets whether this object is visible.
|
static
void
|
setVisible(Element elem, boolean visible)
|
void
|
setWidth(String width)
Sets the object's width.
|
void
|
sinkEvents(int eventBitsToAdd)
Adds a set of events to be sunk by this object.
|
String
|
toString()
This method is overridden so that any object can be viewed in the debugger
as an HTML snippet.
|
void
|
unsinkEvents(int eventBitsToRemove)
Removes a set of events from this object's event list.
|