|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.common.intern.ui.UITransmitter<Color,DockColor> bibliothek.gui.dock.common.intern.color.ColorTransmitter bibliothek.gui.dock.common.intern.color.TabColorTransmitter bibliothek.gui.dock.common.intern.color.FlatTabTransmitter
public class FlatTabTransmitter
A ColorBridge
for FlatTheme
used in combination with
CDockable
and its ColorMap
.
Constructor Summary | |
---|---|
FlatTabTransmitter(ColorManager manager)
Creates a new transmitter |
Method Summary | |
---|---|
protected Color |
convert(Color source,
String key)
Changes a background color such that it can be used on a StackDockComponent |
protected Color |
convertFocused(Color source,
String key)
Changes a background color such that it can be used on a StackDockComponent |
protected Color |
convertSelected(Color source,
String key)
Changes a background color such that it can be used on a StackDockComponent |
protected boolean |
isFocused(String id)
Tells whether id represents a color that is used on
focused tabs. |
protected boolean |
isForeground(String id)
Tells whether id represents a color that is used for
the foreground. |
protected boolean |
isSelected(String id)
Tells whether id represents a color that is used on
selected tabs. |
Methods inherited from class bibliothek.gui.dock.common.intern.color.TabColorTransmitter |
---|
get, get, getDockable, update |
Methods inherited from class bibliothek.gui.dock.common.intern.color.ColorTransmitter |
---|
connect, disconnect, getFirstNonNull |
Methods inherited from class bibliothek.gui.dock.common.intern.ui.UITransmitter |
---|
add, remove, set, set, setControl |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.util.UIBridge |
---|
add, remove, set |
Constructor Detail |
---|
public FlatTabTransmitter(ColorManager manager)
manager
- the source for colorsMethod Detail |
---|
protected Color convert(Color source, String key)
TabColorTransmitter
StackDockComponent
convert
in class TabColorTransmitter
source
- the original colorkey
- the key for which the color is needed
protected Color convertSelected(Color source, String key)
TabColorTransmitter
StackDockComponent
convertSelected
in class TabColorTransmitter
source
- the original colorkey
- the key for which the color is needed, can be one of
the selected or focused kind
protected Color convertFocused(Color source, String key)
TabColorTransmitter
StackDockComponent
convertFocused
in class TabColorTransmitter
source
- the original colorkey
- the key for which the color is needed, can only be one
of the focused kind
protected boolean isFocused(String id)
TabColorTransmitter
id
represents a color that is used on
focused tabs.
isFocused
in class TabColorTransmitter
id
- some id
true
if the color is used on focused tabsprotected boolean isForeground(String id)
TabColorTransmitter
id
represents a color that is used for
the foreground.
isForeground
in class TabColorTransmitter
id
- some id
true
if the color is used in the foregroundprotected boolean isSelected(String id)
TabColorTransmitter
id
represents a color that is used on
selected tabs.
isSelected
in class TabColorTransmitter
id
- some id
true
if the color is used on selected tabs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |