java.lang.Object
java.util.EventObject
javax.swing.event.ChangeEvent
org.gjt.sp.jedit.gui.ShortcutPrefixActiveEvent
- All Implemented Interfaces:
Serializable
Event fired when jEdit starts and stops listening for shortcut completions
- Author:
- jchoyt created December 17, 2005
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Description of the Fieldprotected Hashtable
Description of the Fieldprotected static EventListenerList
Description of the FieldFields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionShortcutPrefixActiveEvent
(Hashtable bindings, boolean active) Constructor for the ShortcutPrefixActiveEvent object -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Adds a feature to the ChangeEventListener attribute of the ShortcutPrefixActiveEvent classstatic void
firePrefixStateChange
(Hashtable bindings, boolean listeningForShortcutCompletion) Description of the Methodboolean
Gets the active attribute of the ShortcutPrefixActiveEvent objectGets the bindings attribute of the ShortcutPrefixActiveEvent objectstatic void
Description of the MethodMethods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
bindings
Description of the Field -
active
protected boolean activeDescription of the Field -
listenerList
Description of the Field
-
-
Constructor Details
-
ShortcutPrefixActiveEvent
Constructor for the ShortcutPrefixActiveEvent object- Parameters:
bindings
- Description of the Parameteractive
- Description of the Parameter
-
-
Method Details
-
addChangeEventListener
Adds a feature to the ChangeEventListener attribute of the ShortcutPrefixActiveEvent class- Parameters:
l
- The feature to be added to the ChangeEventListener attribute
-
removeChangeEventListener
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 ParameterlisteningForShortcutCompletion
- Description of the Parameter
-
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
-