© 2006-2007 ETH Zurich

org.ximtec.igesture.tool.core
Class GenericLocateableAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by org.sigtec.graphix.widget.BasicAction
          extended by org.ximtec.igesture.tool.core.LocateableAction
              extended by org.ximtec.igesture.tool.core.GenericLocateableAction
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class GenericLocateableAction
extends LocateableAction

A generic locateable action implementation. It executes the command given in a string on the given controller.

Author:
Ueli Kurmann
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
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
 
Constructor Summary
GenericLocateableAction(Controller controller, String key, String commandString)
          Creates a generic locate able action
 
Method Summary
 void actionPerformed(ActionEvent event)
           
 
Methods inherited from class org.ximtec.igesture.tool.core.LocateableAction
getLocator, setLocator
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericLocateableAction

public GenericLocateableAction(Controller controller,
                               String key,
                               String commandString)
Creates a generic locate able action

Parameters:
controller - the controller handling the action
key - the key referencing the resources attached to this action
commandString - the command string which is executed on the controller
Method Detail

actionPerformed

public void actionPerformed(ActionEvent event)

© 2006-2007 ETH Zurich

Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.