bibliothek.gui.dock.themes.color
Class TitleColor

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
      extended by bibliothek.gui.dock.util.color.AbstractDockColor
          extended by bibliothek.gui.dock.themes.color.TitleColor
All Implemented Interfaces:
DockColor, UIValue<Color>

public abstract class TitleColor
extends AbstractDockColor

A color used by a DockTitle.

Author:
Benjamin Sigg

Field Summary
static Path KIND_FLAP_BUTTON_COLOR
          special kind of color for buttons on the FlapDockStation
static Path KIND_TITLE_COLOR
          the kind of color TitleColor is
 
Fields inherited from interface bibliothek.gui.dock.util.color.DockColor
KIND_DOCK_COLOR
 
Constructor Summary
TitleColor(String id, DockTitle title, Color backup)
          Creates a new TitleColor.
TitleColor(String id, Path kind, DockTitle title, Color backup)
          Creates a new TitleColor.
 
Method Summary
 DockTitle getTitle()
          Gets the title which uses this color.
 
Methods inherited from class bibliothek.gui.dock.util.color.AbstractDockColor
color, connect, me
 
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, value
 
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.UIValue
set
 

Field Detail

KIND_TITLE_COLOR

public static final Path KIND_TITLE_COLOR
the kind of color TitleColor is


KIND_FLAP_BUTTON_COLOR

public static final Path KIND_FLAP_BUTTON_COLOR
special kind of color for buttons on the FlapDockStation

Constructor Detail

TitleColor

public TitleColor(String id,
                  Path kind,
                  DockTitle title,
                  Color backup)
Creates a new TitleColor.

Parameters:
id - the id of the color
kind - the kind of the color, can be null
title - the title which uses this color
backup - a backup, can be null

TitleColor

public TitleColor(String id,
                  DockTitle title,
                  Color backup)
Creates a new TitleColor.

Parameters:
id - the id of the color
title - the title which uses this color
backup - a backup, can be null
Method Detail

getTitle

public DockTitle getTitle()
Gets the title which uses this color.

Returns:
the title