|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.taursys.xml.event.Dispatcher
com.taursys.xml.event.TriggerDispatcher
TriggerDispatcher is Dispatcher of TriggerEvents
| Field Summary |
| Fields inherited from class com.taursys.xml.event.Dispatcher |
components, map |
| Constructor Summary | |
TriggerDispatcher()
Constructs a new TriggerDispatcher |
|
| Method Summary | |
void |
dispatchToComponent(Component c)
Dispatches a TriggerEvent to the given component. |
| Methods inherited from class com.taursys.xml.event.Dispatcher |
addNotify, dispatch, dispatch, dispatch, getIndex, getParameter, getParentDispatcher, getParentIndex, incrementIndex, removeNotify, resetIndex, setParentDispatcher |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TriggerDispatcher()
| Method Detail |
public void dispatchToComponent(Component c)
throws java.lang.Exception
Dispatches a TriggerEvent to the given component.
If the given Component is a Container,
a TriggerEvent with the entire value map is dispatched.
If the given Component is a Trigger then
normal dispatching occurs (see following). If the given
Component is neither of the above two types, then no
dispatching occurs.
The Trigger will only be dispatched its own input as
specified by its parameter property. If the Trigger's
parameter is present, then the event will contain that value.
If the parameter is NOT present, AND the Trigger's
isDefaultTrigger is true, then the event will contain the
getText value. If the parameter is NOT present
and isDefaultTrigger is false, no event will be dispatched.
dispatchToComponent in class Dispatcherc - the Component to dispatch to
java.lang.Exception - from the components dispatchEvent method
if occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||