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

Constructor Summary
DockableSelectionColor(DockableSelection selection, String id, Class<? extends DockableSelectionColor> clazz, Color backup)
          Creates a new DockColor.
DockableSelectionColor(DockableSelection selection, String id, 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, 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
 

Constructor Detail

DockableSelectionColor

public DockableSelectionColor(DockableSelection selection,
                              String id,
                              Class<? extends DockableSelectionColor> clazz,
                              Color backup)
Creates a new DockColor.

Parameters:
selection - the owner of this color
id - the id of this color
clazz - the class of this color
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