public class BasicButtonTitleTransmitter extends MinimizedButtonColorTransmitter
BasicButtonDockTitle
.Constructor and Description |
---|
BasicButtonTitleTransmitter(ColorManager manager) |
Modifier and Type | Method and Description |
---|---|
protected java.awt.Color |
convert(java.awt.Color source,
java.lang.String key)
Changes a background color such that it can be used for
key . |
protected java.awt.Color |
convertFocused(java.awt.Color source,
java.lang.String key)
Changes a background color such that it can be used for
key . |
protected java.awt.Color |
convertSelected(java.awt.Color source,
java.lang.String key)
Changes a background color such that is can be used for
key . |
protected boolean |
isFocused(java.lang.String id)
Tells whether
id represents a color that is used on
focused titles. |
protected boolean |
isForeground(java.lang.String id)
Tells whether
id represents a color that is used for
the foreground. |
protected boolean |
isSelected(java.lang.String id)
Tells whether
id represents a color that is used
on a selected title. |
get, get, getDockable, getKeys, update
connect, disconnect, getFirstNonNull
add, remove, set, set, setControl
public BasicButtonTitleTransmitter(ColorManager manager)
protected java.awt.Color convert(java.awt.Color source, java.lang.String key)
MinimizedButtonColorTransmitter
key
.convert
in class MinimizedButtonColorTransmitter
source
- the original colorkey
- the key for which the color is needednull
protected java.awt.Color convertFocused(java.awt.Color source, java.lang.String key)
MinimizedButtonColorTransmitter
key
.convertFocused
in class MinimizedButtonColorTransmitter
source
- the original colorkey
- the key for which the color is needed, can only be one
of the focused kindnull
protected java.awt.Color convertSelected(java.awt.Color source, java.lang.String key)
MinimizedButtonColorTransmitter
key
.convertSelected
in class MinimizedButtonColorTransmitter
source
- the original colorkey
- the key for which the color is needed, can only
be one of the selected kindnull
protected boolean isFocused(java.lang.String id)
MinimizedButtonColorTransmitter
id
represents a color that is used on
focused titles.isFocused
in class MinimizedButtonColorTransmitter
id
- some idtrue
if the color is used on focused buttonsprotected boolean isForeground(java.lang.String id)
MinimizedButtonColorTransmitter
id
represents a color that is used for
the foreground.isForeground
in class MinimizedButtonColorTransmitter
id
- some idtrue
if the color is used in the foregroundprotected boolean isSelected(java.lang.String id)
MinimizedButtonColorTransmitter
id
represents a color that is used
on a selected title.isSelected
in class MinimizedButtonColorTransmitter
id
- some idtrue
if the color is used on a selected button