jvx.math
Class MathUpdateListener
java.lang.Object
|
+--jvx.math.MathListener
|
+--jvx.math.MathUpdateListener
- All Implemented Interfaces:
- PsUpdateIf, java.lang.Runnable
- public class MathUpdateListener
- extends MathListener
- implements PsUpdateIf, java.lang.Runnable
Listener for update mechanism of JavaView to invoke Mathematica commands.
The event contains information about the change JavaView object,
often it contains the changed object.
- Version:
- 27.07.00, 1.00 revised (kp)
27.07.00, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
PsObject,
PsPanel,
PsUpdateIf
|
Field Summary |
protected PsUpdateIf |
m_parent
Parent of this listener who will be updated after Mathematica method
has been invoked. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_parent
protected PsUpdateIf m_parent
- Parent of this listener who will be updated after Mathematica method
has been invoked.
MathUpdateListener
public MathUpdateListener()
getFather
public PsUpdateIf getFather()
- Get parent and do nothing else.
- Specified by:
getFather in interface PsUpdateIf
- See Also:
setParent(PsUpdateIf),
update(Object)
setParent
public void setParent(PsUpdateIf parent)
- Set parent and do nothing else.
- Specified by:
setParent in interface PsUpdateIf
- Parameters:
aParent - will receive events which this does not handle- See Also:
getFather(),
update(Object)
update
public boolean update(java.lang.Object event)
- Description copied from interface:
PsUpdateIf
- Event handling method in the update mechanism.
Events not handled will be passed to m_parent or super in this
sequence.
- Specified by:
update in interface PsUpdateIf
- Following copied from interface:
jv.object.PsUpdateIf
- Parameters:
event - carries a lot of information- Returns:
- true if event has been handled, otherwise false
- See Also:
PsObject,
PsUpdateIf.getFather(),
PsUpdateIf.setParent(PsUpdateIf)
run
public void run()
- Specified by:
run in interface java.lang.Runnable
The software JavaView® is copyright protected. All Rights Reserved.