Class CLayoutPreferenceModel

All Implemented Interfaces:
PreferenceModel

public class CLayoutPreferenceModel extends DefaultPreferenceModel
A model showing various preferences that are used for the layout.
  • What content to show on the button for a minimized Dockable
  • Where to place tabs
  • What to show on tabs
  • Which theme to use
Author:
Benjamin Sigg
  • Constructor Details

    • CLayoutPreferenceModel

      public CLayoutPreferenceModel(CControl control)
      Creates a new model.
      Parameters:
      control - the control whose settings this model represents
  • Method Details

    • 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