public interface Component extends IUpdateable
The Component interface is the base for all shared operations in the UpdateableComposite package's classes. These operations must be implemented by all classes that realize either Component or Composite. Components are also observable and realizations of IComponentListener can be registered with Components to receive updates when the state of the Component changes.
Modifier and Type | Field and Description |
---|---|
static java.util.ArrayList<IComponentVisitor> |
iComponentVisitor |
iComponentListener
Modifier and Type | Method and Description |
---|---|
void |
accept(IComponentVisitor visitor)
This operation directs the Component to call back to an IComponentVisitor
so that the visitor can perform its required actions for the exact type
of the Component.
|
register, unregister, update
clone, equals, getDescription, getId, getName, hashCode, setDescription, setId, setName
static final java.util.ArrayList<IComponentVisitor> iComponentVisitor
void accept(IComponentVisitor visitor)
This operation directs the Component to call back to an IComponentVisitor so that the visitor can perform its required actions for the exact type of the Component.
visitor
- The visitor