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
FieldsModifier and TypeFieldDescriptionprotected booleanDescription of the Fieldprotected HashtableDescription of the Fieldprotected static EventListenerListDescription of the FieldFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionShortcutPrefixActiveEvent(Hashtable bindings, boolean active) Constructor for the ShortcutPrefixActiveEvent object -
Method Summary
Modifier and TypeMethodDescriptionstatic voidAdds a feature to the ChangeEventListener attribute of the ShortcutPrefixActiveEvent classstatic voidfirePrefixStateChange(Hashtable bindings, boolean listeningForShortcutCompletion) Description of the MethodbooleanGets the active attribute of the ShortcutPrefixActiveEvent objectGets the bindings attribute of the ShortcutPrefixActiveEvent objectstatic voidDescription 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
-