Top Constructors Methods
org.fxmisc.richtext

pack-priv Class LineSelection<PS, SEG, S>

extends SelectionImpl<PS, SEG, S>
Class Inheritance
Imports
javafx.beans.property.ObjectProperty, javafx.collections.ListChangeListener.Change, javafx.scene.paint.Color, .Paint, javafx.scene.shape.LineTo, .PathElement

Constructor Summary

AccessConstructor and Description
pack-priv
LineSelection(GenericStyledArea<PS, SEG, S> area, ObjectProperty<Paint> lineHighlighterFill)

Method Summary

Modifier and TypeMethod and Description
public void
deselect()

Overrides default org.fxmisc.richtext.Selection.deselect.

Clears the selection via selectRange(getStartPosition(), getStartPosition()).

public void
public void
selectRange(int start, int end)

Overrides org.fxmisc.richtext.SelectionImpl.selectRange.

Implements org.fxmisc.richtext.Selection.selectRange.

Selects the given range.

Inherited from org.fxmisc.richtext.SelectionImpl:
beingUpdatedPropertycompareToconfigureSelectionPathdisposeendColumnPositionPropertyendParagraphIndexPropertyendPositionPropertyequalsgetAreagetEndColumnPositiongetEndParagraphIndexgetEndPositiongetLengthgetParagraphSpangetRangegetSelectedDocumentgetSelectedTextgetSelectionBoundsgetSelectionNamegetStartColumnPositiongetStartParagraphIndexgetStartPositionhashCodeisBeingUpdatedlengthPropertyparagraphSpanPropertyrangePropertyselectAllselectedDocumentPropertyselectedTextPropertyselectionBoundsPropertyselectParagraphselectRangeselectWordstartColumnPositionPropertystartParagraphIndexPropertystartPositionPropertytoStringupdateEndByupdateEndByBreaksBackwardupdateEndByBreaksForwardupdateEndToupdateEndToupdateStartByupdateStartByBreaksBackwardupdateStartByBreaksForwardupdateStartToupdateStartTo

Constructor Detail

LineSelectionback to summary
pack-priv LineSelection(GenericStyledArea<PS, SEG, S> area, ObjectProperty<Paint> lineHighlighterFill)

Method Detail

deselectback to summary
public void deselect()

Overrides default org.fxmisc.richtext.Selection.deselect.

Doc from org.fxmisc.richtext.Selection.deselect.

Clears the selection via selectRange(getStartPosition(), getStartPosition()).

Annotations
@Override
selectCurrentLineback to summary
public void selectCurrentLine()
selectRangeback to summary
public void selectRange(int start, int end)

Overrides org.fxmisc.richtext.SelectionImpl.selectRange.

Implements org.fxmisc.richtext.Selection.selectRange.

Doc from org.fxmisc.richtext.Selection.selectRange.

Selects the given range.

Annotations
@Override