GP
Class Command

java.lang.Object
  |
  +--GP.Command

public class Command
extends java.lang.Object

This defines the interface to an action, something that happens quickly. It can also be thought of as a piece of executable code that can be used like an object, passed from one object as a parameter to a method of another object.


Constructor Summary
Command()
           
 
Method Summary
 void Act()
          This method should be implemented to perform some sequence of actions.
 void Act(double step)
           
 void Act(int index)
           
 void Act(java.lang.Object target)
           
 void Act(java.lang.Object target, double step)
           
 void Act(java.lang.Object target, int index)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Command

public Command()
Method Detail

Act

public void Act()
This method should be implemented to perform some sequence of actions.

Act

public void Act(int index)

Act

public void Act(double step)

Act

public void Act(java.lang.Object target)

Act

public void Act(java.lang.Object target,
                int index)

Act

public void Act(java.lang.Object target,
                double step)