bibliothek.extension.gui.dock.preference
Class PreferenceOperationIcon

java.lang.Object
  extended by bibliothek.gui.dock.util.AbstractUIValue<javax.swing.Icon,DockIcon>
      extended by bibliothek.gui.dock.util.icon.DockIcon
          extended by bibliothek.extension.gui.dock.preference.PreferenceOperationIcon
All Implemented Interfaces:
UIValue<javax.swing.Icon>

public abstract class PreferenceOperationIcon
extends DockIcon

A PreferenceOperationIcon represents an Icon that is used by a PreferenceOperation.

Author:
Benjamin Sigg

Field Summary
static Path KIND_PREFERENCE_OPERATION
          The kind of UIValue this is
 
Fields inherited from class bibliothek.gui.dock.util.icon.DockIcon
KIND_ICON
 
Constructor Summary
PreferenceOperationIcon(java.lang.String id, PreferenceOperation operation)
          Creates a new icon.
 
Method Summary
 PreferenceOperation getOperation()
          Gets the operation 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_PREFERENCE_OPERATION

public static final Path KIND_PREFERENCE_OPERATION
The kind of UIValue this is

Constructor Detail

PreferenceOperationIcon

public PreferenceOperationIcon(java.lang.String id,
                               PreferenceOperation operation)
Creates a new icon.

Parameters:
id - the identifier of this icon
operation - the operation which uses this icon
Method Detail

getOperation

public PreferenceOperation getOperation()
Gets the operation for which this icon is used.

Returns:
the operation