|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.globalmentor.model.AbstractHashObject
com.guiseframework.input.AbstractGestureInput
com.guiseframework.input.AbstractMouseInput
com.guiseframework.input.MouseClickInput
public class MouseClickInput
An encapsulation of mouse click input.
| Constructor Summary | |
|---|---|
MouseClickInput(MouseButton button,
int count,
Key... keys)
Button and keys constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object object)
Determines if this object equals another object. |
MouseButton |
getButton()
The button that was clicked. |
int |
getCount()
|
int |
hashCode()
Returns the hash code of this object. |
java.lang.String |
toString()
|
| Methods inherited from class com.guiseframework.input.AbstractGestureInput |
|---|
getKeys, hasAltKey, hasControlKey, hasShiftKey |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.guiseframework.input.GestureInput |
|---|
getKeys, hasAltKey, hasControlKey, hasShiftKey |
| Constructor Detail |
|---|
public MouseClickInput(MouseButton button,
int count,
Key... keys)
count - The number of clicks that were input (e.g. 1 for a single click, 2 for a double click, etc.).keys - The keys that were pressed when this input occurred.
java.lang.NullPointerException - if the given button and/or keys is null.
java.lang.IllegalArgumentException - if the given count is zero or less.| Method Detail |
|---|
public MouseButton getButton()
public int getCount()
public int hashCode()
hashCode in class com.globalmentor.model.AbstractHashObjectpublic boolean equals(java.lang.Object object)
equals in class com.globalmentor.model.AbstractHashObjectobject - The object to compare with this object.
true if the given object is considered equal to this object.public java.lang.String toString()
toString in class com.globalmentor.model.AbstractHashObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||