|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.gui.dock.control.ComponentHierarchyObserver
public class ComponentHierarchyObserver
A class collecting all Component
s which are somehow used on
the Dockable
s in the realm of one DockController
.
A global instance of ComponentHierarchyObserver
can be obtained
through DockController.getComponentHierarchyObserver()
.
Constructor Summary | |
---|---|
ComponentHierarchyObserver(DockController controller)
Creates a new observer. |
Method Summary | |
---|---|
void |
addListener(ComponentHierarchyObserverListener listener)
Adds a listener to this observer. |
Set<Component> |
getComponents()
Gets a Set containing all Component s which are
used on Dockable s known in the realm of the DockController
of this observer. |
DockController |
getController()
Gets the controller in whose realm this observer searches for Component s. |
protected ComponentHierarchyObserverListener[] |
listeners()
Gets an array containing all listeners that are registered at this observer. |
void |
removeListener(ComponentHierarchyObserverListener listener)
Removes a listener from this observer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ComponentHierarchyObserver(DockController controller)
controller
- the controller whose Dockable
s will be observed.Method Detail |
---|
public Set<Component> getComponents()
Set
containing all Component
s which are
used on Dockable
s known in the realm of the DockController
of this observer.
Component
s.public DockController getController()
Component
s.
public void addListener(ComponentHierarchyObserverListener listener)
listener
- the new listener, not null
public void removeListener(ComponentHierarchyObserverListener listener)
listener
- the listener to removeprotected ComponentHierarchyObserverListener[] listeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |