bibliothek.gui.dock.component
Class DefaultDockStationComponentRootHandler
java.lang.Object
bibliothek.gui.dock.component.DockComponentRootHandler
bibliothek.gui.dock.component.DefaultDockStationComponentRootHandler
public class DefaultDockStationComponentRootHandler
- extends DockComponentRootHandler
This root handler stops traversing Components when discovering a DockableDisplayer
- Author:
- Benjamin Sigg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultDockStationComponentRootHandler
public DefaultDockStationComponentRootHandler(DockComponentRoot root,
DisplayerCollection displayers)
- Creates a new handler.
- Parameters:
root - the components represented by this, not nulldisplayers - all the DockableDisplayers, not null
shouldTraverse
protected DockComponentRootHandler.TraverseResult shouldTraverse(Component component)
- Description copied from class:
DockComponentRootHandler
- Tells whether
component should be visited and configured.
- Specified by:
shouldTraverse in class DockComponentRootHandler
- Parameters:
component - the component to check
- Returns:
- the exact behavior for
component