Package gaiasky.interfce
Class KeyBindings.ProgramAction
- java.lang.Object
-
- gaiasky.interfce.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(KeyBindings.ProgramAction other)
void
run()
-
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
compareTo
public int compareTo(KeyBindings.ProgramAction other)
- Specified by:
compareTo
in interfacejava.lang.Comparable<KeyBindings.ProgramAction>
-
-