java.lang.Object
java.util.EventObject
de.grogra.pf.ui.autocomplete.impl.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.- Version:
- 1.0
- Author:
- Robert Futrell
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enumeration of the various types of this event. -
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAutoCompletionEvent
(AbstractAutoCompletor source, AutoCompletionEvent.Type type) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the sourceAutoCompletion
instance.Returns the type of this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AutoCompletionEvent
Constructor.- Parameters:
source
- TheAutoCompletion
instance that fired this event.type
- The event type.
-
-
Method Details
-
getAutoCompletion
Returns the sourceAutoCompletion
instance. This is just shorthand forreturn (AutoCompletion)getSource();
.- Returns:
- The source
AutoCompletion
instance.
-
getEventType
Returns the type of this event.- Returns:
- The type of this event.
-