net.sf.doolin.gui.window.dialog
Class DialogOKAction<B>
java.lang.Object
net.sf.doolin.gui.action.AbstractGUIAction
net.sf.doolin.gui.action.AbstractTextAction
net.sf.doolin.gui.window.dialog.AbstractDialogAction<B>
net.sf.doolin.gui.window.dialog.DialogOKAction<B>
- Type Parameters:
B - Type of data for the dialog
- All Implemented Interfaces:
- GUIAction
public class DialogOKAction<B>
- extends AbstractDialogAction<B>
Standard OK action for a dialog
- Author:
- Damien Coraboeuf (x74639)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DialogOKAction
public DialogOKAction()
- Constructor
- See Also:
ValidationDisplayStateHandler,
DialogAction.OK
doExecute
protected void doExecute(ActionContext context)
throws Exception
- Description copied from class:
AbstractGUIAction
- Executes the action and throws any kind of error.
- Specified by:
doExecute in class AbstractGUIAction
- Parameters:
context - the context
- Throws:
Exception - the exception
getShortcut
protected String getShortcut()
- Description copied from class:
AbstractTextAction
- Gets the shortcut for this action
- Specified by:
getShortcut in class AbstractTextAction
- Returns:
- Shortcut definition
- See Also:
KeyStroke.getKeyStroke(String)
Copyright © 2011. All Rights Reserved.