GestureListener, Sample code and further information
| Modifier and Type | Field and Description |
|---|---|
| public int | detail
The gesture type. |
| public boolean | doit
This flag indicates whether the operation should be allowed. |
| public double | magnification
This field is valid when the |
| public double | rotation
This field is valid when the |
| pack-priv static final long | |
| public int | stateMask
The state of the keyboard modifier keys and mouse masks at the time the event was generated. |
| public int | x
The meaning of this field is dependent on the value of the |
| public int | xDirection
This field is valid when the |
| public int | y
The meaning of this field is dependent on the value of the |
| public int | yDirection
This field is valid when the |
| Access | Constructor and Description |
|---|---|
| public | GestureEvent(Event
the untyped event containing the information e)Constructs a new instance of this class based on the information in the given untyped event. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: a string representation of the eventOverrides org. |
| detail | back to summary |
|---|---|
| public int detail The gesture type.
GestureEvent fields that contain valid data.
| |
| doit | back to summary |
|---|---|
| public boolean doit This flag indicates whether the operation should be allowed.
Setting it to | |
| magnification | back to summary |
|---|---|
| public double magnification This field is valid when the | |
| rotation | back to summary |
|---|---|
| public double rotation This field is valid when the | |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID | |
| stateMask | back to summary |
|---|---|
| public int stateMask The state of the keyboard modifier keys and mouse masks at the time the event was generated. | |
| x | back to summary |
|---|---|
| public int x The meaning of this field is dependent on the value of the | |
| xDirection | back to summary |
|---|---|
| public int xDirection This field is valid when the
If | |
| y | back to summary |
|---|---|
| public int y The meaning of this field is dependent on the value of the | |
| yDirection | back to summary |
|---|---|
| public int yDirection This field is valid when the | |
| GestureEvent | back to summary |
|---|---|
| public GestureEvent(Event e) Constructs a new instance of this class based on the information in the given untyped event.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Returns a string containing a concise, human-readable description of the receiver. | |