public class AutoCompleteEvent
extends javafx.event.Event
| Modifier and Type | Field and Description |
|---|---|
static javafx.event.EventType<AutoCompleteEvent> |
AUTOCOMPLETE |
| Constructor and Description |
|---|
AutoCompleteEvent(int startOffset,
AutoCompleteDictionary.Item item)
Constructor.
|
AutoCompleteEvent(java.lang.Object source,
javafx.event.EventTarget target,
int startOffset,
AutoCompleteDictionary.Item item) |
| Modifier and Type | Method and Description |
|---|---|
AutoCompleteEvent |
copyFor(java.lang.Object newSource,
javafx.event.EventTarget newTarget) |
javafx.event.EventType<? extends AutoCompleteEvent> |
getEventType() |
AutoCompleteDictionary.Item |
getItem()
Return the selected item used for autoCompletion.
|
int |
getStartOffset()
Return the start offset of the text which was autoCompleted.
|
java.lang.String |
getText()
Return the autoCompleted text.
|
public static final javafx.event.EventType<AutoCompleteEvent> AUTOCOMPLETE
public AutoCompleteEvent(int startOffset,
AutoCompleteDictionary.Item item)
startOffset - the start offset of the text which was autoCompleteditem - the selected item used for autoCompletionpublic AutoCompleteEvent(java.lang.Object source,
javafx.event.EventTarget target,
int startOffset,
AutoCompleteDictionary.Item item)
public AutoCompleteEvent copyFor(java.lang.Object newSource, javafx.event.EventTarget newTarget)
copyFor in class javafx.event.Eventpublic javafx.event.EventType<? extends AutoCompleteEvent> getEventType()
getEventType in class javafx.event.Eventpublic 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