ilog.cpl.interactor
Interface IlpActionEventFactory


public interface IlpActionEventFactory

This interface represents a factory used to create action events.

An action event is created when a gesture has been recognized and has an associated action. The created ActionEvent will be passed to the action when it is triggered.

Since:
JTGO 4.0
See Also:
IlpAbstractInteractor.setActionEventFactory(ilog.cpl.interactor.IlpActionEventFactory), IlpAbstractInteractor.createActionEvent(ilog.cpl.interactor.IlpInteractionContext, ilog.cpl.interactor.IlpInteractionState, int)

Method Summary
 ActionEvent create(Action action, IlpInteractionContext ctxt, IlpInteractionState state, int modifiers)
          Returns an action event.
 

Method Detail

create

ActionEvent create(Action action,
                   IlpInteractionContext ctxt,
                   IlpInteractionState state,
                   int modifiers)
Returns an action event.

This method is called whenever a gesture has been recognized and has an associated action. The created ActionEvent will be passed to the action when it is triggered.

Parameters:
action - The action that is about to be triggered.
ctxt - The context where the event occurred.
state - The state of the interaction.
modifiers - The modifiers associated with the recognized gesture.
Since:
JTGO 4.0
See Also:
IlpAbstractInteractor.createActionEvent(ilog.cpl.interactor.IlpInteractionContext, ilog.cpl.interactor.IlpInteractionState, int)


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.