bibliothek.gui.dock.themes.color
Class DockableSelectionColor

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<Color,DockColor>
      extended by bibliothek.gui.dock.util.color.AbstractDockColor
          extended by bibliothek.gui.dock.themes.color.DockableSelectionColor
All Implemented Interfaces:
DockColor, UIValue<Color>

public abstract class DockableSelectionColor
extends AbstractDockColor

A color used by a DockableSelection.

Author:
Benjamin Sigg

Field Summary
static Path KIND_DOCKABLE_SELECTION_COLOR
          the kind of color DockableSelectionColor is
 
Fields inherited from interface bibliothek.gui.dock.util.color.DockColor
KIND_DOCK_COLOR
 
Constructor Summary
DockableSelectionColor(DockableSelection selection, String id, Color backup)
          Creates a new DockColor.
DockableSelectionColor(DockableSelection selection, String id, Path kind, Color backup)
          Creates a new DockColor.
 
Method Summary
 DockableSelection getSelection()
          Gets the selection that uses this color.
 
Methods inherited from class bibliothek.gui.dock.util.color.AbstractDockColor
color, connect, me
 
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
 

Field Detail

KIND_DOCKABLE_SELECTION_COLOR

public static final Path KIND_DOCKABLE_SELECTION_COLOR
the kind of color DockableSelectionColor is

Constructor Detail

DockableSelectionColor

public DockableSelectionColor(DockableSelection selection,
                              String id,
                              Path kind,
                              Color backup)
Creates a new DockColor.

Parameters:
selection - the owner of this color
id - the id of this color
kind - the kind of color this is
backup - the backup color if nothing is available

DockableSelectionColor

public DockableSelectionColor(DockableSelection selection,
                              String id,
                              Color backup)
Creates a new DockColor.

Parameters:
selection - the owner of this color
id - the id of this color
backup - the backup color if nothing is available
Method Detail

getSelection

public DockableSelection getSelection()
Gets the selection that uses this color.

Returns:
the owner