org.nakedobjects.plugins.dnd.viewer.action
Class AbstractButtonAction
java.lang.Object
org.nakedobjects.plugins.dnd.viewer.action.AbstractButtonAction
- All Implemented Interfaces:
- ButtonAction, UserAction
- Direct Known Subclasses:
- CancelAction, MessageDialogSpecification.CloseViewAction
public abstract class AbstractButtonAction
- extends java.lang.Object
- implements ButtonAction
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractButtonAction
public AbstractButtonAction(java.lang.String name)
AbstractButtonAction
public AbstractButtonAction(java.lang.String name,
boolean defaultButton)
disabled
public Consent disabled(View view)
- Description copied from interface:
UserAction
- Indicate that this action is disabled
- Specified by:
disabled in interface UserAction
getDescription
public java.lang.String getDescription(View view)
- Description copied from interface:
UserAction
- Returns the description of the action.
- Specified by:
getDescription in interface UserAction
getHelp
public java.lang.String getHelp(View view)
- Description copied from interface:
UserAction
- Returns the help text for the action.
- Specified by:
getHelp in interface UserAction
getName
public java.lang.String getName(View view)
- Description copied from interface:
UserAction
- Returns the name of the action as the user will refer to it.
- Specified by:
getName in interface UserAction
getType
public NakedObjectActionType getType()
- Description copied from interface:
UserAction
- Returns the type of action: user, exploration, debug, or a set.
- Specified by:
getType in interface UserAction
isDefault
public boolean isDefault()
- Specified by:
isDefault in interface ButtonAction
Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.