Package jspecview.app
Class GenericMouse
java.lang.Object
jspecview.app.GenericMouse
- All Implemented Interfaces:
GenericMouseInterface
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected JSVPanel
protected int
protected EventManager
protected int
protected int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static int
applyLeftMouse
(int modifiers) void
clear()
protected void
clicked
(long time, int x, int y, int modifiers, int clickCount) void
dispose()
protected void
dragged
(long time, int x, int y, int modifiers) protected void
entered
(long time, int x, int y) protected void
exited
(long time, int x, int y) void
keyPressed
(KeyEvent ke) void
keyReleased
(KeyEvent ke) void
void
void
void
void
void
void
void
void
protected void
moved
(long time, int x, int y, int modifiers) protected void
pressed
(long time, int x, int y, int modifiers, boolean isPopupTrigger) boolean
processEvent
(int id, int x, int y, int modifiers, long time) void
processKeyEvent
(Object event) void
processTwoPointGesture
(float[][][] touches) protected void
released
(long time, int x, int y, int modifiers) protected void
wheeled
(long time, int rotation, int modifiers)
-
Field Details
-
pd
-
jsvp
-
xWhenPressed
protected int xWhenPressed -
yWhenPressed
protected int yWhenPressed -
modifiersWhenPressed10
protected int modifiersWhenPressed10 -
isMouseDown
protected boolean isMouseDown
-
-
Constructor Details
-
GenericMouse
-
-
Method Details
-
clear
public void clear()- Specified by:
clear
in interfaceGenericMouseInterface
-
processEvent
public boolean processEvent(int id, int x, int y, int modifiers, long time) - Specified by:
processEvent
in interfaceGenericMouseInterface
-
mouseEntered
-
mouseExited
-
mouseMoved
-
mousePressed
-
mouseDragged
-
mouseReleased
-
mouseClicked
-
mouseWheelMoved
-
keyTyped
-
keyPressed
-
keyReleased
-
processKeyEvent
- Specified by:
processKeyEvent
in interfaceGenericMouseInterface
-
entered
protected void entered(long time, int x, int y) -
exited
protected void exited(long time, int x, int y) -
clicked
protected void clicked(long time, int x, int y, int modifiers, int clickCount) - Parameters:
time
-x
-y
-modifiers
-clickCount
-
-
moved
protected void moved(long time, int x, int y, int modifiers) -
wheeled
protected void wheeled(long time, int rotation, int modifiers) -
pressed
protected void pressed(long time, int x, int y, int modifiers, boolean isPopupTrigger) - Parameters:
time
-x
-y
-modifiers
-isPopupTrigger
-
-
released
protected void released(long time, int x, int y, int modifiers) -
dragged
protected void dragged(long time, int x, int y, int modifiers) -
applyLeftMouse
protected static int applyLeftMouse(int modifiers) -
processTwoPointGesture
public void processTwoPointGesture(float[][][] touches) - Specified by:
processTwoPointGesture
in interfaceGenericMouseInterface
-
dispose
public void dispose()- Specified by:
dispose
in interfaceGenericMouseInterface
-