JavaView® v2.12

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

Constructor Summary
MathUpdateListener()
           
 
Method Summary
 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.
 
Methods inherited from class jvx.math.MathListener
getHandler, getName, setHandler, setName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jv.object.PsUpdateIf
getName
 

Constructor Detail

MathUpdateListener

public MathUpdateListener()
Method Detail

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

JavaView® v2.12

The software JavaView® is copyright protected. All Rights Reserved.