com.extjs.gxt.ui.client.widget
クラス Dialog

java.lang.Object
  extended by com.google.gwt.user.client.ui.UIObject
      extended by com.google.gwt.user.client.ui.Widget
          extended by com.extjs.gxt.ui.client.widget.Component
              extended by com.extjs.gxt.ui.client.widget.BoxComponent
                  extended by com.extjs.gxt.ui.client.widget.Container<T>
                      extended by com.extjs.gxt.ui.client.widget.ScrollContainer<Component>
                          extended by com.extjs.gxt.ui.client.widget.LayoutContainer
                              extended by com.extjs.gxt.ui.client.widget.ContentPanel
                                  extended by com.extjs.gxt.ui.client.widget.Window
                                      extended by com.extjs.gxt.ui.client.widget.Dialog
すべての実装インターフェース:
Observable, com.google.gwt.user.client.EventListener

public class Dialog
extends Window

A Window with specialized support for buttons.

The internal buttons can be retrieved from the button bar using their respective ids ('ok', 'cancel', 'yes', 'no', 'cancel') or by index. Any call to getButtonBar() before the dialog is rendered will cause the buttons to be created based on the buttons value..


入れ子クラス 概要
 
クラス com.google.gwt.user.client.ui.UIObject から継承された 入れ子クラス/インターフェース
com.google.gwt.user.client.ui.UIObject.DebugIdImpl, com.google.gwt.user.client.ui.UIObject.DebugIdImplEnabled
 
Field 概要
static java.lang.String CANCEL
          Button constant that displays a single CANCEL button.
 java.lang.String cancelText
          The Cancel button text (defaults to 'Cancel').
 java.lang.String closeText
          The Close button text (defaults to 'Close').
static java.lang.String NO
          Button constant for the itemId of a NO button.
 java.lang.String noText
          The No button text (defaults to 'No').
static java.lang.String OK
          Button constant that displays a single OK button.
static java.lang.String OKCANCEL
          Button constant that displays a OK and CANCEL button.
 java.lang.String okText
          The OK button text (defaults to 'OK');
static java.lang.String YES
          Button constant for the itemId of a YES button.
static java.lang.String YESNO
          Button constant that displays a YES and NO button.
static java.lang.String YESNOCANCEL
          Button constant that displays a YES, NO, and CANCEL button.
 java.lang.String yesText
          The Yes button text (defaults to 'Yes').
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたフィールド(Fields)
DEBUG_ID_PREFIX
 
コンストラクタ 概要
Dialog()
           
 
メソッド 概要
 ButtonBar getButtonBar()
          Returns the panel's button bar.
 Button getButtonPressed()
          Returns the last pressed button.
 java.lang.String getButtons()
          Returns the button's.
 boolean isHideOnButtonClick()
          Returns true if the dialog will be hidden on any button click.
 void setButtons(java.lang.String buttons)
          Sets the buttons to display (defaults to OK).
 void setHideOnButtonClick(boolean hideOnButtonClick)
          True to hide the dialog on any button click.
 
クラス com.extjs.gxt.ui.client.widget.Window から継承されたメソッド
addWindowListener, alignTo, center, focus, getConstrain, getDraggable, getFocusWidget, getInitialWidth, getMinHeight, getMinWidth, hide, hide, isBlinkModal, isClosable, isDraggable, isMaximizable, isMinimizable, isModal, isOnEsc, isPlain, isResizable, maximize, minimize, removeWindowListener, restore, setActive, setBlinkModal, setClosable, setConstrain, setDraggable, setFocusWidget, setInitialWidth, setMaximizable, setMinHeight, setMinimizable, setMinWidth, setModal, setOnEsc, setPagePosition, setPlain, setPosition, setResizable, show, toBack, toFront
 
クラス com.extjs.gxt.ui.client.widget.ContentPanel から継承されたメソッド
addButton, collapse, expand, getAnimCollapse, getBodyBorder, getBodyStyle, getBottomComponent, getButtonAlign, getCollapsible, getElement, getFooter, getFrame, getFrameHeight, getFrameWidth, getHeader, getInnerHeight, getInnerWidth, getLayoutTarget, getTitleCollapse, getTitleText, getTopComponent, getWidget, isExpanded, isHeaderVisible, isHideCollapseTool, onComponentEvent, setAnimCollapse, setBodyBorder, setBodyStyle, setBodyStyleName, setBottomComponent, setButtonAlign, setButtonBar, setCollapsible, setExpanded, setFooter, setFrame, setHeaderVisible, setHeading, setHideCollapseTool, setIconStyle, setInsetBorder, setTitleCollapse, setTopComponent, setUrl
 
クラス com.extjs.gxt.ui.client.widget.LayoutContainer から継承されたメソッド
add, add, addText, findComponent, getLayout, getLayoutOnChange, insert, insert, isMonitorResize, isMonitorWindowResize, layout, remove, removeAll, setLayout, setLayoutData, setLayoutOnChange, setMonitorWindowResize
 
クラス com.extjs.gxt.ui.client.widget.ScrollContainer から継承されたメソッド
addScrollListener, getHScrollPosition, getScrollMode, getVScrollPosition, removeScrollListener, scrollIntoView, setHScrollPosition, setScrollMode, setVScrollPosition
 
クラス com.extjs.gxt.ui.client.widget.Container から継承されたメソッド
findItem, getItem, getItemByItemId, getItemCount, getItems, getWidget, indexOf, iterator, scrollIntoView
 
クラス com.extjs.gxt.ui.client.widget.BoxComponent から継承されたメソッド
getBounds, getHeight, getHeight, getPosition, getShadow, getSize, getWidth, getWidth, isAutoHeight, isAutoWidth, isDeferHeight, isShim, setAutoHeight, setAutoWidth, setBounds, setBounds, setDeferHeight, setHeight, setHeight, setPagePosition, setPixelSize, setShadow, setShim, setSize, setSize, setWidth, setWidth
 
クラス com.extjs.gxt.ui.client.widget.Component から継承されたメソッド
addListener, addStyleName, addWidgetListener, disable, disableEvents, disableTextSelection, el, enable, enableEvents, fireEvent, fireEvent, fireEvent, fly, getBaseStyle, getBorders, getData, getData, getElement, getId, getItemId, getModel, getState, getToolTip, hideToolTip, isEnabled, isRendered, isVisible, onBrowserEvent, recalculate, removeAllListeners, removeFromParent, removeListener, removeStyleName, removeWidgetListener, render, render, saveState, setBorders, setData, setData, setElement, setEnabled, setEnableState, setId, setIntStyleAttribute, setItemId, setStyleAttribute, setStyleName, setTitle, setToolTip, setToolTip, setVisible, toString
 
クラス com.google.gwt.user.client.ui.Widget から継承されたメソッド
getParent, isAttached
 
クラス com.google.gwt.user.client.ui.UIObject から継承されたメソッド
addStyleDependentName, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getOffsetHeight, getOffsetWidth, getStyleName, getStylePrimaryName, getTitle, isVisible, removeStyleDependentName, setStylePrimaryName, setVisible, sinkEvents, unsinkEvents
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールド 詳細

OK

public static final java.lang.String OK
Button constant that displays a single OK button.

See Also:
Constant Field Values

CANCEL

public static final java.lang.String CANCEL
Button constant that displays a single CANCEL button.

See Also:
Constant Field Values

OKCANCEL

public static final java.lang.String OKCANCEL
Button constant that displays a OK and CANCEL button.

See Also:
Constant Field Values

YESNO

public static final java.lang.String YESNO
Button constant that displays a YES and NO button.

See Also:
Constant Field Values

NO

public static final java.lang.String NO
Button constant for the itemId of a NO button.

See Also:
Constant Field Values

YES

public static final java.lang.String YES
Button constant for the itemId of a YES button.

See Also:
Constant Field Values

YESNOCANCEL

public static final java.lang.String YESNOCANCEL
Button constant that displays a YES, NO, and CANCEL button.

See Also:
Constant Field Values

okText

public java.lang.String okText
The OK button text (defaults to 'OK');


closeText

public java.lang.String closeText
The Close button text (defaults to 'Close').


cancelText

public java.lang.String cancelText
The Cancel button text (defaults to 'Cancel').


yesText

public java.lang.String yesText
The Yes button text (defaults to 'Yes').


noText

public java.lang.String noText
The No button text (defaults to 'No').

コンストラクタ 詳細

Dialog

public Dialog()
メソッド 詳細

getButtonBar

public ButtonBar getButtonBar()
Description copied from class: ContentPanel
Returns the panel's button bar.

オーバーライド:
getButtonBar in class ContentPanel
戻り値:
the button bar

getButtonPressed

public Button getButtonPressed()
Returns the last pressed button.

戻り値:
the button or null if no button pressed

getButtons

public java.lang.String getButtons()
Returns the button's.

戻り値:
the buttons the buttons

isHideOnButtonClick

public boolean isHideOnButtonClick()
Returns true if the dialog will be hidden on any button click.

戻り値:
the hide on button click state

setButtons

public void setButtons(java.lang.String buttons)
Sets the buttons to display (defaults to OK).
 Dialog.OK
 Dialog.CANCEL
 Dialog.OKCANCEL
 Dialog.YESNO
 Dialog.YESNOCANCEL
 


setHideOnButtonClick

public void setHideOnButtonClick(boolean hideOnButtonClick)
True to hide the dialog on any button click.

パラメータ:
hideOnButtonClick - true to hide