bibliothek.gui.dock.themes.font
Class TitleFont
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<FontModifier,DockFont>
bibliothek.gui.dock.util.font.AbstractDockFont
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
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 |
KIND_TITLE_FONT
public static final Path KIND_TITLE_FONT
TitleFont
public TitleFont(String id,
DockTitle title,
FontModifier backup)
- Creates a new title font.
- Parameters:
id
- the id of the font that is represented by this title fonttitle
- the title for which the font is usedbackup
- the backup value used when no other value is available
TitleFont
public TitleFont(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 fonttitle
- the title for which the font is usedkind
- what kind of font this isbackup
- the backup value used when no other value is available
TitleFont
public TitleFont(String id,
DockTitle title,
Path kind)
- Creates a new title font.
- Parameters:
id
- the id of the font that is represented by this title fonttitle
- the title for which the font is usedkind
- what kind of font this is
TitleFont
public TitleFont(String id,
DockTitle title)
- Creates a new title font.
- Parameters:
id
- the id of the font that is represented by this title fonttitle
- the title for which the font is used
getTitle
public DockTitle getTitle()
- Gets the title for which this font is used.
- Returns:
- the title