public class Window extends Component
| Modifier and Type | Field and Description |
|---|---|
protected List<Window> |
childWindows |
protected Button |
closeButton |
protected Panel |
contentPanel
A window has only one child component, that is the contentPanel.
|
protected WindowEventThread |
eventThread |
static String |
NAME_CLOSE_BUTTON |
static String |
NAME_CONTENT_PANEL |
static String |
NAME_TITLE_LABEL |
static String |
NAME_TITLE_PANEL |
protected Window |
parentWindow
Window Tree are another tree, not same with the component tree; Windows
display in its own Z axis.
in the HTML render, Z index is useful since it can not display Real modal dialog. |
protected String |
title |
protected Label |
titleLabel |
protected Panel |
titlePanel |
protected WindowManager |
windowManager |
backgroundColor, 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 |
|---|
Window() |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(Visitor visitor) |
void |
addChildWindow(Window child) |
void |
closeWindow()
close, detach, free window.
|
List<Window> |
getChildWindows() |
Panel |
getContentPanel() |
WindowEventThread |
getEventThread() |
Window |
getParentWindow() |
Window |
getRootWindow() |
String |
getTitle() |
Panel |
getTitlePanel() |
WindowManager |
getWindowManager() |
void |
removeChildWindow(Window child) |
void |
setContentPanel(Panel contentPanel) |
void |
setEventThread(WindowEventThread eventThread) |
void |
setParentWindow(Window parentWindow) |
void |
setTitle(String title) |
void |
setWindowManager(WindowManager windowManager) |
addChild, 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, setParentpublic static final String NAME_TITLE_PANEL
public static final String NAME_TITLE_LABEL
public static final String NAME_CLOSE_BUTTON
public static final String NAME_CONTENT_PANEL
protected Window parentWindow
protected String title
protected Label titleLabel
protected Button closeButton
protected Panel titlePanel
protected Panel contentPanel
protected WindowManager windowManager
protected WindowEventThread eventThread
public void closeWindow()
public Window getParentWindow()
public void setParentWindow(Window parentWindow)
public void addChildWindow(Window child)
public void removeChildWindow(Window child)
public Window getRootWindow()
public String getTitle()
public void setTitle(String title)
public Panel getTitlePanel()
public Panel getContentPanel()
public void setContentPanel(Panel contentPanel)
public WindowManager getWindowManager()
public void setWindowManager(WindowManager windowManager)
public void setEventThread(WindowEventThread eventThread)
public WindowEventThread getEventThread()
Copyright © 2015. All Rights Reserved.