The goog.ui.OfflineInstallDialog.InstallingGearsScreen Class

goog.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}
The dialog this is a screen for.

.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}
The callback function.
opt_scope {Object=}
An optional scope to call the callback in.

.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.

returns {void}
Nothing.

.getButtonSet()

Gets the button set for the dialog when the user is suposed to be installing Gears.

returns {goog.ui.Dialog.ButtonSet}
The button set.

.getContent()

Gets the content for the dialog when the user is suposed to be installing Gears.

returns {string}
The content of the dialog as html.

.getCustomClassName()

Inherited from goog.ui.OfflineInstallDialogScreen .

returns {string}
A custom class name that should be added to the dialog when this screen is active.

.getDialog()

Inherited from goog.ui.OfflineInstallDialogScreen .

returns {goog.ui.OfflineInstallDialog}
The dialog the screen will be displayed in.

.getTitle()

Inherited from goog.ui.OfflineInstallDialogScreen .

returns {string}
The text title to used for the dialog when this screen is shown.

.getType()

Inherited from goog.ui.OfflineInstallDialogScreen .

Returns the type of the screen. This is used to identify the screen type this reflects.

returns {string}
The type of the screen.

.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}
The dialog event.

.isDisposed()

Inherited from goog.Disposable .

returns {boolean}
Whether the object has been disposed of.

.registerDisposable(disposable)

Inherited from goog.Disposable .

Associates a disposable object with this object so that they will be disposed together.

disposable {goog.disposable.IDisposable}
that will be disposed when this object is disposed.

.setButtonSet(bs)

Inherited from goog.ui.OfflineInstallDialogScreen .

Sets the button set to use with this screen.

bs {goog.ui.Dialog.ButtonSet}
The button set to use.

.setContent(html)

Inherited from goog.ui.OfflineInstallDialogScreen .

Sets the HTML content to use for this screen.

html {string}
The HTML text to use as content for the screen.

.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}
The custom class name.

.setTitle(title)

Inherited from goog.ui.OfflineInstallDialogScreen .

Sets the plain text title to use for this screen.

title {string}
The plain text to use as a title on the dialog.