public class Gesture
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
Gesture(java.lang.String name,
javax.swing.Icon icon,
java.lang.String description) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getDescription() |
Returns a description for this gesture.
|
javax.swing.Icon |
getIcon() |
Returns a small icon for this gesture.
|
java.lang.String |
getName() |
Returns a short name for this gesture.
|
java.lang.String |
toString() |
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
public Gesture(java.lang.String name, javax.swing.Icon icon, java.lang.String description)
name
- gesture name (short)icon
- small icon (preferably 12 pixels high)description
- gesture descriptionpublic java.lang.String getName()
public javax.swing.Icon getIcon()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.