net.sf.doolin.gui.window.dialog
Class CustomDialogWindowFactory

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

public class CustomDialogWindowFactory
extends Object
implements GUIWindowFactory

DialogWindowFactory that uses a list of actions instead of the default ones.

Author:
Damien Coraboeuf
See Also:
CustomDialogActionsFactory

Constructor Summary
CustomDialogWindowFactory()
           
 
Method Summary
<B> GUIWindow<B>
createWindow()
          Creates a GUIWindow instance.
 void setDialogActions(List<GUIAction> dialogActions)
          Sets the list of actions for the dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomDialogWindowFactory

public CustomDialogWindowFactory()
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

setDialogActions

public void setDialogActions(List<GUIAction> dialogActions)
Sets the list of actions for the dialog

Parameters:
dialogActions - Action list


Copyright © 2011. All Rights Reserved.