etomica.graphics
Class DeviceControllerButton
java.lang.Object
etomica.graphics.Device
etomica.graphics.DeviceButton
etomica.graphics.DeviceControllerButton
- All Implemented Interfaces:
- GraphicalElement, Dimensioned
public class DeviceControllerButton
- extends DeviceButton
Button that attaches to a controller to toggle its pause/resume state.
Performs toggling of button label with state.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeviceControllerButton
public DeviceControllerButton(Controller controller)
setController
public final void setController(Controller c)
getController
public IController getController()
- Overrides:
getController in class Device
- Returns:
- Returns the controller.
reset
public void reset()
- Sets label of button to display "Start".