goog.Disposable | |
goog.ui.IframeMask | goog.Disposable |
opt_domHelper
: goog.dom.DomHelper=
The DOM helper for the relevant
document.
|
opt_iframePool
: goog.structs.Pool=
An optional source of iframes.
Iframes will be grabbed from the pool when they're needed and returned
to the pool (but still attached to the DOM) when they're done.
|
![]()
Applies the iframe mask to the screen.
|
code » | |||||
![]()
Removes the iframe from the DOM.
|
code » | |||||
![]()
Gets the iframe to use as a mask. Creates a new one if one has not been
created yet.
Returns: !HTMLIFrameElement
The iframe.
|
code » | |||||
![]()
Removes the mask from the screen.
|
code » | |||||
![]()
Listens on the specified target, hiding and showing the iframe mask
when the given event types are dispatched.
Arguments:
|
code » | |||||
![]()
Removes all handlers attached by listenOnTarget.
|
code » | |||||
![]()
Sets the opacity of the mask. Will take effect the next time the mask
is applied.
Arguments:
|
code » | |||||
![]()
Sets the element to use as the bounds of the mask. Takes effect immediately.
Arguments:
|
code » | |||||
![]()
Sets the z-index of the mask. Will take effect the next time the mask
is applied.
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 » | |
The DOM helper for this document.
|
Code » | |
An event handler for listening to popups and the like.
|
Code » | |
An iframe pool.
|
Code » | |
![]()
An iframe.
|
Code » | |
![]()
The opacity of the iframe mask, expressed as a value between 0 and 1, with
1 being totally opaque.
|
Code » | |
![]()
An Element to snap the mask to. If none is given, defaults to
a full-screen iframe mask.
|
Code » | |
![]()
The z-index of the iframe mask.
|
Code » |
![]()
CSS for a hidden iframe.
|
Code » | |
![]()
No description.
|
Code » |