sub_arctic.input
Class raw_positional_agent
java.lang.Object
|
+--sub_arctic.input.dispatch_agent
|
+--sub_arctic.input.raw_positional_agent
- public class raw_positional_agent
- extends dispatch_agent
Positional input dispatch agent that delivers raw events. This can be
used as a hook for extensions. This agent dispatches the raw_input_acceptor
protocol to objects under the cursor at the time of the event.
- See Also:
raw_input_acceptor
Field Summary |
protected java.lang.reflect.Method |
raw_input
Keep a handle on the dispatch function of raw_input_acceptor. |
Method Summary |
boolean |
dispatch_event(event evt,
java.lang.Object user_info,
interactor to_obj,
int seq_num)
Attempt to dispatch a raw event from this agent. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
raw_input
protected java.lang.reflect.Method raw_input
- Keep a handle on the dispatch function of raw_input_acceptor.
raw_positional_agent
public raw_positional_agent()
- Simple constructor
dispatch_event
public boolean dispatch_event(event evt,
java.lang.Object user_info,
interactor to_obj,
int seq_num)
- Attempt to dispatch a raw event from this agent.
- Parameters:
event
- evt the event being dispatched.Object
- user_info the information associated with this object at
the time it was picked.interactor
- to_obj the object we attempt to send the event to.int
- seq_num the sequence number of the event.- Overrides:
- dispatch_event in class dispatch_agent