|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Abstract interface to take mouse events and process them for a navigation response.
| Method Summary | |
void |
mouseDragged(java.awt.event.MouseEvent evt)
Process a mouse drag event to change the current movement value from the previously set value to the new value |
void |
mousePressed(java.awt.event.MouseEvent evt)
Process a mouse press and set the behavior running. |
void |
mouseReleased(java.awt.event.MouseEvent evt)
Process a mouse release to return all the values back to normal. |
void |
setButtonNavigation(int button,
int state)
Set the ability to use a given state within the handler for a specific mouse button (up to 3). |
void |
setNavigationStateListener(NavigationStateListener l)
Set the listener for navigation state change notifications. |
| Method Detail |
public void setButtonNavigation(int button,
int state)
button - The mouse button value from
MouseEventstate - The navigation state to use for that buttonpublic void setNavigationStateListener(NavigationStateListener l)
l - The listener to use for change updatespublic void mousePressed(java.awt.event.MouseEvent evt)
evt - The event that caused this method to be calledpublic void mouseDragged(java.awt.event.MouseEvent evt)
evt - The event that caused this method to be calledpublic void mouseReleased(java.awt.event.MouseEvent evt)
evt - The event that caused this method to be called
|
j3d.org Code | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||