|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.doolin.gui.window.support.AbstractGUIWindow<B>
net.sf.doolin.gui.window.support.AbstractRootPaneGUIWindow<B>
net.sf.doolin.gui.window.dialog.AbstractDialogWindow<B>
B - Type of data hold by the windowpublic abstract class AbstractDialogWindow<B>
Window for a dialog. It can rely on a JDialog for modal wizards or on
a JFrame for modeless wizards.
IWindow| Field Summary |
|---|
| Fields inherited from class net.sf.doolin.gui.window.support.AbstractRootPaneGUIWindow |
|---|
menuBarContextMap |
| Constructor Summary | |
|---|---|
AbstractDialogWindow(DialogActionsFactory dialogActionsFactory)
Constructor |
|
| Method Summary | |
|---|---|
protected void |
addWindowListener(WindowListener listener)
|
protected void |
build()
Builds the window. |
void |
close()
Closes the dialog |
void |
display()
Displays the window on the screen. |
protected ActionBarContext |
getActionBarContext()
Returns the paths for the dialog actions |
protected JButton |
getButton(String name)
|
protected GUIAction |
getCloseAction()
Gets the close action for this dialog. |
protected abstract IWindowFactory |
getIwindowFactory()
|
protected abstract boolean |
isModal()
|
void |
onPostCreate()
Creates the button bar |
protected void |
setDefaultButton(JButton button)
|
protected void |
setSize(WindowSize size)
Sets the size of the dialog |
void |
setWindowIcon(Icon icon)
Sets the icon for the window |
void |
setWindowTitle(String value)
Sets the window title. |
| Methods inherited from class net.sf.doolin.gui.window.support.AbstractRootPaneGUIWindow |
|---|
getRootPanel, getWindowPanel, installMenuBar, installMenuBar, installToolBar, uninstallMenuBar, uninstallToolBar |
| Methods inherited from class net.sf.doolin.gui.window.support.AbstractGUIWindow |
|---|
addGUIWindowListener, addView, build, canClose, getActionContext, getApplication, getId, getOpenViews, getProperty, getView, getWindowData, getWindowDescriptor, getWindowListeners, isClosed, removeView, setProperty, showView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractDialogWindow(DialogActionsFactory dialogActionsFactory)
dialogActionsFactory - Factory for the dialog actions (ok, cancel, previous, next,
finish, cancel...)| Method Detail |
|---|
protected void addWindowListener(WindowListener listener)
protected void build()
AbstractGUIWindow
build in class AbstractRootPaneGUIWindow<B>AbstractGUIWindow.getApplication(),
AbstractGUIWindow.getWindowData()public void close()
close in interface GUIWindow<B>close in class AbstractGUIWindow<B>public void display()
GUIWindow
protected ActionBarContext getActionBarContext()
DialogActionsFactory.getDialogActions()protected JButton getButton(String name)
protected GUIAction getCloseAction()
protected abstract IWindowFactory getIwindowFactory()
protected abstract boolean isModal()
public void onPostCreate()
onPostCreate in interface GUIWindow<B>onPostCreate in class AbstractGUIWindow<B>protected void setDefaultButton(JButton button)
protected void setSize(WindowSize size)
size - Size specificationpublic void setWindowIcon(Icon icon)
GUIWindow
icon - Icon to setpublic void setWindowTitle(String value)
GUIWindow
value - Window title
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||