Package com.adobe.xfa
Class EventManager
- java.lang.Object
 - 
- com.adobe.xfa.EventManager
 
 
- 
public class EventManager extends java.lang.Object 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEventManager.EventIDEventID classstatic classEventManager.EventTableRepresents a collection of Dispatchers associated with a particular Obj. 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancelAction(java.lang.String sAction)booleancancelEvent(java.lang.String sEvent)booleaneventOccurred(int nEventID, Obj object)eventOccurred informs the event manager that a particular event has occurred.intgetEventID(java.lang.String sEventName)return an ID for a event nameEventManager.EventIDgetEventIDByIndex(int nIndex)voidregisterEvents(Dispatcher dispatcher)voidreset()static voidresetEventTable(EventManager.EventTable eventTable)Reset an event table 
 - 
 
- 
- 
Method Detail
- 
resetEventTable
public static void resetEventTable(EventManager.EventTable eventTable)
Reset an event table- Parameters:
 eventTable- the event table to reset
 
- 
cancelAction
public boolean cancelAction(java.lang.String sAction)
 
- 
cancelEvent
public boolean cancelEvent(java.lang.String sEvent)
 
- 
eventOccurred
public boolean eventOccurred(int nEventID, Obj object)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
public int getEventID(java.lang.String sEventName)
return an ID for a event name- Parameters:
 sEventName-
 
- 
getEventIDByIndex
public EventManager.EventID getEventIDByIndex(int nIndex)
 
- 
registerEvents
public void registerEvents(Dispatcher dispatcher)
 
- 
reset
public void reset()
 
 - 
 
 -