bibliothek.gui.dock.themes.color
Class TitleColor

java.lang.Object
  extended by bibliothek.gui.dock.util.color.AbstractDockColor
      extended by bibliothek.gui.dock.themes.color.TitleColor
All Implemented Interfaces:
DockColor

public abstract class TitleColor
extends AbstractDockColor

A color used by a DockTitle.

Author:
Benjamin Sigg

Constructor Summary
TitleColor(String id, Class<? extends DockColor> 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
changed, color, connect, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TitleColor

public TitleColor(String id,
                  Class<? extends DockColor> 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
Method Detail

getTitle

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

Returns:
the title