org.graffiti.plugins.modes.advanced
Interface FunctionAction

All Superinterfaces:
Action, ActionListener, EventListener
All Known Implementing Classes:
AbortAddEdgeAction, AbstractFunctionAction, AddBendAddEdgeAction, AlignAction, FinishAddEdgeAction, FinishMoveAction, FinishNodeResizeAction, FinishSelectRectAction, MarkUnderlyingNodeAction, MoveAction, PerformNodeResizeAction, SelectionAction, ShortCutAction, ShowPopupMenuAction, StartAddEdgeAction, StartEditLabelAction, StartMoveAction, StartMoveWithBendsAction, StartNodeResizeAction, StartSelectRectAction, UpdateAddEdgeAction, UpdateMoveAction, UpdateSelectionRectAction

public interface FunctionAction
extends Action

Implementation of Action used within the function-concept.


Field Summary
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Method Summary
 void actionPerformed(FunctionActionEvent e)
          Specialised version of the usual actionPerformed-method known from the Action-hierarchy.
 Map<String,Set<Object>> getValidParameters()
          Returns a Map with valid parameters for the function.
 
Methods inherited from interface javax.swing.Action
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from interface java.awt.event.ActionListener
actionPerformed
 

Method Detail

getValidParameters

Map<String,Set<Object>> getValidParameters()
Returns a Map with valid parameters for the function. Keys: Parameter-names (Strings). Values: Sets of parameter-values (Objects).

Returns:
Map with valid parameters

actionPerformed

void actionPerformed(FunctionActionEvent e)
Specialised version of the usual actionPerformed-method known from the Action-hierarchy. Used within the function-concept. Each implementor should override it, _not_ the standard-actionPerformed-method.

Parameters:
e - any FunctionActionEvent


Generated at 2012-05-30 11:01:25 PM CEST