Class FlatTabTransmitter
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.TabColorTransmitter
bibliothek.gui.dock.common.intern.color.FlatTabTransmitter
- All Implemented Interfaces:
ColorBridge,UIBridge<Color,DockColor>
- Author:
- Benjamin Sigg
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ColorChanges a background color such that it can be used on aStackDockComponentprotected ColorconvertFocused(Color source, String key) Changes a background color such that it can be used on aStackDockComponentprotected ColorconvertSelected(Color source, String key) Changes a background color such that it can be used on aStackDockComponentprotected booleanTells whetheridrepresents a color that is used on focused tabs.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 selected tabs.Methods inherited from class bibliothek.gui.dock.common.intern.color.TabColorTransmitter
get, get, getDockable, 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
-
FlatTabTransmitter
Creates a new transmitter- Parameters:
manager- the source for colors
-
-
Method Details
-
convert
Description copied from class:TabColorTransmitterChanges a background color such that it can be used on aStackDockComponent- Specified by:
convertin classTabColorTransmitter- Parameters:
source- the original colorkey- the key for which the color is needed- Returns:
- the new color
-
convertSelected
Description copied from class:TabColorTransmitterChanges a background color such that it can be used on aStackDockComponent- Specified by:
convertSelectedin classTabColorTransmitter- Parameters:
source- the original colorkey- the key for which the color is needed, can be one of the selected or focused kind- Returns:
- the new color
-
convertFocused
Description copied from class:TabColorTransmitterChanges a background color such that it can be used on aStackDockComponent- Specified by:
convertFocusedin classTabColorTransmitter- 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
-
isFocused
Description copied from class:TabColorTransmitterTells whetheridrepresents a color that is used on focused tabs.- Specified by:
isFocusedin classTabColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used on focused tabs
-
isForeground
Description copied from class:TabColorTransmitterTells whetheridrepresents a color that is used for the foreground.- Specified by:
isForegroundin classTabColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used in the foreground
-
isSelected
Description copied from class:TabColorTransmitterTells whetheridrepresents a color that is used on selected tabs.- Specified by:
isSelectedin classTabColorTransmitter- Parameters:
id- some id- Returns:
trueif the color is used on selected tabs
-