public class Dialog extends Window
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
modal |
protected ModalResult |
modalResult |
childWindows, closeButton, contentPanel, eventThread, NAME_CLOSE_BUTTON, NAME_CONTENT_PANEL, NAME_TITLE_LABEL, NAME_TITLE_PANEL, parentWindow, title, titleLabel, titlePanel, windowManagerbackgroundColor, caption, color, disabled, EVENT_BEFORE_REFRESH_VIEW, EVENT_BEFORE_UPDATE_VIEW, EVENT_STATE_CHANGE, EVENT_VALUE_CHANGE, font, id, name, readOnly, visible| Constructor and Description |
|---|
Dialog() |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(Visitor visitor) |
protected void |
closeDialog()
free dialog resource
|
void |
closeDialog(ModalResult modalResult)
set result, close it.
|
void |
closeWindow()
close, detach, free window.
|
ModalResult |
getModalResult() |
boolean |
isModal() |
void |
setModal(boolean modal) |
void |
setModalResult(ModalResult modalResult) |
ModalResult |
showModal(Window parent)
suspend current thread,
|
addChildWindow, getChildWindows, getContentPanel, getEventThread, getParentWindow, getRootWindow, getTitle, getTitlePanel, getWindowManager, removeChildWindow, setContentPanel, setEventThread, setParentWindow, setTitle, setWindowManageraddChild, addChild, addChildren, addEventListener, clearEventListener, containsListener, destroy, existsEventListener, findWindow, forceUpdateView, getBackgroundColor, getCaption, getChildComponentById, getChildComponentByName, getChildrenComponents, getColor, getComponentByClass, getExtraAttribute, getExtraAttributes, getFont, getFont, getId, getModel, getName, getWindow, hide, isDisabled, isReadOnly, isVisible, isWindow, notifyEventListeners, notifyEventListeners, removeChild, removeEventListener, removeExtraAttribute, setBackgroundColor, setCaption, setColor, setDisabled, setExtraAttribute, setFont, setId, setModel, setModel, setName, setReadOnly, setVisible, show, toString, tranverse, updateModel, updateViewaddChild, addChild, addChildren, checkConsistency, copy, detach, getChildren, getDepth, getParent, getRoot, isLeaf, isRoot, remove, removeAllChildren, removeChild, replace, replaceSingleNode, setChildren, setParentprotected boolean modal
protected ModalResult modalResult
public boolean isModal()
public void setModal(boolean modal)
public ModalResult getModalResult()
public void setModalResult(ModalResult modalResult)
public void closeDialog(ModalResult modalResult)
modalResult - protected void closeDialog()
public void closeWindow()
WindowcloseWindow in class Windowpublic ModalResult showModal(Window parent)
Copyright © 2015. All Rights Reserved.