bibliothek.gui.dock.common
Class CPreferenceModel
java.lang.Object
bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
bibliothek.extension.gui.dock.preference.PreferenceTreeModel
bibliothek.gui.dock.common.CPreferenceModel
- All Implemented Interfaces:
- PreferenceModel, TreeModel
public class CPreferenceModel
- extends PreferenceTreeModel
A PreferenceModel
that shows the settings of a CControl
.
- Author:
- Benjamin Sigg
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CPreferenceModel
public CPreferenceModel(CControl control)
- 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:
control
- the control whose settings can be changed by this model
CPreferenceModel
public CPreferenceModel(CControl control,
PathCombiner combiner)
- Creates a new model.
- Parameters:
control
- the control whose settings can be changed by this modelcombiner
- how to combine paths of models and of preferences