component.js
No description.

File Location

/goog/ui/component.js

Classes

goog.ui.Component
Default implementation of UI component.

Public Protected Private

Enumerations

Global Functions

goog.ui.Component.getStateTransitionEvent(stateisEntering) goog.ui.Component.EventType
Static helper method; returns the type of event components are expected to dispatch when transitioning to or from the given state.
Arguments:
state : goog.ui.Component.State
State to/from which the component is transitioning.
isEntering : boolean
Whether the component is entering or leaving the state.
Returns: goog.ui.Component.EventType  Event type to dispatch.
code »
goog.ui.Component.setDefaultRightToLeft(rightToLeft)
Set the default right-to-left value. This causes all component's created from this point foward to have the given value. This is useful for cases where a given page is always in one directionality, avoiding unnecessary right to left determinations.
Arguments:
rightToLeft : ?boolean
Whether the components should be rendered right-to-left. Null iff components should determine their directionality.
code »

Directory ui

File Reference