T - component type to registerA - message type to use in registration processpublic interface RootComponent<T,A>
| Modifier and Type | Method and Description |
|---|---|
void |
addComponent(T component)
Add a component, this does not fully register the component.
|
ComponentHandler<T,A> |
getComponentHandler()
Returns component handler to handle initialization and reassignment of
subcomponents.
|
void |
initComponents(A message)
Handles initialization of subcomponents.
|
void |
registerComponent(T component)
Register the component at the listener.
|
void |
removeAllCompnents()
Remove all component when perspective is shut down.
|
void |
unregisterComponent(T component)
Unregister component from current perspective.
|
void registerComponent(T component)
component, - the component to register.void addComponent(T component)
component, - the component to add.void unregisterComponent(T component)
component, - the component to unregister.void removeAllCompnents()
void initComponents(A message)
message, - the initial messageComponentHandler<T,A> getComponentHandler()