Class Marker
java.lang.Object
jfx.incubator.scene.control.richtext.Marker
- All Implemented Interfaces:
 Comparable<Marker>
Tracks the text position in a document in the presence of edits.
- Since:
 - 24
 
- 
Property Summary
PropertiesTypePropertyDescriptionfinal ReadOnlyObjectProperty<TextPos> This property tracks the marker's position within the model (value is never null). - 
Method Summary
Modifier and TypeMethodDescriptionfinal intfinal intgetIndex()Returns the paragraph index.final intReturns the text offset within the paragraph.final TextPosGets the value of thetextPosproperty.final ReadOnlyObjectProperty<TextPos> This property tracks the marker's position within the model (value is never null). 
- 
Property Details
- 
textPos
This property tracks the marker's position within the model (value is never null).- See Also:
 
 
 - 
 - 
Method Details
- 
textPosProperty
This property tracks the marker's position within the model (value is never null).- Returns:
 - the text position property
 - See Also:
 
 - 
getTextPos
Gets the value of thetextPosproperty.- Property description:
 - This property tracks the marker's position within the model (value is never null).
 - Returns:
 - the value of the 
textPosproperty - See Also:
 
 - 
compareTo
- Specified by:
 compareToin interfaceComparable<Marker>
 - 
getIndex
public final int getIndex()Returns the paragraph index.- Returns:
 - the paragraph index
 
 - 
getOffset
public final int getOffset()Returns the text offset within the paragraph.- Returns:
 - the offset value
 
 
 -