Class AutoCompletionEvent

java.lang.Object
java.util.EventObject
org.fife.ui.autocomplete.AutoCompletionEvent
All Implemented Interfaces:
Serializable

public class AutoCompletionEvent extends EventObject
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
See Also:
  • Field Details

  • Constructor Details

    • AutoCompletionEvent

      public AutoCompletionEvent(AutoCompletion source, AutoCompletionEvent.Type type)
      Constructor.
      Parameters:
      source - The AutoCompletion instance that fired this event.
      type - The event type.
  • Method Details

    • getAutoCompletion

      public AutoCompletion getAutoCompletion()
      Returns the source AutoCompletion instance. This is just shorthand for return (AutoCompletion)getSource();.
      Returns:
      The source AutoCompletion instance.
    • getEventType

      public AutoCompletionEvent.Type getEventType()
      Returns the type of this event.
      Returns:
      The type of this event.