bibliothek.extension.gui.dock
Class DockingFramesPreference

java.lang.Object
  extended by bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
      extended by bibliothek.extension.gui.dock.preference.PreferenceTreeModel
          extended by bibliothek.extension.gui.dock.DockingFramesPreference
All Implemented Interfaces:
PreferenceModel, TreeModel

public class DockingFramesPreference
extends PreferenceTreeModel

A PreferenceTreeModel that contains all the preferences that are used in this framework.

Author:
Benjamin Sigg

Nested Class Summary
 
Nested classes/interfaces inherited from class bibliothek.extension.gui.dock.preference.PreferenceTreeModel
PreferenceTreeModel.Node
 
Constructor Summary
DockingFramesPreference(DockController controller)
          Creates a new model.
DockingFramesPreference(DockController controller, PathCombiner combiner)
          Creates a new model.
 
Method Summary
 
Methods inherited from class bibliothek.extension.gui.dock.preference.PreferenceTreeModel
addPreferenceModelListener, addTreeModelListener, delete, doOperation, getChild, getChildCount, getDescription, getIndexOfChild, getLabel, getOperations, getPath, getRoot, getSize, getTreeModelListeners, getTypePath, getValue, getValueInfo, isEnabled, isLeaf, isNatural, put, putModel, putNode, read, removePreferenceModelListener, removeTreeModelListener, setValue, setValueNatural, valueForPathChanged, write
 
Methods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
firePreferenceAdded, firePreferenceChanged, firePreferenceRemoved, hasListeners, listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DockingFramesPreference

public DockingFramesPreference(DockController controller)
Creates a new model. This constructor sets the behavior of how to create paths for preferences to PathCombiner.SECOND. This behavior allows reordering of models and preferences in future releases, however forces any preference to have a truly unique path in a global scale.

Parameters:
controller - the controller whose preferences this model should represent

DockingFramesPreference

public DockingFramesPreference(DockController controller,
                               PathCombiner combiner)
Creates a new model.

Parameters:
controller - the controller whose preferences this model should represent
combiner - how to create preference paths for nested preferences