Package curve.io
Class Key
java.lang.Object
curve.io.Key
- 
Field Summary
FieldsModifier and TypeFieldDescriptionbooleanmodifier monitoringbooleanmodifier monitoring(package private) static DotsCanvasdc(package private) static booleandebug(package private) static booleandebugDist(package private) static booleandebugDnD(package private) static booleandebugJoin(package private) static booleandebugKey(package private) static booleandebugLine(package private) static booleandebugMenu(package private) static booleandebugMotion(package private) static booleandebugMove(package private) static final intdim(package private) Interpreterip(package private) JFramejfprivate static Keykey(package private) Movermover(package private) MoverPopupMenumpm(package private) static final intpadbooleanmodifier monitoring(package private) Trt(package private) Uu(package private) static Stringzz - 
Constructor Summary
ConstructorsConstructorDescriptionKey(DotsCanvas dc, U u, Mover mover, MoverPopupMenu mpm, Interpreter ip, Tr t) constructor - 
Method Summary
Modifier and TypeMethodDescription(package private) voidadd interpreter linkbooleankey input handling(package private) voiddo delete keyvoiddo escape keystatic booleanget Alt Keystatic booleanget Control Keystatic booleanget Shift Keyvoidkey pressedvoidkey releasedvoidkey typed(package private) static voidlogging link to Log.mes(package private) static voidlogPointArray(String z, DPoint[] pa) log point array(package private) voidmoveMouse(int x, int y) move mouse 
- 
Field Details
- 
key
key - 
zz
zz - 
debug
static boolean debugdebug - 
debugJoin
static boolean debugJoindebugJoin - 
debugDnD
static boolean debugDnDdebugDnD - 
debugLine
static boolean debugLinedebugLine - 
debugMenu
static boolean debugMenudebugMenu - 
debugKey
static boolean debugKeydebugKey - 
debugMotion
static boolean debugMotiondebugMotion - 
debugMove
static boolean debugMovedebugMove - 
debugDist
static boolean debugDistdebugDist - 
dc
dc - 
dim
static final int dimdim- See Also:
 
 - 
pad
static final int padpad- See Also:
 
 - 
jf
JFrame jfjf - 
u
U uu - 
ip
Interpreter ipip - 
t
Tr tt - 
mover
Mover movermover - 
mpm
MoverPopupMenu mpmmpm - 
shift
public boolean shiftmodifier monitoring - 
control
public boolean controlmodifier monitoring - 
alt
public boolean altmodifier monitoring 
 - 
 - 
Constructor Details
- 
Key
constructor- Parameters:
 dc- -u- -mover- -mpm- -ip- -t- -
 
 - 
 - 
Method Details
- 
addInterpreterLink
 - 
log
 - 
getShiftKey
public static boolean getShiftKey()get Shift Key- Returns:
 - Shift Key
 
 - 
getControlKey
public static boolean getControlKey()get Control Key- Returns:
 - Control Key
 
 - 
getAltKey
public static boolean getAltKey()get Alt Key- Returns:
 - Alt Key
 
 - 
logPointArray
 - 
dispatchKeyEvent
key input handling- Specified by:
 dispatchKeyEventin interfaceKeyEventDispatcher- Parameters:
 e- -- Returns:
 - ok -
 
 - 
doEscapeKey
public void doEscapeKey()do escape key - 
doDeleteKey
void doDeleteKey()do delete key - 
moveMouse
void moveMouse(int x, int y) move mouse- Parameters:
 x- -y- -
 - 
keyPressed
 - 
keyTyped
 - 
keyReleased
 
 -