|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is an input protocol interface useful for performing actions on the interface when the mouse enters or leaves an object.
Warning: This protocol is based on the various mouse events that are dispatched by the system. If you modify an interface based on other types of events (e.g. animation), the pointable interface's mouse_exit() call will not be made immediately. In particular, such a call will not be made until the next mouse event is processed.
Method Summary | |
boolean |
mouse_enter(event evt,
java.lang.Object user_info)
This method is called when the pointer enters you area and when no other agent has dispatched the event. |
boolean |
mouse_exit(event evt,
java.lang.Object user_info)
This method is called when the pointer leaves your area. |
Method Detail |
public boolean mouse_enter(event evt, java.lang.Object user_info)
event
- evt the event to dispatchObject
- user_info the object you passed to the pick_collector
at pick_timepublic boolean mouse_exit(event evt, java.lang.Object user_info)
The user_info here is cached and is the same value that was passed to you at the time we called mouse_enter. Since the mouse exit command is called when you are not picked, its not clear what else to do for user_info.
event
- evt the event to dispatch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |