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(java.lang.String id,
DockStation station,
Dockable dockable,
java.awt.Color backup)
Creates a new TabColor.
|
TabColor(java.lang.String id,
Path kind,
DockStation station,
Dockable dockable,
java.awt.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, me
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value
public TabColor(java.lang.String id, Path kind, DockStation station, Dockable dockable, java.awt.Color backup)
public TabColor(java.lang.String id, DockStation station, Dockable dockable, java.awt.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()
null
public Dockable getDockable()