uic.model
Interface UICSimpleAction.ExecutePolicy

All Known Implementing Classes:
UICSimpleAction.DirectPolicy, UICSimpleAction.OnlyLastPolicy, UICSimpleAction.QueuedPolicy, UICSimpleAction.SimpleQueuedPolicy
Enclosing interface:
UICSimpleAction

public static interface UICSimpleAction.ExecutePolicy

Each action that is called 'execute()' on will be executed according to policy. Each action will have a policy set; that policy will be used on execution of that action to determine what will happen next.


Method Summary
 void schedule(UICSimpleAction action, Object eventSource)
          schedule an action according to policy.
 

Method Detail

schedule

public void schedule(UICSimpleAction action,
                     Object eventSource)
schedule an action according to policy.

Parameters:
action - the action to be scheduled.
eventSource - the source object that came with an optional event that caused this action to be executed.


Copyright © 2002,2003 Thomas Zander Available under the Free Apache licence