|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.theme.color.ExtendedColorBridge
@FrameworkOnly public class ExtendedColorBridge
This ColorBridge
uses a delegate and applies a set of CColorBridge
s.
Constructor Summary | |
---|---|
ExtendedColorBridge(ColorBridge bridge,
CColorBridge[] extensions)
Creates a new bridge. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExtendedColorBridge(ColorBridge bridge, CColorBridge[] extensions)
bridge
- the delegateextensions
- the extensions that are asked firstMethod Detail |
---|
public void add(String id, DockColor uiValue)
UIBridge
UIValue
that gets its resource from this bridge.
add
in interface UIBridge<Color,DockColor>
id
- the id of the resource the new value needsuiValue
- a value that can be modified by this bridepublic void remove(String id, DockColor uiValue)
UIBridge
remove
in interface UIBridge<Color,DockColor>
id
- the id of the resource the value neededuiValue
- the value that is no longer in usepublic 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
.
set
in interface UIBridge<Color,DockColor>
id
- the identifier of the resourcevalue
- the new resource, can be null
uiValue
- the value that is affected by the change
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |