|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NavigationMouseProcessor
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 |
---|
void setButtonNavigation(int button, int state)
button
- The mouse button value from
MouseEvent
state
- The navigation state to use for that buttonvoid setNavigationStateListener(NavigationStateListener l)
l
- The listener to use for change updatesvoid mousePressed(java.awt.event.MouseEvent evt)
evt
- The event that caused this method to be calledvoid mouseDragged(java.awt.event.MouseEvent evt)
evt
- The event that caused this method to be calledvoid 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 |