Module jEdit

Class ShortcutPrefixActiveEvent

java.lang.Object
java.util.EventObject
javax.swing.event.ChangeEvent
org.gjt.sp.jedit.gui.ShortcutPrefixActiveEvent
All Implemented Interfaces:
Serializable

public class ShortcutPrefixActiveEvent extends ChangeEvent
Event fired when jEdit starts and stops listening for shortcut completions
Author:
jchoyt created December 17, 2005
See Also:
  • Field Details

    • bindings

      protected Hashtable bindings
      Description of the Field
    • active

      protected boolean active
      Description of the Field
    • listenerList

      protected static EventListenerList listenerList
      Description of the Field
  • Constructor Details

    • ShortcutPrefixActiveEvent

      public ShortcutPrefixActiveEvent(Hashtable bindings, boolean active)
      Constructor for the ShortcutPrefixActiveEvent object
      Parameters:
      bindings - Description of the Parameter
      active - Description of the Parameter
  • Method Details

    • addChangeEventListener

      public static void addChangeEventListener(ChangeListener l)
      Adds a feature to the ChangeEventListener attribute of the ShortcutPrefixActiveEvent class
      Parameters:
      l - The feature to be added to the ChangeEventListener attribute
    • removeChangeEventListener

      public static void removeChangeEventListener(ChangeListener l)
      Description of the Method
      Parameters:
      l - Description of the Parameter
    • firePrefixStateChange

      public static void firePrefixStateChange(Hashtable bindings, boolean listeningForShortcutCompletion)
      Description of the Method
      Parameters:
      bindings - Description of the Parameter
      listeningForShortcutCompletion - Description of the Parameter
    • getBindings

      public Hashtable getBindings()
      Gets the bindings attribute of the ShortcutPrefixActiveEvent object
      Returns:
      The bindings value
    • getActive

      public boolean getActive()
      Gets the active attribute of the ShortcutPrefixActiveEvent object
      Returns:
      The active value