public interface PsUpdateIf
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String getName()
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)
void setParent(PsUpdateIf parent)
parent
- will receive events which this
does not handlegetFather()
,
update(Object)
boolean update(java.lang.Object event)
event
- carries a lot of informationPsObject
,
getFather()
,
setParent(PsUpdateIf)
"