Package gaiasky.gui
Class KeyBindings.ProgramAction
java.lang.Object
gaiasky.gui.KeyBindings.ProgramAction
- All Implemented Interfaces:
Comparable<KeyBindings.ProgramAction>
,Runnable
- Enclosing class:
KeyBindings
public static class KeyBindings.ProgramAction
extends Object
implements Runnable, Comparable<KeyBindings.ProgramAction>
A simple program action. It can optionally contain a condition which must
evaluate to true for the action to be run.
-
Field Summary
Modifier and TypeFieldDescriptionfinal long
Contains the maximum amount of time between the key down and key up events. -
Method Summary
-
Field Details
-
maxKeyDownTimeMs
public final long maxKeyDownTimeMsContains the maximum amount of time between the key down and key up events.
-
-
Method Details
-
run
public void run() -
compareTo
- Specified by:
compareTo
in interfaceComparable<KeyBindings.ProgramAction>
-