public abstract class TabFont extends AbstractDockFont
StackDockStation
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_TAB_FONT
the identifier of this kind of font
|
ID_BUTTON, 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 and Description |
---|
TabFont(java.lang.String id,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(java.lang.String id,
DockStation station,
Dockable dockable,
FontModifier backup)
Creates a new font
|
TabFont(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable)
Creates a new font
|
TabFont(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable,
FontModifier backup)
Creates a new font
|
Modifier and Type | Method and Description |
---|---|
Dockable |
getDockable()
Gets the element for which this font is used.
|
DockStation |
getStation()
Gets the station for which this font is used.
|
connect, font, font, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public static final Path KIND_TAB_FONT
public TabFont(java.lang.String id, DockStation station, Dockable dockable, FontModifier backup)
id
- the unique identifier of this font, should match some identifier
used in a FontManager
.station
- the station for which this font is useddockable
- the element which is associated with this fontbackup
- default value for this fontpublic TabFont(java.lang.String id, Path kind, DockStation station, Dockable dockable, FontModifier backup)
id
- the unique identifier of this font, should match some identifier
used in a FontManager
.kind
- the kind of font this represents, should be a child of
KIND_TAB_FONT
.station
- the station for which this font is useddockable
- the element which is associated with this fontbackup
- default value for this fontpublic TabFont(java.lang.String id, Path kind, DockStation station, Dockable dockable)
id
- the unique identifier of this font, should match some identifier
used in a FontManager
.kind
- the kind of font this represents, should be a child of
KIND_TAB_FONT
.station
- the station for which this font is useddockable
- the element which is associated with this fontpublic TabFont(java.lang.String id, DockStation station, Dockable dockable)
id
- the unique identifier of this font, should match some identifier
used in a FontManager
.station
- the station for which this font is useddockable
- the element which is associated with this fontpublic DockStation getStation()
public Dockable getDockable()