bibliothek.gui.dock.themes.color
Class MultiColorBridgeFactory

java.lang.Object
  extended by bibliothek.gui.dock.themes.color.MultiColorBridgeFactory
All Implemented Interfaces:
ColorBridgeFactory

public class MultiColorBridgeFactory
extends Object
implements ColorBridgeFactory

A factory for a MultiUIBridge, this factory can contain other factories to fill up the new MultiUIBridge.

Author:
Benjamin Sigg

Constructor Summary
MultiColorBridgeFactory()
           
 
Method Summary
 MultiColorBridge create(ColorManager manager)
          Creates a new bridge for manager.
 void put(String key, ColorBridgeFactory bridge)
          Sets the factory of a child of the MultiUIBridge which will be created by this factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiColorBridgeFactory

public MultiColorBridgeFactory()
Method Detail

put

public void put(String key,
                ColorBridgeFactory bridge)
Sets the factory of a child of the MultiUIBridge which will be created by this factory.

Parameters:
key - the name of the child
bridge - the child or null

create

public MultiColorBridge create(ColorManager manager)
Description copied from interface: ColorBridgeFactory
Creates a new bridge for manager.

Specified by:
create in interface ColorBridgeFactory
Parameters:
manager - the manager which will use the bridge
Returns:
the new bridge