bibliothek.gui.dock.dockable
Class DockableIcon

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<Icon,DockIcon>
      extended by bibliothek.gui.dock.util.icon.DockIcon
          extended by bibliothek.gui.dock.dockable.DockableIcon
All Implemented Interfaces:
UIValue<Icon>

public abstract class DockableIcon
extends DockIcon

An icon that is used for a Dockable

Author:
Benjamin Sigg

Field Summary
static Path KIND_DOCKABLE
          what kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.icon.DockIcon
KIND_ICON
 
Constructor Summary
DockableIcon(String id, Dockable dockable)
          Creates a new icon
 
Method Summary
 Dockable getDockable()
          Gets the Dockable for which this icon is used.
 
Methods inherited from class bibliothek.gui.dock.util.icon.DockIcon
me, setController
 
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
 

Field Detail

KIND_DOCKABLE

public static final Path KIND_DOCKABLE
what kind of UIValue this is

Constructor Detail

DockableIcon

public DockableIcon(String id,
                    Dockable dockable)
Creates a new icon

Parameters:
id - the identifier of the icon
dockable - the element for which the icon is used
Method Detail

getDockable

public Dockable getDockable()
Gets the Dockable for which this icon is used.

Returns:
the dockable