Package org.jmol.viewer
Class MouseState
- java.lang.Object
-
- org.jmol.viewer.MouseState
-
public class MouseState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MouseState(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheck(int xyRange, int x, int y, int modifiers, long time, long delayMax)booleaninRange(int xyRange, int x, int y)booleanis(MouseState current)(package private) voidset(long time, int x, int y, int modifiers)(package private) voidsetCurrent(MouseState current, int clickCount)
-
-
-
Field Detail
-
x
int x
-
y
int y
-
modifiers
int modifiers
-
time
public long time
-
name
public java.lang.String name
-
MIN_DELAY_MS
private static final int MIN_DELAY_MS
- See Also:
- Constant Field Values
-
-
Method Detail
-
set
void set(long time, int x, int y, int modifiers)
-
setCurrent
void setCurrent(MouseState current, int clickCount)
- 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
public boolean is(MouseState current)
-
-