bibliothek.gui.dock.support.lookandfeel
Class SingleComponentCollector

java.lang.Object
  extended by bibliothek.gui.dock.support.lookandfeel.SingleComponentCollector
All Implemented Interfaces:
ComponentCollector

public class SingleComponentCollector
extends java.lang.Object
implements ComponentCollector

A simple implementation of ComponentCollector that just returns always the same Component.

Author:
Benjamin Sigg

Constructor Summary
SingleComponentCollector(java.awt.Component component)
           
 
Method Summary
 java.util.Collection<java.awt.Component> listComponents()
          Gets a set of roots of Component-trees in order to update the look and feel of the Components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SingleComponentCollector

public SingleComponentCollector(java.awt.Component component)
Method Detail

listComponents

public java.util.Collection<java.awt.Component> listComponents()
Description copied from interface: ComponentCollector
Gets a set of roots of Component-trees in order to update the look and feel of the Components.

Specified by:
listComponents in interface ComponentCollector
Returns:
the roots