|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for update mechanism of JavaView.
Root object for update mechanism is PsObject,
and PsPanel for InfoPanel classes.
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 |
public java.lang.String getName()
public PsUpdateIf getFather()
Historical note: previous to Java 1.1 this method was called getParent() in JavaView, but in Java 1.1 a method with same name was introduced in java.awt.Component which prevented us to continue to this method in any of our subclasses of AWT components. In order to be consistent, the JavaView method getParent() was replaced with getFather() everywhere. Since that time JavaView uses the pair setParent/getFather, and lives quite well with that.
setParent(PsUpdateIf),
update(Object)public void setParent(PsUpdateIf parent)
parent - will receive events which this does not handlegetFather(),
update(Object)public boolean update(java.lang.Object event)
event - carries a lot of information
PsObject,
getFather(),
setParent(PsUpdateIf)
|
JavaView© v3.95.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||