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.
 
Constructor Summary
raw_positional_agent()
          Simple constructor
 
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 sub_arctic.input.dispatch_agent
after_dispatch_notify, dispatch_unused_event, event_is_useful
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

raw_input

protected java.lang.reflect.Method raw_input
Keep a handle on the dispatch function of raw_input_acceptor.
Constructor Detail

raw_positional_agent

public raw_positional_agent()
Simple constructor
Method Detail

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