public class Gesture extends Object
Modifier and Type | Field and 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 and Description |
---|
Gesture(String name,
Icon icon,
String description)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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() |
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 String getName()
public Icon getIcon()
public String getDescription()
Copyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.