bibliothek.extension.gui.dock.preference.model
Class KeyStrokePreferenceModel

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

public class KeyStrokePreferenceModel
extends DefaultPreferenceModel

A model that lists the keystrokes which are used in the framework.

Author:
Benjamin Sigg

Constructor Summary
KeyStrokePreferenceModel(DockProperties properties)
          Creates a new model.
 
Method Summary
 KeyStrokeHidePreference getHide()
          Gets access to the preference that represents the KeyStroke which closes 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.
 
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

KeyStrokePreferenceModel

public KeyStrokePreferenceModel(DockProperties properties)
Creates a new model.

Parameters:
properties - the properties to read and write from
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

getMaximize

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

Returns:
the preference, not null

getHide

public KeyStrokeHidePreference getHide()
Gets access to the preference that represents the KeyStroke which closes a Dockable.

Returns:
the preference, not null