Package org.gjt.sp.jedit.gui
Class ShortcutPrefixActiveEvent
- java.lang.Object
-
- java.util.EventObject
-
- javax.swing.event.ChangeEvent
-
- org.gjt.sp.jedit.gui.ShortcutPrefixActiveEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ShortcutPrefixActiveEvent extends javax.swing.event.ChangeEvent
Event fired when jEdit starts and stops listening for shortcut completions- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
active
Description of the Fieldprotected java.util.Hashtable
bindings
Description of the Fieldprotected static javax.swing.event.EventListenerList
listenerList
Description of the Field
-
Constructor Summary
Constructors Constructor Description ShortcutPrefixActiveEvent(java.util.Hashtable bindings, boolean active)
Constructor for the ShortcutPrefixActiveEvent object
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
addChangeEventListener(javax.swing.event.ChangeListener l)
Adds a feature to the ChangeEventListener attribute of the ShortcutPrefixActiveEvent classstatic void
firePrefixStateChange(java.util.Hashtable bindings, boolean listeningForShortcutCompletion)
Description of the Methodboolean
getActive()
Gets the active attribute of the ShortcutPrefixActiveEvent objectjava.util.Hashtable
getBindings()
Gets the bindings attribute of the ShortcutPrefixActiveEvent objectstatic void
removeChangeEventListener(javax.swing.event.ChangeListener l)
Description of the Method
-
-
-
Method Detail
-
addChangeEventListener
public static void addChangeEventListener(javax.swing.event.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(javax.swing.event.ChangeListener l)
Description of the Method- Parameters:
l
- Description of the Parameter
-
firePrefixStateChange
public static void firePrefixStateChange(java.util.Hashtable bindings, boolean listeningForShortcutCompletion)
Description of the Method- Parameters:
bindings
- Description of the ParameterlisteningForShortcutCompletion
- Description of the Parameter
-
getBindings
public java.util.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
-
-