The goog.ui.OfflineInstallDialog.InstallScreen Class

goog.ui.OfflineInstallDialog.InstallScreen
> goog.ui.OfflineInstallDialogScreen
> goog.Disposable

goog.ui.OfflineInstallDialog.InstallScreen(dialog, opt_type)

This screen is shown to users that do have Gears installed but have not enabled the current application for offline access.

dialog {goog.ui.OfflineInstallDialog}
The dialog this is a screen for.
opt_type {string=}
An optional type, for specifying a more specific type of dialog. Only for use by subclasses.

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

returns {goog.ui.Dialog.ButtonSet}
The button set for the install screen.

.getContent()

returns {string}
The HTML content to used for this screen.

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

Overrides to go to Gears page.

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.

.setInstallDescription(description)

Sets the install description. This is the text before the installation steps.

description {string}
The install description.

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