Top Description Fields Constructors Methods
com.sun.javafx.text

public final Class PrismCaretInfo

extends CaretInfo
Class Inheritance
Imports
java.util.Objects, javafx.geometry.Rectangle2D, javafx.scene.text.CaretInfo

CaretInfo as reported by the PrismTextLayout.

Field Summary

Modifier and TypeField and Description
private final Rectangle2D[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Rectangle2D
getSegmentAt(int index)

Implements abstract javafx.scene.text.CaretInfo.getSegmentAt.

Returns the geometry of the segment at the specified index.

public int
getSegmentCount()

Implements abstract javafx.scene.text.CaretInfo.getSegmentCount.

Returns the number of segments representing the caret.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Field Detail

partsback to summary
private final Rectangle2D[] parts

Constructor Detail

PrismCaretInfoback to summary
public PrismCaretInfo(Rectangle2D[] parts)

Method Detail

getSegmentAtback to summary
public Rectangle2D getSegmentAt(int index)

Implements abstract javafx.scene.text.CaretInfo.getSegmentAt.

Doc from javafx.scene.text.CaretInfo.getSegmentAt.

Returns the geometry of the segment at the specified index.

Annotations
@Override
getSegmentCountback to summary
public int getSegmentCount()

Implements abstract javafx.scene.text.CaretInfo.getSegmentCount.

Doc from javafx.scene.text.CaretInfo.getSegmentCount.

Returns the number of segments representing the caret.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override