public class ComponentHierarchyObserverEvent
extends java.lang.Object
Component
s have been added or removed from
a ComponentHierarchyObserver
.Constructor and Description |
---|
ComponentHierarchyObserverEvent(DockController source,
java.util.List<java.awt.Component> components)
Creates a new event
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.awt.Component> |
getComponents()
Gets a list that contains all the components that were added or removed.
|
DockController |
getSource()
Gets the source of the event.
|
public ComponentHierarchyObserverEvent(DockController source, java.util.List<java.awt.Component> components)
source
- the source of the eventcomponents
- the components that have been added or removedpublic DockController getSource()
public java.util.List<java.awt.Component> getComponents()