Class InputMethodTextRun
java.lang.Object
javafx.scene.input.InputMethodTextRun
- All Implemented Interfaces:
- Serializable
Represents a single run in which the characters have the same
 set of highlights in the input method text.
 
 Note: this is a conditional feature. See
 ConditionalFeature.INPUT_METHOD
 for more information.
- Since:
- JavaFX 2.0
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionInputMethodTextRun(String text, InputMethodHighlight highlight) Constructs a single text run of an input method.
- 
Method SummaryModifier and TypeMethodDescriptionfinal InputMethodHighlightGets the highlight used for displaying this text.final StringgetText()Gets the text in this run.toString()Returns a string representation of thisInputMethodTextRunobject.
- 
Constructor Details- 
InputMethodTextRunConstructs a single text run of an input method.- Parameters:
- text- the text in the text run
- highlight- the highlighting of the text
- Since:
- JavaFX 8.0
 
 
- 
- 
Method Details- 
getText
- 
getHighlightGets the highlight used for displaying this text.- Returns:
- the highlight used for displaying this text
 
- 
toString
 
-