Package org.jmol.viewer
Class MouseState
java.lang.Object
org.jmol.viewer.MouseState
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
check
(int xyRange, int x, int y, int modifiers, long time, long delayMax) boolean
inRange
(int xyRange, int x, int y) boolean
is
(MouseState current) (package private) void
set
(long time, int x, int y, int modifiers) (package private) void
setCurrent
(MouseState current, int clickCount)
-
Field Details
-
x
public int x -
y
public int y -
modifiers
int modifiers -
time
public long time -
name
-
keybuf
public int keybuf -
MIN_DELAY_MS
private static final int MIN_DELAY_MS- See Also:
-
-
Constructor Details
-
MouseState
MouseState(String name)
-
-
Method Details
-
set
void set(long time, int x, int y, int modifiers) -
setCurrent
- Parameters:
current
-clickCount
-
-
inRange
public boolean inRange(int xyRange, int x, int y) -
check
public boolean check(int xyRange, int x, int y, int modifiers, long time, long delayMax) -
is
-