org.nakedobjects.plugins.dnd.viewer.view.field
Class ClearValueOption

java.lang.Object
  extended by org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
      extended by org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
          extended by org.nakedobjects.plugins.dnd.viewer.view.field.ClearValueOption
All Implemented Interfaces:
UserAction

public class ClearValueOption
extends AbstractValueOption


Field Summary
 
Fields inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
field
 
Fields inherited from interface org.nakedobjects.plugins.dnd.UserAction
DEBUG, EXPLORATION, USER
 
Constructor Summary
ClearValueOption(AbstractField field)
           
 
Method Summary
 Consent disabled(View view)
          Indicate that this action is disabled
 void execute(Workspace frame, View view, Location at)
          Invoke this action.
 java.lang.String getDescription(View view)
          Returns the description of the action.
 java.lang.String toString()
           
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.view.field.AbstractValueOption
getValue, isEmpty, updateParent
 
Methods inherited from class org.nakedobjects.plugins.dnd.viewer.action.AbstractUserAction
getHelp, getName, getType, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClearValueOption

public ClearValueOption(AbstractField field)
Method Detail

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
Overrides:
getDescription in class AbstractUserAction

disabled

public Consent disabled(View view)
Description copied from interface: UserAction
Indicate that this action is disabled

Specified by:
disabled in interface UserAction
Overrides:
disabled in class AbstractUserAction

execute

public void execute(Workspace frame,
                    View view,
                    Location at)
Description copied from interface: UserAction
Invoke this action.

Specified by:
execute in interface UserAction
Specified by:
execute in class AbstractUserAction

toString

public java.lang.String toString()
Overrides:
toString in class AbstractUserAction


Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.