Returns an instance of
goog.ui.Component or a subclass suitable to
decorate the given element, based on its CSS class.
TODO(nnaze): Type of element should be {!Element}.
Arguments:
Returns: ?goog.ui.Component
Component to decorate the element (null if
none).
|
code » | ||
Returns the
goog.ui.Component instance created by the decorator
factory function registered for the given CSS class name, or null if no
decorator factory function was found.
Arguments:
Returns: ?goog.ui.Component
Component instance.
|
code » | ||
Given a
goog.ui.Component constructor, returns an instance of its
default renderer. If the default renderer is a singleton, returns the
singleton instance; otherwise returns a new instance of the renderer class.
Arguments:
Returns: ?goog.ui.ControlRenderer
Renderer instance (for example the
singleton instance of
goog.ui.ButtonRenderer ), or null if
no default renderer was found.
|
code » | ||
![]()
Resets the global renderer and decorator registry.
|
code » | ||
![]()
Maps a CSS class name to a function that returns a new instance of
goog.ui.Component or a subclass, suitable to decorate an element
that has the specified CSS class.
|
code » | ||
![]()
Sets the default renderer for the given
goog.ui.Component
constructor.
|
code » |