- java.lang.Object
- 
- javafx.scene.input.InputMethodTextRun
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class InputMethodTextRun extends Object implements 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_METHODfor more information.- Since:
- JavaFX 2.0
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description InputMethodTextRun(String text, InputMethodHighlight highlight)Constructs a single text run of an input method.
 - 
Method SummaryModifier and Type Method Description InputMethodHighlightgetHighlight()Gets the highlight used for displaying this text.StringgetText()Gets the text in this run.StringtoString()Returns a string representation of thisInputMethodTextRunobject.
 
- 
- 
- 
Constructor Detail- 
InputMethodTextRunpublic InputMethodTextRun(String text, InputMethodHighlight highlight) Constructs 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 Detail- 
getTextpublic final String getText() Gets the text in this run.- Returns:
- the text in this run
 
 - 
getHighlightpublic final InputMethodHighlight getHighlight() Gets the highlight used for displaying this text.- Returns:
- the highlight used for displaying this text
 
 
- 
 
-