Package curve.io
Class Key
java.lang.Object
curve.io.Key
-
Field Summary
Modifier and TypeFieldDescriptionboolean
modifier monitoringboolean
modifier monitoring(package private) static DotsCanvas
dc(package private) static boolean
debug(package private) static boolean
debugDist(package private) static boolean
debugDnD(package private) static boolean
debugJoin(package private) static boolean
debugKey(package private) static boolean
debugLine(package private) static boolean
debugMenu(package private) static boolean
debugMotion(package private) static boolean
debugMove(package private) static final int
dim(package private) Interpreter
ip(package private) JFrame
jfprivate static Key
key(package private) Mover
mover(package private) MoverPopupMenu
mpm(package private) static final int
padboolean
modifier monitoring(package private) Tr
t(package private) U
u(package private) static String
zz -
Constructor Summary
ConstructorDescriptionKey
(DotsCanvas dc, U u, Mover mover, MoverPopupMenu mpm, Interpreter ip, Tr t) constructor -
Method Summary
Modifier and TypeMethodDescription(package private) void
add interpreter linkboolean
key input handling(package private) void
do delete keyvoid
do escape keystatic boolean
get Alt Keystatic boolean
get Control Keystatic boolean
get Shift Keyvoid
key pressedvoid
key releasedvoid
key typed(package private) static void
logging link to Log.mes(package private) static void
logPointArray
(String z, DPoint[] pa) log point array(package private) void
moveMouse
(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:
dispatchKeyEvent
in 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
-