Top Description Fields Constructors Methods
org.fxmisc.richtext

public Class SelectionPath

extends Path
Class Inheritance
Imports
javafx.beans.property.ObjectProperty, javafx.css.CssMetaData, .StyleConverter, .Styleable, .StyleableObjectProperty, javafx.scene.control.IndexRange, javafx.scene.paint.Color, .Paint, javafx.scene.shape.Path, org.reactfx.value.Val, java.util.ArrayList, .Collections, .List

A Path used to render a portion of a mulit-paragraph selection or all of a single-paragraph selection with additional CSS styling; it does not have a style class associated with it.

Field Summary

Modifier and TypeField and Description
private static final List<CssMetaData<? extends Styleable, ?>>
private static final CssMetaData<SelectionPath, Paint>
private final StyleableObjectProperty<Paint>
private final Val<IndexRange>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public static List<CssMetaData<? extends Styleable, ?>>
getClassCssMetaData()

Hides javafx.scene.shape.Shape.getClassCssMetaData.

Gets the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.

public List<CssMetaData<? extends Styleable, ?>>
getCssMetaData()

Overrides javafx.scene.shape.Shape.getCssMetaData.

Implements javafx.css.Styleable.getCssMetaData.

This method should delegate to Node#getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.

public final Paint
public final ObjectProperty<Paint>
highlightFillProperty()

Background fill for highlighted/selected text.

pack-priv final Val<IndexRange>
public final void
public String
toString()

Overrides javafx.scene.shape.Path.toString.

Returns a string representation of this Path object.

Inherited from javafx.scene.shape.Path:
fillRulePropertygetElementsgetFillRulesetFillRule

Field Detail

CSS_META_DATA_LISTback to summary
private static final List<CssMetaData<? extends Styleable, ?>> CSS_META_DATA_LIST
HIGHLIGHT_FILLback to summary
private static final CssMetaData<SelectionPath, Paint> HIGHLIGHT_FILL
highlightFillback to summary
private final StyleableObjectProperty<Paint> highlightFill
rangeback to summary
private final Val<IndexRange> range

Constructor Detail

SelectionPathback to summary
pack-priv SelectionPath(Val<IndexRange> range)

Method Detail

getClassCssMetaDataback to summary
public static List<CssMetaData<? extends Styleable, ?>> getClassCssMetaData()

Hides javafx.scene.shape.Shape.getClassCssMetaData.

Doc from javafx.scene.shape.Shape.getClassCssMetaData.

Gets the CssMetaData associated with this class, which may include the CssMetaData of its superclasses.

getCssMetaDataback to summary
public List<CssMetaData<? extends Styleable, ?>> getCssMetaData()

Overrides javafx.scene.shape.Shape.getCssMetaData.

Implements javafx.css.Styleable.getCssMetaData.

Doc from javafx.scene.shape.Shape.getCssMetaData.

This method should delegate to Node#getClassCssMetaData() so that a Node's CssMetaData can be accessed without the need for reflection.

Annotations
@Override
getHighlightFillback to summary
public final Paint getHighlightFill()
highlightFillPropertyback to summary
public final ObjectProperty<Paint> highlightFillProperty()

Background fill for highlighted/selected text. Can be styled using "-fx-highlight-fill".

rangePropertyback to summary
pack-priv final Val<IndexRange> rangeProperty()
setHighlightFillback to summary
public final void setHighlightFill(Paint paint)
toStringback to summary
public String toString()

Overrides javafx.scene.shape.Path.toString.

Doc from javafx.scene.shape.Path.toString.

Returns a string representation of this Path object.

Annotations
@Override