|
||||||||||
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.TitleColorTransmitter bibliothek.gui.dock.common.intern.color.FlatTitleTransmitter
public class FlatTitleTransmitter
A connection between a FlatTheme
-title and the ColorMap
.
Constructor Summary | |
---|---|
FlatTitleTransmitter(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 for key . |
protected Color |
convertFocused(Color source,
String key)
Changes a background color such that it can be used for key . |
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. |
Methods inherited from class bibliothek.gui.dock.common.intern.color.TitleColorTransmitter |
---|
get, get, getDockable, getKeys, 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 FlatTitleTransmitter(ColorManager manager)
manager
- the source of colorsMethod Detail |
---|
protected Color convert(Color source, String key)
TitleColorTransmitter
key
.
convert
in class TitleColorTransmitter
source
- the original colorkey
- the key for which the color is needed
null
protected Color convertFocused(Color source, String key)
TitleColorTransmitter
key
.
convertFocused
in class TitleColorTransmitter
source
- the original colorkey
- the key for which the color is needed, can only be one
of the focused kind
null
protected boolean isFocused(String id)
TitleColorTransmitter
id
represents a color that is used on
focused tabs.
isFocused
in class TitleColorTransmitter
id
- some id
true
if the color is used on focused tabsprotected boolean isForeground(String id)
TitleColorTransmitter
id
represents a color that is used for
the foreground.
isForeground
in class TitleColorTransmitter
id
- some id
true
if the color is used in the foreground
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |