net.sf.doolin.gui.window.dialog
Class DialogGUIWindow<B>

java.lang.Object
  extended by net.sf.doolin.gui.window.support.AbstractGUIWindow<B>
      extended by net.sf.doolin.gui.window.support.AbstractRootPaneGUIWindow<B>
          extended by net.sf.doolin.gui.window.dialog.AbstractDialogWindow<B>
              extended by net.sf.doolin.gui.window.dialog.DialogGUIWindow<B>
Type Parameters:
B - Type of data for the dialog
All Implemented Interfaces:
PropertyContainer, GUIWindow<B>

public class DialogGUIWindow<B>
extends AbstractDialogWindow<B>

Window for a modal dialog.

Author:
Damien Coraboeuf (x74639)

Field Summary
 
Fields inherited from class net.sf.doolin.gui.window.support.AbstractRootPaneGUIWindow
menuBarContextMap
 
Constructor Summary
DialogGUIWindow()
          Constructor with a DefaultDialogActionsFactory.
DialogGUIWindow(DialogActionsFactory dialogActionsFactory)
          Constructor with a given DialogActionsFactory.
 
Method Summary
protected  IWindowFactory getIwindowFactory()
           
protected  boolean isModal()
           
 void onPostCreate()
          Creates the button bar
 
Methods inherited from class net.sf.doolin.gui.window.dialog.AbstractDialogWindow
addWindowListener, build, close, display, getActionBarContext, getButton, getCloseAction, setDefaultButton, setSize, setWindowIcon, setWindowTitle
 
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

DialogGUIWindow

public DialogGUIWindow()
Constructor with a DefaultDialogActionsFactory.


DialogGUIWindow

public DialogGUIWindow(DialogActionsFactory dialogActionsFactory)
Constructor with a given DialogActionsFactory.

Parameters:
dialogActionsFactory - DialogActionsFactory to use
Method Detail

getIwindowFactory

protected IWindowFactory getIwindowFactory()
Specified by:
getIwindowFactory in class AbstractDialogWindow<B>

isModal

protected boolean isModal()
Specified by:
isModal in class AbstractDialogWindow<B>

onPostCreate

public void onPostCreate()
Creates the button bar

Specified by:
onPostCreate in interface GUIWindow<B>
Overrides:
onPostCreate in class AbstractDialogWindow<B>


Copyright © 2011. All Rights Reserved.