Package org.fife.ui.autocomplete
Class AutoCompletionEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.fife.ui.autocomplete.AutoCompletionEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class AutoCompletionEvent extends java.util.EventObject
An event fired by an instance ofAutoCompletion
. This can be used by applications that wish to be notified of the auto-complete popup window showing and hiding.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AutoCompletionEvent.Type
Enumeration of the various types of this event.
-
Field Summary
Fields Modifier and Type Field Description private AutoCompletionEvent.Type
type
The type of this event.
-
Constructor Summary
Constructors Constructor Description AutoCompletionEvent(AutoCompletion source, AutoCompletionEvent.Type type)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AutoCompletion
getAutoCompletion()
Returns the sourceAutoCompletion
instance.AutoCompletionEvent.Type
getEventType()
Returns the type of this event.
-
-
-
Field Detail
-
type
private final AutoCompletionEvent.Type type
The type of this event.
-
-
Constructor Detail
-
AutoCompletionEvent
public AutoCompletionEvent(AutoCompletion source, AutoCompletionEvent.Type type)
Constructor.- Parameters:
source
- TheAutoCompletion
instance that fired this event.type
- The event type.
-
-
Method Detail
-
getAutoCompletion
public AutoCompletion getAutoCompletion()
Returns the sourceAutoCompletion
instance. This is just shorthand forreturn (AutoCompletion)getSource();
.- Returns:
- The source
AutoCompletion
instance.
-
getEventType
public AutoCompletionEvent.Type getEventType()
Returns the type of this event.- Returns:
- The type of this event.
-
-