Class BasicButtonTitleTransmitter
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.MinimizedButtonColorTransmitter
bibliothek.gui.dock.common.intern.color.BasicButtonTitleTransmitter
- All Implemented Interfaces:
ColorBridge,UIBridge<Color,DockColor>
A transmitter to
BasicButtonDockTitle.- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColorChanges a background color such that it can be used forkey.protected ColorconvertFocused(Color source, String key) Changes a background color such that it can be used forkey.protected ColorconvertSelected(Color source, String key) Changes a background color such that is can be used forkey.protected booleanTells whetheridrepresents a color that is used on focused titles.protected booleanisForeground(String id) Tells whetheridrepresents a color that is used for the foreground.protected booleanisSelected(String id) Tells whetheridrepresents a color that is used on a selected title.Methods inherited from class bibliothek.gui.dock.common.intern.color.MinimizedButtonColorTransmitter
get, get, getDockable, getKeys, updateMethods inherited from class bibliothek.gui.dock.common.intern.color.ColorTransmitter
connect, disconnect, getFirstNonNullMethods inherited from class bibliothek.gui.dock.common.intern.ui.UITransmitter
add, remove, set, set, setControl
-
Constructor Details
-
BasicButtonTitleTransmitter
-
-
Method Details
-
convert
Description copied from class:MinimizedButtonColorTransmitterChanges a background color such that it can be used forkey.- Specified by:
convertin classMinimizedButtonColorTransmitter- Parameters:
source- the original colorkey- the key for which the color is needed- Returns:
- the new color, can be
null
-
convertFocused
Description copied from class:MinimizedButtonColorTransmitterChanges a background color such that it can be used forkey.- Specified by:
convertFocusedin classMinimizedButtonColorTransmitter- Parameters:
source- the original colorkey- the key for which the color is needed, can only be one of the focused kind- Returns:
- the new color, can be
null
-
convertSelected
Description copied from class:MinimizedButtonColorTransmitterChanges a background color such that is can be used forkey.- Specified by:
convertSelectedin classMinimizedButtonColorTransmitter- Parameters:
source- the original colorkey- the key for which the color is needed, can only be one of the selected kind- Returns:
- the new color, can be
null
-
isFocused
Description copied from class:MinimizedButtonColorTransmitterTells whetheridrepresents a color that is used on focused titles.- Specified by:
isFocusedin classMinimizedButtonColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used on focused buttons
-
isForeground
Description copied from class:MinimizedButtonColorTransmitterTells whetheridrepresents a color that is used for the foreground.- Specified by:
isForegroundin classMinimizedButtonColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used in the foreground
-
isSelected
Description copied from class:MinimizedButtonColorTransmitterTells whetheridrepresents a color that is used on a selected title.- Specified by:
isSelectedin classMinimizedButtonColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used on a selected button
-