Class AutoCompletionEvent

  • All Implemented Interfaces:
    java.io.Serializable

    public class AutoCompletionEvent
    extends java.util.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:
    Serialized Form
    • Constructor Detail

      • AutoCompletionEvent

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

      • 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.