- div (Contains the background and content. Class name: goog-roundedpanel) - div (Contains the background/rounded corners. Class name: goog-roundedpanel-bg) - div (Contains the content. Class name: goog-roundedpanel-content)
getValue - returns the button element's value
setValue - updates the button element to reflect its new value
getTooltip - returns the button element's tooltip text
setTooltip - updates the button element's tooltip text
setCollapsed - removes one or both of the button element's
borders
createDom - renders the DOM for the component
canDecorate - determines whether an element can be decorated
by the component
decorate - decorates an existing element with the component
setState - updates the appearance of the component based on
its state
getContent - returns the component's content
setContent - sets the component's content
goog.ui.CustomButtonRenderer.getInstance() to
the goog.ui.Button constructor and get the same result. Provided
for convenience.Element Function Class-name, modal-dialog = default ---------------------------------------------------------------------------- - iframe Iframe mask modal-dialog-bg - div Background mask modal-dialog-bg - div Dialog area modal-dialog - div Title bar modal-dialog-title - span modal-dialog-title-text - text Title text N/A - span modal-dialog-title-close - ?? Close box N/A - div Content area modal-dialog-content - ?? User specified content N/A - div Button area modal-dialog-buttons - button N/A - button - ...
triggerForElement, shown without a delay by calling
showForElement, or triggered over other elements by calling
attach. For the latter two cases, the application is responsible
for calling detach when finished.
HoverCard objects fire a TRIGGER event when the mouse moves over an element
that can trigger a hovercard, and BEFORE_SHOW when the hovercard is
about to be shown. Clients can respond to these events and can prevent the
hovercard from being triggered or shown....(menu item contents)...
Element Function Class-name, goog-modalpopup = default ---------------------------------------------------------------------------- - iframe Iframe mask goog-modalpopup-bg - div Background mask goog-modalpopup-bg - div Modal popup area goog-modalpopup - span Tab catcher
| ...Item 0... | ...Item 1... | ... |
| ... |
SELECT event and an ACTION event; subsequent clicks on an
already selected tab only result in ACTION events.TabPane
code. The tab bar's DOM structure is determined by its orientation and
location relative to tab contents. For example, a horizontal tab bar
located above tab contents looks like this:
...(tabs here)...
goog.ui.ButtonSide
:
Constants for button sides, see goog.ui.Button.prototype.setCollapsed
for details.
Constants:
|
Code » |
|
Decorates the element with a suitable goog.ui.Component instance, if
a matching decorator is found.
Arguments:
Returns:
New component instance, decorating the element.
|
code » |