controlP5
Class ControlWindowKeyHandler
java.lang.Object
controlP5.ControlWindowKeyHandler
- All Implemented Interfaces:
- ControlP5Constants
public class ControlWindowKeyHandler
- extends java.lang.Object
- implements ControlP5Constants
the key control for the ControlWindows is a hassle because when re/loading
settings, it takes a bit till the frame of a ControlWindow is closed and
disposed. a couple of nullpointers and possible exception occur while
reloading a new window, therefor the key handling seems so complicated and
circuitous.
Fields inherited from interface controlP5.ControlP5Constants |
acceptClassList, ALT, ARRAY, BACKSPACE, BOOLEAN, CONTROL, DECREASE, DELETE, DOWN, ENTER, ESCAPE, eventMethod, FIELD, FLOAT, HALF_PI, HIDE, INCREASE, INTEGER, INVALID, KEYCONTROL, LEFT, LOAD, MENU, METHOD, PI, PRINT, RESET, RIGHT, SAVE, SHIFT, STRING, SWITCH_BACK, SWITCH_FORE, TAB, TWO_PI, UP, VERBOSE |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
isShiftDown
public boolean isShiftDown
isKeyDown
public boolean isKeyDown
isAltDown
public boolean isAltDown
isKeyMenu
public boolean isKeyMenu
ControlWindowKeyHandler
public ControlWindowKeyHandler(ControlP5 theControlP5)
update
public void update(ControlWindow theControlWindow)
keyEvent
public void keyEvent(java.awt.event.KeyEvent theKeyEvent,
ControlWindow theControlWindow,
boolean isMasterWindow)
processing library controlP5 by Andreas Schlegel. (c) 2010