public class BubbleTitleTransmitter extends TitleColorTransmitter
BubbleTheme
-title and the ColorMap
.Constructor and Description |
---|
BubbleTitleTransmitter(ColorManager manager)
Creates a new transmitter.
|
Modifier and Type | Method and Description |
---|---|
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. |
get, get, getDockable, getKeys, update
connect, disconnect, getFirstNonNull
add, remove, set, set, setControl
public BubbleTitleTransmitter(ColorManager manager)
manager
- the source of colorsprotected Color convert(Color source, String key)
TitleColorTransmitter
key
.convert
in class TitleColorTransmitter
source
- the original colorkey
- the key for which the color is needednull
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 kindnull
protected boolean isFocused(String id)
TitleColorTransmitter
id
represents a color that is used on
focused tabs.isFocused
in class TitleColorTransmitter
id
- some idtrue
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 idtrue
if the color is used in the foreground