public class MathUpdateListener extends MathListener implements PsUpdateIf, java.lang.Runnable
PsObject,
PsPanel,
PsUpdateIf| Constructor and Description |
|---|
MathUpdateListener() |
| Modifier and Type | Method and Description |
|---|---|
PsUpdateIf |
getFather()
Get parent and do nothing else.
|
void |
run() |
void |
setParent(PsUpdateIf parent)
Set parent and do nothing else.
|
boolean |
update(java.lang.Object event)
Event handling method in the update mechanism calls handling method
inside Mathematica to process the event.
|
getHandler, getName, setHandler, setNameequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNamepublic PsUpdateIf getFather()
getFather in interface PsUpdateIfsetParent(PsUpdateIf),
update(Object)public void setParent(PsUpdateIf parent)
setParent in interface PsUpdateIfparent - will receive events which this does not handlegetFather(),
update(Object)public boolean update(java.lang.Object event)
Note, currently this method starts a new thread to let Mathematica work asyncronously. If this method is invoked while Mathematica is working then only the last request is used to initiate another Mathematica operation.
update in interface PsUpdateIfevent - carries a lot of informationPsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)public void run()
run in interface java.lang.Runnable"