org.ximtec.igesture.geco.action
Class CommandExecutor
java.lang.Object
org.ximtec.igesture.geco.action.CommandExecutor
- All Implemented Interfaces:
- GestureAction
public class CommandExecutor
- extends Object
- implements GestureAction
Class encapsulating the execution of a command.
- Version:
- 0.9, Dec 6, 2007
- Author:
- Michele Croci, mcroci@gmail.com, Beat Signer, signer@inf.ethz.ch
CommandExecutor
public CommandExecutor(String command)
- Constructor.
- Parameters:
command - the command to be executed
actionPerformed
public void actionPerformed(ResultSet resultSet)
- Execute the action
- Specified by:
actionPerformed in interface GestureAction
- Parameters:
resultSet - the result set.
getCommand
public String getCommand()
toString
public String toString()
- Returns a string representation of the command executor.
- Overrides:
toString in class Object
- Returns:
- string representation of the command executor.
Copyright © 2007-2010 Global Information Systems Group, ETH Zurich. All Rights Reserved.