Package org.fife.ui.autocomplete
Class AutoCompletionEvent
java.lang.Object
java.util.EventObject
org.fife.ui.autocomplete.AutoCompletionEvent
- All Implemented Interfaces:
Serializable
An event fired by an instance of
AutoCompletion. This can be
used by applications that wish to be notified of the auto-complete popup
window showing and hiding.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration of the various types of this event. -
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionAutoCompletionEvent(AutoCompletion source, AutoCompletionEvent.Type type) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the sourceAutoCompletioninstance.Returns the type of this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AutoCompletionEvent
Constructor.- Parameters:
source- TheAutoCompletioninstance that fired this event.type- The event type.
-
-
Method Details
-
getAutoCompletion
Returns the sourceAutoCompletioninstance. This is just shorthand forreturn (AutoCompletion)getSource();.- Returns:
- The source
AutoCompletioninstance.
-
getEventType
Returns the type of this event.- Returns:
- The type of this event.
-