Package com.adobe.xfa
Class EventManager
java.lang.Object
com.adobe.xfa.EventManager
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classEventID classstatic final classRepresents a collection of Dispatchers associated with a particular Obj. -
Method Summary
Modifier and TypeMethodDescriptionbooleancancelAction(String sAction) booleancancelEvent(String sEvent) booleaneventOccurred(int nEventID, Obj object) eventOccurred informs the event manager that a particular event has occurred.intgetEventID(String sEventName) return an ID for a event namegetEventIDByIndex(int nIndex) voidregisterEvents(Dispatcher dispatcher) voidreset()static voidresetEventTable(EventManager.EventTable eventTable) Reset an event table
-
Method Details
-
resetEventTable
Reset an event table- Parameters:
eventTable- the event table to reset
-
cancelAction
-
cancelEvent
-
eventOccurred
eventOccurred informs the event manager that a particular event has occurred. For each entry in mRegisteredEvents, if all required events have occurred, the corresponding node will have its attached script invoked. If object is not null, only events registered with that particular object will be considered.- Returns:
trueif the event was dispatched to one or more listeners.
-
getEventID
return an ID for a event name- Parameters:
sEventName-
-
getEventIDByIndex
-
registerEvents
-
reset
public void reset()
-