bibliothek.gui.dock.themes.font
Class TitleFont

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<FontModifier,DockFont>
      extended by bibliothek.gui.dock.util.font.AbstractDockFont
          extended by bibliothek.gui.dock.themes.font.TitleFont
All Implemented Interfaces:
DockFont, UIValue<FontModifier>

public abstract class TitleFont
extends AbstractDockFont

Represents a font used by a DockTitle.

Author:
Benjamin Sigg

Field Summary
static Path KIND_FLAP_BUTTON_FONT
          this kind describes a font that is used on a button title of a FlapDockStation
static Path KIND_TAB_TITLE_FONT
          this kind describes a font that is used for a title which then is used as tab
static Path KIND_TITLE_FONT
          this kind describes a font that is used on a title
 
Fields inherited from interface bibliothek.gui.dock.util.font.DockFont
ID_FLAP_BUTTON_ACTIVE, ID_FLAP_BUTTON_INACTIVE, ID_FLAP_BUTTON_SELECTED, ID_TAB_FOCUSED, ID_TAB_SELECTED, ID_TAB_UNSELECTED, ID_TITLE_ACTIVE, ID_TITLE_INACTIVE, KIND_DOCK_FONT
 
Constructor Summary
TitleFont(java.lang.String id, DockTitle title)
          Creates a new title font.
TitleFont(java.lang.String id, DockTitle title, FontModifier backup)
          Creates a new title font.
TitleFont(java.lang.String id, DockTitle title, Path kind)
          Creates a new title font.
TitleFont(java.lang.String id, DockTitle title, Path kind, FontModifier backup)
          Creates a new title font.
 
Method Summary
 DockTitle getTitle()
          Gets the title for which this font is used.
 
Methods inherited from class bibliothek.gui.dock.util.font.AbstractDockFont
connect, font, font, me
 
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, 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_FONT

public static final Path KIND_TITLE_FONT
this kind describes a font that is used on a title


KIND_FLAP_BUTTON_FONT

public static final Path KIND_FLAP_BUTTON_FONT
this kind describes a font that is used on a button title of a FlapDockStation


KIND_TAB_TITLE_FONT

public static final Path KIND_TAB_TITLE_FONT
this kind describes a font that is used for a title which then is used as tab

Constructor Detail

TitleFont

public TitleFont(java.lang.String id,
                 DockTitle title,
                 FontModifier backup)
Creates a new title font.

Parameters:
id - the id of the font that is represented by this title font
title - the title for which the font is used
backup - the backup value used when no other value is available

TitleFont

public TitleFont(java.lang.String id,
                 DockTitle title,
                 Path kind,
                 FontModifier backup)
Creates a new title font.

Parameters:
id - the id of the font that is represented by this title font
title - the title for which the font is used
kind - what kind of font this is
backup - the backup value used when no other value is available

TitleFont

public TitleFont(java.lang.String id,
                 DockTitle title,
                 Path kind)
Creates a new title font.

Parameters:
id - the id of the font that is represented by this title font
title - the title for which the font is used
kind - what kind of font this is

TitleFont

public TitleFont(java.lang.String id,
                 DockTitle title)
Creates a new title font.

Parameters:
id - the id of the font that is represented by this title font
title - the title for which the font is used
Method Detail

getTitle

public DockTitle getTitle()
Gets the title for which this font is used.

Returns:
the title