Package curve.io
Class Key
java.lang.Object
curve.io.Key
- 
Field SummaryFieldsModifier 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 SummaryConstructorsConstructorDescriptionKey(DotsCanvas dc, U u, Mover mover, MoverPopupMenu mpm, Interpreter ip, Tr t) constructor
- 
Method SummaryModifier 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- 
keykey
- 
zzzz
- 
debugstatic boolean debugdebug
- 
debugJoinstatic boolean debugJoindebugJoin
- 
debugDnDstatic boolean debugDnDdebugDnD
- 
debugLinestatic boolean debugLinedebugLine
- 
debugMenustatic boolean debugMenudebugMenu
- 
debugKeystatic boolean debugKeydebugKey
- 
debugMotionstatic boolean debugMotiondebugMotion
- 
debugMovestatic boolean debugMovedebugMove
- 
debugDiststatic boolean debugDistdebugDist
- 
dcdc
- 
dimstatic final int dimdim- See Also:
 
- 
padstatic final int padpad- See Also:
 
- 
jfJFrame jfjf
- 
uU uu
- 
ipInterpreter ipip
- 
tTr tt
- 
moverMover movermover
- 
mpmMoverPopupMenu mpmmpm
- 
shiftpublic boolean shiftmodifier monitoring
- 
controlpublic boolean controlmodifier monitoring
- 
altpublic boolean altmodifier monitoring
 
- 
- 
Constructor Details- 
Keyconstructor- Parameters:
- dc- -
- u- -
- mover- -
- mpm- -
- ip- -
- t- -
 
 
- 
- 
Method Details- 
addInterpreterLink
- 
log
- 
getShiftKeypublic static boolean getShiftKey()get Shift Key- Returns:
- Shift Key
 
- 
getControlKeypublic static boolean getControlKey()get Control Key- Returns:
- Control Key
 
- 
getAltKeypublic static boolean getAltKey()get Alt Key- Returns:
- Alt Key
 
- 
logPointArray
- 
dispatchKeyEventkey input handling- Specified by:
- dispatchKeyEventin interface- KeyEventDispatcher
- Parameters:
- e- -
- Returns:
- ok -
 
- 
doEscapeKeypublic void doEscapeKey()do escape key
- 
doDeleteKeyvoid doDeleteKey()do delete key
- 
moveMousevoid moveMouse(int x, int y) move mouse- Parameters:
- x- -
- y- -
 
- 
keyPressed
- 
keyTyped
- 
keyReleased
 
-