sub_arctic.input
Class focus_policy_class

java.lang.Object
  |
  +--sub_arctic.input.input_policy
        |
        +--sub_arctic.input.focus_policy_class
Direct Known Subclasses:
mon_focus_policy_class

public class focus_policy_class
extends input_policy

Focus based input policy. This policy delivers inputs to objects which have previously established themselves as a focus for a given type of input.


Fields inherited from class sub_arctic.input.input_policy
_agent_list
 
Constructor Summary
focus_policy_class()
           
 
Method Summary
 boolean dispatch_event(event evt)
          Attempt to dispatch the event via one of the agents under this policy.
 
Methods inherited from class sub_arctic.input.input_policy
add_agent_after, add_agent_before, agent, num_agents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

focus_policy_class

public focus_policy_class()
Method Detail

dispatch_event

public boolean dispatch_event(event evt)
Attempt to dispatch the event via one of the agents under this policy.
Parameters:
event - evt the event to dispatch
Returns:
boolean whether the event was consumed.
Overrides:
dispatch_event in class input_policy