bibliothek.gui.dock.themes.color
Class TabColor
java.lang.Object
bibliothek.gui.dock.util.color.AbstractDockColor
bibliothek.gui.dock.themes.color.TabColor
- All Implemented Interfaces:
- DockColor
- Direct Known Subclasses:
- BubbleStackDockComponent.BubbleTabColor
public abstract class TabColor
- extends AbstractDockColor
Color related to a single Dockable
on a StackDockStation
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.util.color.AbstractDockColor |
changed, color, connect, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabColor
public TabColor(String id,
Class<? extends DockColor> kind,
StackDockStation station,
Dockable dockable,
Color backup)
- Creates a new TabColor.
- Parameters:
id
- the identifier of the color that is searchedkind
- the kind of DockColor
this is.station
- 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 found
getStation
public StackDockStation getStation()
- Gets the station on which the tab is shown.
- Returns:
- the station, might be
null
getDockable
public Dockable getDockable()
- Gets the element for which the tab is shown.
- Returns:
- the element