Skip to content

Commit

Permalink
Fix typos in TextFormatter.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nlisker authored Sep 4, 2024
1 parent a4de9d8 commit 4b14a8b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public TextFormatter(@NamedArg("valueConverter") StringConverter<V> valueConvert
/**
* The converter between the values and text.
* It maintains a "binding" between the {@link javafx.scene.control.TextInputControl#textProperty()} }
* and {@link #valueProperty()} }. The value is updated when the control loses it's focus or it is commited (TextField only).
* and {@link #valueProperty()} }. The value is updated when the control loses it's focus or it is committed (TextField only).
* Setting the value will update the text of the control, usin the provided converter.
*
* If it's impossible to convert text to value, an exception should be thrown.
Expand All @@ -143,7 +143,7 @@ public final UnaryOperator<Change> getFilter() {

/**
* The current value for this formatter. When the formatter is set on a {@code TextInputControl} and has a
* {@code valueConverter}, the value is set by the control, when the text is commited.
* {@code valueConverter}, the value is set by the control, when the text is committed.
*/
private final ObjectProperty<V> value = new ObjectPropertyBase<>() {

Expand Down

0 comments on commit 4b14a8b

Please sign in to comment.