Gets the new anchor.
Gets the new anchor. This value will always be > 0 and
<= controlNewText.Length
The new anchor position
Sets the anchor.
Sets the anchor. The anchor value must be > 0 and
<= controlNewText.Length
. Note that there
is an order dependence here, in that the position should be
specified after the new text has been specified.
The new anchor position
Gets the new caret position.
Gets the new caret position. This value will always be > 0 and
<= controlNewText.Length
The new caret position
Sets the caret position.
Sets the caret position. The caret position value must be > 0 and
<= controlNewText.Length
. Note that there
is an order dependence here, in that the position should be
specified after the new text has been specified.
The new caret position
Gets the control associated with this change.
Gets the control associated with this change.
The control associated with this change. This will never be null.
Gets the current anchor position of the control.
Gets the current anchor position of the control.
The previous anchor
Gets the current caret position of the control.
Gets the current caret position of the control.
The previous caret position
Gets the complete new text which will be used on the control after this change.
Gets the complete new text which will be used on the control after this change. Note that some controls (such as TextField) may do further filtering after the change is made (such as stripping out newlines) such that you cannot assume that the newText will be exactly the same as what is finally set as the content on the control, however it is correct to assume that this is the case for the purpose of computing the new caret position and new anchor position (as those values supplied will be modified as necessary after the control has stripped any additional characters that the control might strip).
The controls proposed new text at the time of this call, according to the state set for start, end, and text properties on this Change object.
This is the full text that control has before the change.
This is the full text that control has before the change. To get the text
after this change, use controlNewText
.
the previous text of control
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Object to be compared.
if the other object is equals to this delegate or not.
The delegate hashcode
Gets the end index into the TextInputControl.text
for the modification.
Gets the end index into the TextInputControl.text
for the modification. This will always be a value > angeStart
and
<= TextInputControl.length
.
The end index
Gets the start index into the TextInputControl.text
for the modification.
Gets the start index into the TextInputControl.text
for the modification. This will always be a value > 0 and
<= TextInputControl.length
.
The start index
Gets the selection of this change.
Gets the selection of this change. Note that the selection range refers to controlNewText
, not
the current control text.
The selected range of this change.
Gets the text used in this change.
Gets the text used in this change. For example, this may be new text being added, or text which is replacing all the control's text within the range of start and end. Typically it is an empty string only for cases where the range is being deleted.
The text involved in this change. This will never be null.
Sets the text to use in this change.
Sets the text to use in this change. This is used to replace the range from start to end, if such a range exists, or to insert text at the position represented by start == end.
The text. This cannot be null.
Returns the original delegate's toString()
adding a [SFX]
prefix.
Contains the state representing a change in the content or selection for a
TextInputControl
.Wraps a JavaFX https://docs.oracle.com/javase/8/javafx/api/javafx/scalafx/scene/control/TextFormatter.Change.html