org.netbeans.modules.editor.settings.storage/1 1.19

org.netbeans.modules.editor.settings.storage.api
Class KeyBindingSettingsFactory

java.lang.Object
  extended by org.netbeans.modules.editor.settings.storage.api.KeyBindingSettingsFactory

public abstract class KeyBindingSettingsFactory
extends Object

Getters and setters for keymap editor profiles. Instances of this class should be registerred in MimeLookup for particular mime types.


Constructor Summary
KeyBindingSettingsFactory()
           
 
Method Summary
abstract  void addPropertyChangeListener(PropertyChangeListener l)
          PropertyChangeListener registration.
abstract  List<MultiKeyBinding> getKeyBindingDefaults(String profile)
          Returns default keybindings list for given keymap name, where items are instances of MultiKeyBinding.
abstract  List<MultiKeyBinding> getKeyBindings()
          Gets the keybindings list, where items are instances of MultiKeyBinding.
abstract  List<MultiKeyBinding> getKeyBindings(String profile)
          Gets the keybindings list for given keymap name, where items are instances of MultiKeyBinding.
abstract  void removePropertyChangeListener(PropertyChangeListener l)
          PropertyChangeListener registration.
abstract  void setKeyBindings(String profile, List<MultiKeyBinding> keyBindings)
          Gets the keybindings list, where items are instances of MultiKeyBinding.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyBindingSettingsFactory

public KeyBindingSettingsFactory()
Method Detail

getKeyBindings

public abstract List<MultiKeyBinding> getKeyBindings()
Gets the keybindings list, where items are instances of MultiKeyBinding.

Returns:
List of MultiKeyBindings.

getKeyBindings

public abstract List<MultiKeyBinding> getKeyBindings(String profile)
Gets the keybindings list for given keymap name, where items are instances of MultiKeyBinding.

Parameters:
profile - a name of keymap
Returns:
List of MultiKeyBindings.

getKeyBindingDefaults

public abstract List<MultiKeyBinding> getKeyBindingDefaults(String profile)
Returns default keybindings list for given keymap name, where items are instances of MultiKeyBinding.

Returns:
List of MultiKeyBindings.

setKeyBindings

public abstract void setKeyBindings(String profile,
                                    List<MultiKeyBinding> keyBindings)
Gets the keybindings list, where items are instances of MultiKeyBinding.

Parameters:
profile -
keyBindings - the list of MultiKeyBindings

addPropertyChangeListener

public abstract void addPropertyChangeListener(PropertyChangeListener l)
PropertyChangeListener registration.

Parameters:
l - a PropertyChangeListener to be registerred

removePropertyChangeListener

public abstract void removePropertyChangeListener(PropertyChangeListener l)
PropertyChangeListener registration.

Parameters:
l - a PropertyChangeListener to be unregisterred

org.netbeans.modules.editor.settings.storage/1 1.19

Built on December 3 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.