Package gaiasky.interafce
Class KeyBindings.ProgramAction
java.lang.Object
gaiasky.interafce.KeyBindings.ProgramAction
- All Implemented Interfaces:
java.lang.Comparable<KeyBindings.ProgramAction>
,java.lang.Runnable
- Enclosing class:
- KeyBindings
public class KeyBindings.ProgramAction extends java.lang.Object implements java.lang.Runnable, java.lang.Comparable<KeyBindings.ProgramAction>
A simple program action. It can optionally contain a condition which must
evaluate to true for the action to be run.
-
Method Summary
Modifier and Type Method Description int
compareTo(KeyBindings.ProgramAction other)
void
run()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
run
public void run()- Specified by:
run
in interfacejava.lang.Runnable
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<KeyBindings.ProgramAction>
-