Spec-Zone.ru › OpenJavaFX 8
javafx.scene.input

Class InputMethodTextRun

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_METHOD for more information.

Since:

JavaFX 2.0

See Also:

Serialized Form

  • Constructor Summary

    Constructors
    Constructor and Description
    InputMethodTextRun(String text, InputMethodHighlight highlight)
    Constructs a single text run of an input method.
  • Method Summary

    All MethodsInstance MethodsConcrete Methods
    Modifier and Type Method and Description
    InputMethodHighlight getHighlight()
    Gets the highlight used for displaying this text.
    String getText()
    Gets the text in this run.
    String toString()
    Returns a string representation of this InputMethodTextRun object.
    • Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Detail

    • InputMethodTextRun

      public InputMethodTextRun(String text,
                                InputMethodHighlight highlight)
      Constructs a single text run of an input method.

      Parameters:

      text - the text in the text run

      Since:

      JavaFX 8.0

  • Method Detail

    • getText

      public final String getText()
      Gets the text in this run.

      Returns:

      the text in this run

    • getHighlight

      public final InputMethodHighlight getHighlight()
      Gets the highlight used for displaying this text.

      Returns:

      the highlight used for displaying this text

    • toString

      public String toString()
      Returns a string representation of this InputMethodTextRun object.

      Overrides:

      toString in class Object

      Returns:

      a string representation of this InputMethodTextRun object.

© 2008, 2025, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from JavaFX API Documentation.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Java, JavaFX and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API