|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.spacenav.SpaceNavEvent
net.sf.spacenav.SpaceNavButtonEvent
public class SpaceNavButtonEvent
This class represents a SpaceNav button event.
Constructor Summary | |
---|---|
SpaceNavButtonEvent(int button,
boolean pressed)
Create a new SpaceNavButtonEvent |
Method Summary | |
---|---|
int |
getButton()
Get the number of the button. |
boolean |
isPressed()
Was the button pressed or released? |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpaceNavButtonEvent(int button, boolean pressed)
button
- button-numberpressed
- pressed (true) or released (false)Method Detail |
---|
public boolean isPressed()
public int getButton()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |