bibliothek.gui.dock.common.theme.color
Interface CColorBridgeExtension


@ClientOnly
public interface CColorBridgeExtension

This extension is used by a CDockTheme to add additional ColorBridges.

Author:
Benjamin Sigg

Field Summary
static Path EXTENSION_NAME
          The name of this extension.
static String PARAMETER_NAME
          The name of the parameter that links to the CDockTheme that uses this factory
 
Method Summary
 CColorBridge create(CControl control, ColorManager manager)
          Creates a new bridge for manager.
 Path getKey()
          Gets the name of the bridge, e.g. an extension that modifies the colors of a tab would return TabColor.KIND_TAB_COLOR.
 

Field Detail

EXTENSION_NAME

static final Path EXTENSION_NAME
The name of this extension.


PARAMETER_NAME

static final String PARAMETER_NAME
The name of the parameter that links to the CDockTheme that uses this factory

See Also:
Constant Field Values
Method Detail

getKey

Path getKey()
Gets the name of the bridge, e.g. an extension that modifies the colors of a tab would return TabColor.KIND_TAB_COLOR.

Returns:
the name, not null

create

CColorBridge create(CControl control,
                    ColorManager manager)
Creates a new bridge for manager.

Parameters:
control - the control in whose realm the bridge will be used
manager - the manager which will use the bridge
Returns:
the new bridge