bibliothek.gui.dock.common.preference
Class CLayoutPreferenceModel

java.lang.Object
  extended by bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
      extended by bibliothek.extension.gui.dock.preference.DefaultPreferenceModel
          extended by bibliothek.gui.dock.common.preference.CLayoutPreferenceModel
All Implemented Interfaces:
PreferenceModel

public class CLayoutPreferenceModel
extends DefaultPreferenceModel

A model showing various preferences that are used for the layout.

Author:
Benjamin Sigg

Constructor Summary
CLayoutPreferenceModel(CControl control)
          Creates a new model.
 
Method Summary
 TabContentFilterPreference getTabContentFilter()
          Grants access to the preference that tells what content to show on a tab.
 TabPlacementPreference getTabPlacement()
          Grants access to the preference that tells where tabs are placed.
 ThemePreference getTheme()
          Grants access to the preference that selects the DockTheme.
 
Methods inherited from class bibliothek.extension.gui.dock.preference.DefaultPreferenceModel
add, doOperation, getDescription, getLabel, getOperations, getPath, getPreference, getSize, getTypePath, getValue, getValueInfo, indexOf, insert, isEnabled, isNatural, read, remove, remove, removeAll, setValue, setValueNatural, write
 
Methods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
addPreferenceModelListener, firePreferenceAdded, firePreferenceChanged, firePreferenceRemoved, hasListeners, listeners, removePreferenceModelListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CLayoutPreferenceModel

public CLayoutPreferenceModel(CControl control)
Creates a new model.

Parameters:
control - the control whose settings this model represents
Method Detail

getTabContentFilter

public TabContentFilterPreference getTabContentFilter()
Grants access to the preference that tells what content to show on a tab.

Returns:
the preference, not null

getTabPlacement

public TabPlacementPreference getTabPlacement()
Grants access to the preference that tells where tabs are placed.

Returns:
the preference, not null

getTheme

public ThemePreference getTheme()
Grants access to the preference that selects the DockTheme.

Returns:
the preference, not null