public class AutoCompleteEvent
extends java.util.EventObject
Constructor and Description |
---|
AutoCompleteEvent(JAutoComplete source,
int startOffset,
AutoCompleteDictionary.Item item)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AutoCompleteDictionary.Item |
getItem()
Return the selected item used for autoCompletion.
|
JAutoComplete |
getSource()
Return the event source.
|
int |
getStartOffset()
Return the start offset of the text which was autoCompleted.
|
java.lang.String |
getText()
Return the autoCompleted text.
|
public AutoCompleteEvent(JAutoComplete source, int startOffset, AutoCompleteDictionary.Item item)
source
- the event sourcestartOffset
- the start offset of the text which was autoCompleteditem
- the selected item used for autoCompletionpublic JAutoComplete getSource()
getSource
in class java.util.EventObject
public int getStartOffset()
public AutoCompleteDictionary.Item getItem()
public java.lang.String getText()
Copyright © 2016-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence