|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.plot2.Gesture
public class Gesture
Enumerates mouse gestures used to perform navigation actions.
Field Summary | |
---|---|
static Gesture |
CLICK_1
Click mouse button 1. |
static Gesture |
CLICK_2
Click mouse button 2. |
static Gesture |
CLICK_3
Click mouse button 3. |
static Gesture |
DRAG_1
Drag using mouse button 1. |
static Gesture |
DRAG_2
Drag using mouse button 2. |
static Gesture |
DRAG_3
Drag using mouse button 3. |
static Gesture |
WHEEL
Rotate mouse wheel. |
Constructor Summary | |
---|---|
Gesture(String name,
Icon icon,
String description)
Constructor. |
Method Summary | |
---|---|
String |
getDescription()
Returns a description for this gesture. |
Icon |
getIcon()
Returns a small icon for this gesture. |
String |
getName()
Returns a short name for this gesture. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Gesture DRAG_1
public static final Gesture DRAG_2
public static final Gesture DRAG_3
public static final Gesture CLICK_1
public static final Gesture CLICK_2
public static final Gesture CLICK_3
public static final Gesture WHEEL
Constructor Detail |
---|
public Gesture(String name, Icon icon, String description)
name
- gesture name (short)icon
- small icon (preferably 12 pixels high)description
- gesture descriptionMethod Detail |
---|
public String getName()
public Icon getIcon()
public String getDescription()
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |