Class EclipseTabTransmitter
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.EclipseTabTransmitter
- All Implemented Interfaces:
ColorBridge,UIBridge<Color,DockColor>
- Author:
- Benjamin Sigg
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ColorBridgeFactoryA factory that createsEclipseTabTransmitters. -
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
-
Field Details
-
FACTORY
A factory that createsEclipseTabTransmitters.
-
-
Constructor Details
-
EclipseTabTransmitter
-
-
Method Details
-
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
-
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
-
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
-
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
-