goog.ui.OfflineInstallDialog.InstallingGearsScreen
Classgoog.ui.OfflineInstallDialog.InstallingGearsScreen
> goog.ui.OfflineInstallDialogScreen
> goog.Disposable
goog.ui.OfflineInstallDialog.InstallingGearsScreen(dialog)
This screen is shown to users after the window to the Gears download page has been opened.
dialog
{goog.ui.OfflineInstallDialog
}
.TYPE
{string
}The type of this screen.
.activate()
Inherited from goog.ui.OfflineInstallDialogScreen
.
Called when the screen is shown. At this point the dialog is in the document.
.addOnDisposeCallback(callback, opt_scope)
Inherited from goog.Disposable
.
Invokes a callback function when this object is disposed. Callbacks are invoked in the order in which they were added.
callback
{!Function
}
opt_scope
{Object
=}
.creationStack
{string
}Inherited from goog.Disposable
.
If monitoring the goog.Disposable instances is enabled, stores the creation stack trace of the Disposable instance.
.deactivate()
Inherited from goog.ui.OfflineInstallDialogScreen
.
Called when the screen is hidden. At this point the dialog is in the document.
.dispose()
Inherited from goog.Disposable
.
Disposes of the object. If the object hasn't already been disposed of, calls {@link #disposeInternal}. Classes that extend {@code goog.Disposable} should override {@link #disposeInternal} in order to delete references to COM objects, DOM nodes, and other disposable objects. Reentrant.
void
}
.disposeInternal()
[protected]Inherited from goog.Disposable
.
Deletes or nulls out any references to COM objects, DOM nodes, or other disposable objects. Classes that extend {@code goog.Disposable} should override this method. Not reentrant. To avoid calling it twice, it must only be called from the subclass' {@code disposeInternal} method. Everywhere else the public {@code dispose} method must be used. For example:
mypackage.MyClass = function() { goog.base(this); // Constructor logic specific to MyClass. ... }; goog.inherits(mypackage.MyClass, goog.Disposable); mypackage.MyClass.prototype.disposeInternal = function() { goog.base(this, 'disposeInternal'); // Dispose logic specific to MyClass. ... };
.getButtonSet()
Gets the button set for the dialog when the user is suposed to be installing Gears.
goog.ui.Dialog.ButtonSet
}
.getContent()
Gets the content for the dialog when the user is suposed to be installing Gears.
string
}
.getCustomClassName()
Inherited from goog.ui.OfflineInstallDialogScreen
.
string
}
.getDialog()
Inherited from goog.ui.OfflineInstallDialogScreen
.
goog.ui.OfflineInstallDialog
}
.getDisposed
[deprecated]Deprecated. Use {@link #isDisposed} instead.
Inherited from goog.Disposable
.
boolean
}
.getTitle()
Inherited from goog.ui.OfflineInstallDialogScreen
.
string
}
.getType()
Inherited from goog.ui.OfflineInstallDialogScreen
.
Returns the type of the screen. This is used to identify the screen type this reflects.
string
}
.handleSelect(e)
Inherited from goog.ui.OfflineInstallDialogScreen
.
Called when the user clicks any of the buttons for this dialog screen.
e
{goog.ui.Dialog.Event
}
.isDisposed()
Inherited from goog.Disposable
.
boolean
}
.registerDisposable(disposable)
Inherited from goog.Disposable
.
Associates a disposable object with this object so that they will be disposed together.
disposable
{goog.disposable.IDisposable
}
.setButtonSet(bs)
Inherited from goog.ui.OfflineInstallDialogScreen
.
Sets the button set to use with this screen.
bs
{goog.ui.Dialog.ButtonSet
}
.setContent(html)
Inherited from goog.ui.OfflineInstallDialogScreen
.
Sets the HTML content to use for this screen.
html
{string
}
.setCustomClassName(customClassName)
Inherited from goog.ui.OfflineInstallDialogScreen
.
Sets the custom class name that should be added to the dialog when this screen is active.
customClassName
{string
}
.setTitle(title)
Inherited from goog.ui.OfflineInstallDialogScreen
.
Sets the plain text title to use for this screen.
title
{string
}