bibliothek.gui.dock.themes.color
Class MultiColorProviderFactory<D extends DockColor>
java.lang.Object
bibliothek.gui.dock.themes.color.MultiColorProviderFactory<D>
- Type Parameters:
D
- the kind of DockColor
s the created UIBridge
will handle
- All Implemented Interfaces:
- ColorProviderFactory<D,MultiUIBridge<Color,D>>
public class MultiColorProviderFactory<D extends DockColor>
- extends Object
- implements ColorProviderFactory<D,MultiUIBridge<Color,D>>
A factory for a MultiUIBridge
, this factory can contain other
factories to fill up the new MultiUIBridge
.
- Author:
- Benjamin Sigg
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiColorProviderFactory
public MultiColorProviderFactory()
put
public void put(String key,
ColorProviderFactory<? super D,? extends UIBridge<Color,D>> provider)
- Sets the factory of a child of the
MultiUIBridge
which will
be created by this factory.
- Parameters:
key
- the name of the childprovider
- the child or null
create
public MultiUIBridge<Color,D> create(ColorManager manager)
- Description copied from interface:
ColorProviderFactory
- Creates a new provider for
manager
.
- Specified by:
create
in interface ColorProviderFactory<D extends DockColor,MultiUIBridge<Color,D extends DockColor>>
- Parameters:
manager
- the manager which will use the UIBridge
.
- Returns:
- the new provider