|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.user.client.ui.UIObject
com.google.gwt.user.client.ui.Widget
com.extjs.gxt.ui.client.widget.Component
com.extjs.gxt.ui.client.widget.BoxComponent
com.extjs.gxt.ui.client.widget.Container<T>
com.extjs.gxt.ui.client.widget.ScrollContainer<Component>
com.extjs.gxt.ui.client.widget.LayoutContainer
com.extjs.gxt.ui.client.widget.ContentPanel
com.extjs.gxt.ui.client.widget.Window
com.extjs.gxt.ui.client.widget.Dialog
public class Dialog
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.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 |
| フィールド 詳細 |
|---|
public static final java.lang.String OK
public static final java.lang.String CANCEL
public static final java.lang.String OKCANCEL
public static final java.lang.String YESNO
public static final java.lang.String NO
public static final java.lang.String YES
public static final java.lang.String YESNOCANCEL
public java.lang.String okText
public java.lang.String closeText
public java.lang.String cancelText
public java.lang.String yesText
public java.lang.String noText
| コンストラクタ 詳細 |
|---|
public Dialog()
| メソッド 詳細 |
|---|
public ButtonBar getButtonBar()
ContentPanel
getButtonBar in class ContentPanelpublic Button getButtonPressed()
null if no button pressedpublic java.lang.String getButtons()
public boolean isHideOnButtonClick()
public void setButtons(java.lang.String buttons)
Dialog.OK Dialog.CANCEL Dialog.OKCANCEL Dialog.YESNO Dialog.YESNOCANCEL
public void setHideOnButtonClick(boolean hideOnButtonClick)
hideOnButtonClick - true to hide
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||