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

java.lang.Object
  extended by net.sf.doolin.gui.window.dialog.AbstractDialogActionsFactory<B>
Type Parameters:
B - Type of bean for the window
All Implemented Interfaces:
DialogActionsFactory
Direct Known Subclasses:
CustomDialogActionsFactory, DefaultDialogActionsFactory, NoButtonDialogActionsFactory, OKOnlyDialogActionsFactory

public abstract class AbstractDialogActionsFactory<B>
extends Object
implements DialogActionsFactory

This abstract implementation of DialogActionsFactory provides methods to create instances of default dialog actions: OK and Cancel.

Author:
Damien Coraboeuf

Constructor Summary
AbstractDialogActionsFactory()
           
 
Method Summary
protected  GUIAction getCancelAction()
          Creates the Cancel action for a dialog
protected  GUIAction getOKAction()
          Creates the OK action for a dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.doolin.gui.window.dialog.DialogActionsFactory
getDialogActions
 

Constructor Detail

AbstractDialogActionsFactory

public AbstractDialogActionsFactory()
Method Detail

getOKAction

protected GUIAction getOKAction()
Creates the OK action for a dialog

Returns:
Action
See Also:
DialogOKAction

getCancelAction

protected GUIAction getCancelAction()
Creates the Cancel action for a dialog

Returns:
Action
See Also:
DialogCancelAction


Copyright © 2011. All Rights Reserved.