| Package | Description | 
|---|---|
| javafx.scene.control | 
 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
IndexRange | 
TextFormatter.Change.getSelection()
Gets the selection of this change. 
 | 
IndexRange | 
TextInputControl.getSelection()
Gets the value of the property selection. 
 | 
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 | 
IndexRange.valueOf(String value)
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ReadOnlyObjectProperty<IndexRange> | 
TextInputControl.selectionProperty()
The current selection. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
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. 
 | 
| Constructor and Description | 
|---|
IndexRange(IndexRange range)
Creates an instance of IndexRange by copying the values from the
 given IndexRange object. 
 | 
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.