bibliothek.gui.dock.themes.color
Class DisplayerColor
java.lang.Object
bibliothek.gui.dock.util.AbstractUIValue<java.awt.Color,DockColor>
bibliothek.gui.dock.util.color.AbstractDockColor
bibliothek.gui.dock.themes.color.DisplayerColor
- All Implemented Interfaces:
- DockColor, UIValue<java.awt.Color>
public abstract class DisplayerColor
- extends AbstractDockColor
A color used on a DockableDisplayer
.
- Author:
- Benjamin Sigg
Methods inherited from class bibliothek.gui.dock.util.AbstractUIValue |
changed, getBackup, getId, getKind, getValue, set, setBackup, setId, setKind, setManager, setValue, setValue, update, value |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface bibliothek.gui.dock.util.UIValue |
set |
KIND_DISPLAYER_COLOR
public static final Path KIND_DISPLAYER_COLOR
- the kind of color
DisplayerColor
is
DisplayerColor
public DisplayerColor(java.lang.String id,
Path kind,
DockableDisplayer displayer,
java.awt.Color backup)
- Creates a new
DisplayerColor
- Parameters:
id
- the identifier of the colorkind
- which kind of color this isdisplayer
- the element for which the color is usedbackup
- a backup color
DisplayerColor
public DisplayerColor(java.lang.String id,
DockableDisplayer displayer,
java.awt.Color backup)
- Creates a new
DisplayerColor
- Parameters:
id
- the identifier of the colordisplayer
- the element for which the color is usedbackup
- a backup color
getDisplayer
public DockableDisplayer getDisplayer()
- Gets the element for which this color is used.
- Returns:
- the element