bibliothek.gui.dock.common.preference
Class CKeyStrokePreferenceModel

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.CKeyStrokePreferenceModel
All Implemented Interfaces:
PreferenceModel

public class CKeyStrokePreferenceModel
extends DefaultPreferenceModel

A set or Preferences for the KeyStrokes that are used in common.

Author:
Benjamin Sigg

Constructor Summary
CKeyStrokePreferenceModel(DockProperties properties)
          Creates a new model.
 
Method Summary
 KeyStrokeExternalizePreference getExternalize()
          Gets access to the preference that represents the KeyStroke which lets externalize a Dockable.
 KeyStrokeInitSelectorPreference getInitSelector()
          Gets access to the preference that represents the KeyStroke which opens the selection popup.
 ModifierMaskNoCombinationPreference getMaskNoCombination()
          Gets access to the preference that represents the ModifierMask that ensures that Dockables are not merged during drag and drop.
 ModifierMaskScreenOnlyPreference getMaskScreenOnly()
          Gets access to the preference that represents the ModifierMask which ensures that Dockables are dropped onto a ScreenDockStation during drag and drop.
 KeyStrokeMaximizePreference getMaximize()
          Gets access to the preference that represents the KeyStroke which lets maximize a Dockable.
 KeyStrokeMaximizeChangePreference getMaximizeChange()
          Gets access to the preference that represents the KeyStroke which switches between maximized and normalized Dockable.
 KeyStrokeMinimizePreference getMinimize()
          Gets access to the preference that represents the KeyStroke which lets minimize a Dockable.
 KeyStrokeNormalizePreference getNormalize()
          Gets access to the preference that represents the KeyStroke which lets normalize a Dockable.
 
Methods inherited from class bibliothek.extension.gui.dock.preference.DefaultPreferenceModel
add, addPreferenceModelListener, doOperation, getDescription, getLabel, getOperations, getPath, getPreference, getSize, getTypePath, getValue, getValueInfo, indexOf, insert, isEnabled, isNatural, read, remove, remove, removeAll, removePreferenceModelListener, setValue, setValueNatural, write
 
Methods inherited from class bibliothek.extension.gui.dock.preference.AbstractPreferenceModel
firePreferenceAdded, firePreferenceChanged, firePreferenceRemoved, getController, hasListeners, listeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CKeyStrokePreferenceModel

public CKeyStrokePreferenceModel(DockProperties properties)
Creates a new model.

Parameters:
properties - the set of properties to read and write
Method Detail

getInitSelector

public KeyStrokeInitSelectorPreference getInitSelector()
Gets access to the preference that represents the KeyStroke which opens the selection popup.

Returns:
the preference, not null

getMaskNoCombination

public ModifierMaskNoCombinationPreference getMaskNoCombination()
Gets access to the preference that represents the ModifierMask that ensures that Dockables are not merged during drag and drop.

Returns:
the preference, not null

getMaskScreenOnly

public ModifierMaskScreenOnlyPreference getMaskScreenOnly()
Gets access to the preference that represents the ModifierMask which ensures that Dockables are dropped onto a ScreenDockStation during drag and drop.

Returns:
the preference, not null

getMaximizeChange

public KeyStrokeMaximizeChangePreference getMaximizeChange()
Gets access to the preference that represents the KeyStroke which switches between maximized and normalized Dockable.

Returns:
the preference, not null

getMaximize

public KeyStrokeMaximizePreference getMaximize()
Gets access to the preference that represents the KeyStroke which lets maximize a Dockable.

Returns:
the preference, not null

getNormalize

public KeyStrokeNormalizePreference getNormalize()
Gets access to the preference that represents the KeyStroke which lets normalize a Dockable.

Returns:
the preference, not null

getMinimize

public KeyStrokeMinimizePreference getMinimize()
Gets access to the preference that represents the KeyStroke which lets minimize a Dockable.

Returns:
the preference, not null

getExternalize

public KeyStrokeExternalizePreference getExternalize()
Gets access to the preference that represents the KeyStroke which lets externalize a Dockable.

Returns:
the preference, not null