java.lang.Object
java.util.EventObject
javafx.event.Event
com.dlsc.gemsfx.SearchField.SearchEvent
- All Implemented Interfaces:
Serializable
,Cloneable
- Enclosing class:
SearchField<T>
public static class SearchField.SearchEvent
extends javafx.event.Event
An event type used by the
SearchField
to indicate the start and
end of searching operations.-
Field Summary
Modifier and TypeFieldDescriptionstatic final javafx.event.EventType<SearchField.SearchEvent>
An event that gets fired when the field finishes a search.static final javafx.event.EventType<SearchField.SearchEvent>
An event that gets fired when the field starts a search.Fields inherited from class javafx.event.Event
ANY, consumed, eventType, NULL_SOURCE_TARGET, target
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSearchEvent
(javafx.event.EventType<? extends SearchField.SearchEvent> eventType, String text) -
Method Summary
Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
Methods inherited from class java.util.EventObject
getSource
-
Field Details
-
SEARCH_STARTED
An event that gets fired when the field starts a search. -
SEARCH_FINISHED
An event that gets fired when the field finishes a search.
-
-
Constructor Details
-
SearchEvent
public SearchEvent(javafx.event.EventType<? extends SearchField.SearchEvent> eventType, String text)
-
-
Method Details
-
getText
-
toString
- Overrides:
toString
in classEventObject
-