public abstract class Control
extends java.lang.Object
A Control represents a form of input that can be pressed, held, and released, such as a key, mouse button, or controller button. A Control may be bound to a CellGame's command, allowing it to respond to the input that the Control represents. All instances of subclasses of Control are equal if and only if they represent the same input.
| Constructor and Description | 
|---|
| Control() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Control | getControl(java.lang.String name)Returns a Control whose name according to getName() is the specified
 String, or null if no Control has that String as a name. | 
| abstract java.lang.String | getName()Returns a short, descriptive, and unique String name for this Control. | 
public abstract java.lang.String getName()
public static Control getControl(java.lang.String name)
name - The name of the Control to be returned