|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.inria.ketuk.ScriptEventProcessor
A processor for scripts invoked at runtime
Constructor Summary | |
ScriptEventProcessor()
|
Method Summary | |
void |
processEvent(javax.swing.event.DocumentEvent evt)
Delegates the execution of the script to xbmapper when a documentEvent is received |
void |
processEvent(javax.swing.event.DocumentEvent evt,
java.lang.String filter)
Delegates the execution of the script to xbmapper |
void |
processEvent(java.util.EventObject evt)
Delegates the execution of the script to xbmapper when an eventObject is received |
void |
processEvent(java.util.EventObject evt,
java.lang.String filter)
Delegates the execution of the script to xbmapper |
void |
processEvent(java.beans.PropertyChangeEvent evt,
java.lang.String propertyName)
Delegates the execution of the script to xbmapper |
static void |
register(java.lang.Object beanObject,
org.w3c.dom.Element scriptElement,
java.util.Hashtable registeredBeans,
java.lang.Object xbmapper,
java.net.URL contextURL)
Register a bean with its associated script element |
static void |
register(java.lang.Object beanObject,
org.w3c.dom.Element scriptElement,
java.util.Hashtable registeredBeans,
java.lang.Object xbmapper,
java.net.URL contextURL,
java.lang.String filter)
Register a bean with its associated script element |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ScriptEventProcessor()
Method Detail |
public static void register(java.lang.Object beanObject, org.w3c.dom.Element scriptElement, java.util.Hashtable registeredBeans, java.lang.Object xbmapper, java.net.URL contextURL)
beanObject
- the source beanscriptElement
- the script associated with the beanregisteredBeans
- the list of registered beans at
the time of the declaration of the scriptxbmapper
- the xbmapper to usecontextURL
- the currentUrl at the time of the
declaration of the scriptpublic static void register(java.lang.Object beanObject, org.w3c.dom.Element scriptElement, java.util.Hashtable registeredBeans, java.lang.Object xbmapper, java.net.URL contextURL, java.lang.String filter)
beanObject
- the source beanscriptElement
- the script associated with the beanregisteredBeans
- the list of registered beans at
the time of the declaration of the scriptxbmapper
- the xbmapper to usecontextURL
- the currentUrl at the time of the
declaration of the scriptfilter
- a data used to filter the eventspublic void processEvent(java.util.EventObject evt)
public void processEvent(javax.swing.event.DocumentEvent evt)
public void processEvent(java.util.EventObject evt, java.lang.String filter)
public void processEvent(javax.swing.event.DocumentEvent evt, java.lang.String filter)
public void processEvent(java.beans.PropertyChangeEvent evt, java.lang.String propertyName)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |