Class CPreferenceModel

All Implemented Interfaces:
PreferenceModel, TreeModel

public class CPreferenceModel extends PreferenceTreeModel
A PreferenceModel that shows the settings of a CControl.
Author:
Benjamin Sigg
  • Constructor Details

    • 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 model
      combiner - how to combine paths of models and of preferences
  • Method Details