glass.eclipse.theme
Class GlassEclipseTabTransmitter

java.lang.Object
  extended by bibliothek.gui.dock.common.intern.ui.UITransmitter<Color,bibliothek.gui.dock.util.color.DockColor>
      extended by bibliothek.gui.dock.common.intern.color.ColorTransmitter
          extended by bibliothek.gui.dock.common.intern.color.TabColorTransmitter
              extended by glass.eclipse.theme.GlassEclipseTabTransmitter
All Implemented Interfaces:
bibliothek.gui.dock.common.intern.theme.color.CColorBridge, bibliothek.gui.dock.util.color.ColorBridge, bibliothek.gui.dock.util.UIBridge<Color,bibliothek.gui.dock.util.color.DockColor>

public class GlassEclipseTabTransmitter
extends bibliothek.gui.dock.common.intern.color.TabColorTransmitter
implements bibliothek.gui.dock.common.intern.theme.color.CColorBridge

A ColorTransmitter that connects TabColors with the EclipseTheme.

Author:
Benjamin Sigg

Field Summary
static bibliothek.gui.dock.themes.ColorBridgeFactory FACTORY
          A factory that creates EclipseTabTransmitters.
 
Constructor Summary
GlassEclipseTabTransmitter(bibliothek.gui.dock.util.color.ColorManager manager)
           
 
Method Summary
protected  Color convert(Color source, String key)
           
protected  Color convertFocused(Color source, String key)
           
protected  Color convertSelected(Color source, String key)
           
protected  boolean isFocused(String id)
           
protected  boolean isForeground(String id)
           
protected  boolean isSelected(String id)
           
 boolean matches(String id)
           
 
Methods inherited from class bibliothek.gui.dock.common.intern.color.TabColorTransmitter
get, get, getDockable, update
 
Methods inherited from class bibliothek.gui.dock.common.intern.color.ColorTransmitter
connect, disconnect, getFirstNonNull
 
Methods inherited from class bibliothek.gui.dock.common.intern.ui.UITransmitter
add, remove, set, set, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface bibliothek.gui.dock.util.UIBridge
add, remove, set
 

Field Detail

FACTORY

public static final bibliothek.gui.dock.themes.ColorBridgeFactory FACTORY
A factory that creates EclipseTabTransmitters.

Constructor Detail

GlassEclipseTabTransmitter

public GlassEclipseTabTransmitter(bibliothek.gui.dock.util.color.ColorManager manager)
Method Detail

matches

public boolean matches(String id)
Specified by:
matches in interface bibliothek.gui.dock.common.intern.theme.color.CColorBridge

isFocused

protected boolean isFocused(String id)
Specified by:
isFocused in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter

isSelected

protected boolean isSelected(String id)
Specified by:
isSelected in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter

isForeground

protected boolean isForeground(String id)
Specified by:
isForeground in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter

convert

protected Color convert(Color source,
                        String key)
Specified by:
convert in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter

convertSelected

protected Color convertSelected(Color source,
                                String key)
Specified by:
convertSelected in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter

convertFocused

protected Color convertFocused(Color source,
                               String key)
Specified by:
convertFocused in class bibliothek.gui.dock.common.intern.color.TabColorTransmitter