net.sf.doolin.gui.window.support
Class DialogWindowFactory

java.lang.Object
  extended by net.sf.doolin.gui.window.support.DialogWindowFactory
All Implemented Interfaces:
GUIWindowFactory

public class DialogWindowFactory
extends Object
implements GUIWindowFactory

GUIWindowFactory for a dialog.

Author:
Damien Coraboeuf
See Also:
DialogGUIWindow

Constructor Summary
DialogWindowFactory()
           
 
Method Summary
<B> GUIWindow<B>
createWindow()
          Creates a GUIWindow instance.
 DialogActionsFactory getDialogActionsFactory()
          Gets the dialog actions factory (for OK and Cancel)
 void setDialogActionsFactory(DialogActionsFactory dialogActionsFactory)
          Sets the dialog actions factory (for OK and Cancel).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DialogWindowFactory

public DialogWindowFactory()
Method Detail

createWindow

public <B> GUIWindow<B> createWindow()
Description copied from interface: GUIWindowFactory
Creates a GUIWindow instance.

Specified by:
createWindow in interface GUIWindowFactory
Type Parameters:
B - Type of bean for the window
Returns:
Window instance

getDialogActionsFactory

public DialogActionsFactory getDialogActionsFactory()
Gets the dialog actions factory (for OK and Cancel)

Returns:
Dialog actions factory

setDialogActionsFactory

public void setDialogActionsFactory(DialogActionsFactory dialogActionsFactory)
Sets the dialog actions factory (for OK and Cancel). It is set by default to DefaultDialogActionsFactory.

Parameters:
dialogActionsFactory - Dialog actions factory


Copyright © 2011. All Rights Reserved.