Uses of Class
javafx.scene.control.IndexRange
Packages that use IndexRange
Package
Description
The JavaFX User Interface Controls (UI Controls or just Controls) are
specialized Nodes in the JavaFX Scenegraph especially suited for reuse in
many different application contexts.
-
Uses of IndexRange in javafx.scene.control
Methods in javafx.scene.control that return IndexRangeModifier and TypeMethodDescriptionfinal IndexRange
TextFormatter.Change.getSelection()
Gets the selection of this change.final IndexRange
TextInputControl.getSelection()
Gets the value of theselection
property.static IndexRange
IndexRange.normalize
(int v1, int v2) Convenience method to create an IndexRange instance that has the smaller value as the start index, and the larger value as the end index.static IndexRange
Convenience method to parse in a String of the form '2,6', which will create an IndexRange instance with a start value of 2, and an end value of 6.Methods in javafx.scene.control that return types with arguments of type IndexRangeModifier and TypeMethodDescriptionfinal ReadOnlyObjectProperty
<IndexRange> TextInputControl.selectionProperty()
The current selection.Methods in javafx.scene.control with parameters of type IndexRangeModifier and TypeMethodDescriptionvoid
TextInputControl.deleteText
(IndexRange range) Removes a range of characters from the content.void
TextInputControl.replaceText
(IndexRange range, String text) Replaces a range of characters with the given text.Constructors in javafx.scene.control with parameters of type IndexRangeModifierConstructorDescriptionIndexRange
(IndexRange range) Creates an instance of IndexRange by copying the values from the given IndexRange object.