search

goog.ui.Dialog

Provided By
Extends
All Implemented Interfaces
All Known Direct Subclasses

Class for showing simple dialog boxes. The Html structure of the dialog box is:

  Element         Function                Class-name, modal-dialog = default
 ----------------------------------------------------------------------------
 - iframe         Iframe mask              modal-dialog-bg
 - div            Background mask          modal-dialog-bg
 - div            Dialog area              modal-dialog
     - div        Title bar                modal-dialog-title
        - span                             modal-dialog-title-text
          - text  Title text               N/A
        - span                             modal-dialog-title-close
          - ??    Close box                N/A
     - div        Content area             modal-dialog-content
        - ??      User specified content   N/A
     - div        Button area              modal-dialog-buttons
        - button                           N/A
        - button
        - ...
 

new Dialog( opt_class, opt_useIframeMask, opt_domHelper )

Parameters
opt_classstring=

CSS class name for the dialog element, also used as a class name prefix for related elements; defaults to modal-dialog. This should be a single, valid CSS class name.

opt_useIframeMaskboolean=

Work around windowed controls z-index issue by using an iframe instead of a div for bg element.

opt_domHelper(goog.dom.DomHelper|null)=

Optional DOM helper; see goog.ui.Component for semantics.

Instance Methods

Instance Properties

Static Properties

Classes

Enumerations