goog.ui.ColorSplitBehavior
goog.Disposable | |
goog.ui.SplitBehavior | goog.Disposable |
goog.ui.ColorSplitBehavior | goog.ui.SplitBehavior |
first
: goog.ui.Control
A ui control.
|
second
: goog.ui.Control
A ui control.
|
opt_behaviorHandler
: function(goog.ui.Control,Event)=
A handler
to apply for the behavior.
|
opt_eventType
: string=
The event type triggering the
handler.
|
opt_domHelper
: goog.dom.DomHelper=
Optional DOM helper, used for
document interaction.
|
![]()
Handler for this behavior.
|
code » | |||
![]()
Collapse the the controls together.
Arguments:
|
code » | |||
Decorates an element and returns the behavior.
Arguments:
Returns: !goog.ui.SplitBehavior
A split behavior.
|
code » | |||
![]()
Decorates two child nodes of the given element.
Arguments:
|
code » | |||
![]()
No description.
|
code » | |||
![]()
No description.
Returns: function(goog.ui.Control,Event)
The behavior handler.
|
code » | |||
No description.
Returns: Element
The element containing the controls.
|
code » | |||
No description.
Returns: string
The behavior event type.
|
code » | |||
Renders an element and returns the behavior.
Arguments:
Returns: !goog.ui.SplitBehavior
A split behavior.
|
code » | |||
![]()
Activate or deactivate the behavior.
Arguments:
|
code » | |||
![]()
Sets the disposeControls flags.
|
code » | |||
![]()
Sets the behavior event type.
Arguments:
|
code » | |||
![]()
Sets the behavior handler.
Arguments:
|
code » |
![]()
Invokes a callback function when this object is disposed. Callbacks are
invoked in the order in which they were added.
Arguments:
|
code » | |||
![]()
Disposes of the object. If the object hasn't already been disposed of, calls
#disposeInternal . Classes that extend goog.Disposable should
override #disposeInternal in order to delete references to COM
objects, DOM nodes, and other disposable objects. Reentrant.
Returns: void
Nothing.
|
code » | |||
![]()
Deletes or nulls out any references to COM objects, DOM nodes, or other
disposable objects. Classes that extend
goog.Disposable should
override this method.
Not reentrant. To avoid calling it twice, it must only be called from the
subclass' disposeInternal method. Everywhere else the public
dispose method must be used.
For example:
mypackage.MyClass = function() { mypackage.MyClass.base(this, 'constructor'); // Constructor logic specific to MyClass. ... }; goog.inherits(mypackage.MyClass, goog.Disposable); mypackage.MyClass.prototype.disposeInternal = function() { // Dispose logic specific to MyClass. ... // Call superclass's disposeInternal at the end of the subclass's, like // in C++, to avoid hard-to-catch issues. mypackage.MyClass.base(this, 'disposeInternal'); }; |
code » | |||
Use
#isDisposed instead.
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
No description.
Returns: boolean
Whether the object has been disposed of.
|
code » | |||
![]()
Associates a disposable object with this object so that they will be disposed
together.
Arguments:
|
code » |
![]()
No description.
|
Code » | |
![]()
Whether to dispose the first control when dispose is called.
|
Code » | |
![]()
Whether to dispose the second control when dispose is called.
|
Code » | |
No description.
|
Code » | |
![]()
The element containing the controls.
|
Code » | |
Event handler.
|
Code » | |
![]()
Event type triggering the behavior.
|
Code » | |
No description.
|
Code » | |
![]()
True iff the behavior is active.
|
Code » | |
No description.
|
Code » |
![]()
Css class for elements rendered by this behavior.
|
Code » | |
![]()
No description.
|
Code » |
![]()
An emum of split behavior handlers.
Constants:
|
Code » |