@FrameworkOnly public class ExtendedColorBridge extends Object implements ColorBridge
ColorBridge
uses a delegate and applies a set of CColorBridge
s.Constructor and Description |
---|
ExtendedColorBridge(ColorBridge bridge,
CColorBridge[] extensions)
Creates a new bridge.
|
Modifier and Type | Method and Description |
---|---|
void |
add(String id,
DockColor uiValue)
Adds a new
UIValue that gets its resource from this bridge. |
void |
remove(String id,
DockColor uiValue)
Removes a value from this bridge.
|
void |
set(String id,
Color value,
DockColor uiValue)
Called by the
UIProperties when one resource or UIValue
has been exchanged. |
public ExtendedColorBridge(ColorBridge bridge, CColorBridge[] extensions)
bridge
- the delegateextensions
- the extensions that are asked firstpublic void add(String id, DockColor uiValue)
UIBridge
UIValue
that gets its resource from this bridge.public void remove(String id, DockColor uiValue)
UIBridge
public void set(String id, Color value, DockColor uiValue)
UIBridge
UIProperties
when one resource or UIValue
has been exchanged. Normally an UIBridge
can just
call UIValue.set(Object)
with the argument value
.UIValue
that was not added
to this UIBridge
.