JavaView® v2.00.008

jv.object
Interface PsUpdateIf

All Known Subinterfaces:
PgGeometryIf, PvDisplayIf
All Known Implementing Classes:
PgGeometry_Menu, PjProject, PsDialog, PsMethodMenu, PsObject, PsPanel, MathUpdateListener, PaLSystem

public interface PsUpdateIf

Interface for update mechanism of JavaView. Root object for update mechanism is PsObject, and PsPanel for InfoPanel classes.

Version:
09.02.98, 1.01 revised (kp)
09.02.98, 1.00 created (kp)
Author:
Konrad Polthier
See Also:
PsObject, PsPanel

Method Summary
 PsUpdateIf getFather()
          Get parent and do nothing else.
 java.lang.String getName()
          Get name of instance.
 void setParent(PsUpdateIf parent)
          Set parent and do nothing else.
 boolean update(java.lang.Object event)
          Event handling method in the update mechanism.
 

Method Detail

getName

public java.lang.String getName()
Get name of instance. Name identifies instance when it registers itself as update listener.

getFather

public PsUpdateIf getFather()
Get parent and do nothing else.
See Also:
setParent(PsUpdateIf), update(Object)

setParent

public void setParent(PsUpdateIf parent)
Set parent and do nothing else. Method is implemented by PsObject and PsPanel, and should be called if overwritten.
Parameters:
aParent - will receive events which this does not handle
See Also:
getFather(), update(Object)

update

public boolean update(java.lang.Object event)
Event handling method in the update mechanism. Events not handled will be passed to m_parent or super in this sequence.
Parameters:
event - carries a lot of information
Returns:
true if event has been handled, otherwise false
See Also:
PsObject, getFather(), setParent(PsUpdateIf)

JavaView® v2.00.008

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