public abstract class ButtonFont extends AbstractDockFont
DockAction
.Modifier and Type | Field and Description |
---|---|
static Path |
KIND_BUTTON_FONT
this kind describes a font that is used by a button
|
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 |
---|
ButtonFont(String id,
Dockable dockable,
DockAction action,
FontModifier backup)
Creates a new font
|
ButtonFont(String id,
Dockable dockable,
DockAction action,
Path kind,
FontModifier backup)
Creates a new font
|
Modifier and Type | Method and Description |
---|---|
DockAction |
getAction()
Gets the action for which this font is used.
|
Dockable |
getDockable()
Gets the dockable for with which
the action is associated. |
connect, font, font, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public static final Path KIND_BUTTON_FONT
public ButtonFont(String id, Dockable dockable, DockAction action, FontModifier backup)
id
- the unique id of this fontdockable
- the element which is associated with action
action
- the action for which a button is shownbackup
- the backup value used of no other value is availablepublic ButtonFont(String id, Dockable dockable, DockAction action, Path kind, FontModifier backup)
id
- the unique id of this fontdockable
- the element which is associated with action
action
- the action for which a button is shownkind
- what kind of font this isbackup
- the backup value used of no other value is availablepublic DockAction getAction()
null
public Dockable getDockable()
the action
is associated.null