public class BubbleButtonTitleTransmitter extends MinimizedButtonColorTransmitter
BubbleTheme.| Constructor and Description |
|---|
BubbleButtonTitleTransmitter(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 Color |
convertSelected(Color source,
String key)
Changes a background color such that is can be used for
key. |
protected boolean |
isFocused(String id)
Tells whether
id represents a color that is used on
focused titles. |
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 a selected title. |
get, get, getDockable, getKeys, updateconnect, disconnect, getFirstNonNulladd, remove, set, set, setControlpublic BubbleButtonTitleTransmitter(ColorManager manager)
manager - the manager of all colorsprotected Color convert(Color source, String key)
MinimizedButtonColorTransmitterkey.convert in class MinimizedButtonColorTransmittersource - the original colorkey - the key for which the color is needednullprotected Color convertFocused(Color source, String key)
MinimizedButtonColorTransmitterkey.convertFocused in class MinimizedButtonColorTransmittersource - the original colorkey - the key for which the color is needed, can only be one
of the focused kindnullprotected Color convertSelected(Color source, String key)
MinimizedButtonColorTransmitterkey.convertSelected in class MinimizedButtonColorTransmittersource - the original colorkey - the key for which the color is needed, can only
be one of the selected kindnullprotected boolean isFocused(String id)
MinimizedButtonColorTransmitterid represents a color that is used on
focused titles.isFocused in class MinimizedButtonColorTransmitterid - some idtrue if the color is used on focused buttonsprotected boolean isForeground(String id)
MinimizedButtonColorTransmitterid represents a color that is used for
the foreground.isForeground in class MinimizedButtonColorTransmitterid - some idtrue if the color is used in the foregroundprotected boolean isSelected(String id)
MinimizedButtonColorTransmitterid represents a color that is used
on a selected title.isSelected in class MinimizedButtonColorTransmitterid - some idtrue if the color is used on a selected buttonCopyright © 2018. All rights reserved.