public abstract class TabColor extends AbstractDockColor
Dockable that is in a tab for example
on a StackDockStation.| Modifier and Type | Field and Description |
|---|---|
static Path |
KIND_TAB_COLOR
the kind of color
TabColor is |
KIND_DOCK_COLOR| Constructor and Description |
|---|
TabColor(String id,
DockStation station,
Dockable dockable,
Color backup)
Creates a new TabColor.
|
TabColor(String id,
Path kind,
DockStation station,
Dockable dockable,
Color backup)
Creates a new TabColor.
|
| Modifier and Type | Method and Description |
|---|---|
Dockable |
getDockable()
Gets the element for which the tab is shown.
|
DockStation |
getStation()
Gets the station on which the tab is shown.
|
color, connect, mechanged, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, valuepublic TabColor(String id, Path kind, DockStation station, Dockable dockable, Color backup)
public TabColor(String id, DockStation station, Dockable dockable, Color backup)
id - the identifier of the color that is searchedstation - the station on which the color will be useddockable - the Dockable for whose tab this color is usedbackup - a backup color in case that no color can be foundpublic DockStation getStation()
nullpublic Dockable getDockable()
Copyright © 2017 Docking Frames. All rights reserved.