bibliothek.gui.dock.themes.color
Class SingleColorBridgeFactory
java.lang.Object
bibliothek.gui.dock.themes.color.SingleColorBridgeFactory
- All Implemented Interfaces:
- ColorBridgeFactory
public class SingleColorBridgeFactory
- extends Object
- implements ColorBridgeFactory
A ColorBridgeFactory that always returns the same instance
of ColorBridge.
- Author:
- Benjamin Sigg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleColorBridgeFactory
public SingleColorBridgeFactory(ColorBridge bridge)
- Creates a new factory.
- Parameters:
bridge - the provider which will be returned at create(ColorManager)
create
public ColorBridge 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