changeset 1405:587765f2009d

[DOC ONLY] RT-23154: TextField Cells Javadoc doesn't specify clearly that StringConverter has to be set for them to work
author jgiles
date Tue, 03 Jul 2012 12:22:43 +1200
parents c74fc98bb9d4
children e26d0e3bfcb3
files javafx-ui-controls/src/javafx/scene/control/cell/TextFieldListCell.java javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTableCell.java javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTreeCell.java
diffstat 3 files changed, 15 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldListCell.java	Tue Jul 03 12:12:30 2012 +1200
+++ b/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldListCell.java	Tue Jul 03 12:22:43 2012 +1200
@@ -107,7 +107,11 @@
      **************************************************************************/    
     
     /**
-     * Creates a default TextFieldListCell with a null converter.
+     * Creates a default TextFieldListCell with a null converter. Without a 
+     * {@link StringConverter} specified, this cell will not be able to accept
+     * input from the TextField (as it will not know how to convert this back
+     * to the domain object). It is therefore strongly encouraged to not use
+     * this constructor unless you intend to set the converter separately.
      */
     public TextFieldListCell() { 
         this(null);
--- a/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTableCell.java	Tue Jul 03 12:12:30 2012 +1200
+++ b/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTableCell.java	Tue Jul 03 12:22:43 2012 +1200
@@ -109,7 +109,11 @@
      **************************************************************************/
 
     /**
-     * Creates a default TextFieldTableCell with a null converter.
+     * Creates a default TextFieldTableCell with a null converter. Without a 
+     * {@link StringConverter} specified, this cell will not be able to accept
+     * input from the TextField (as it will not know how to convert this back
+     * to the domain object). It is therefore strongly encouraged to not use
+     * this constructor unless you intend to set the converter separately.
      */
     public TextFieldTableCell() { 
         this(null);
--- a/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTreeCell.java	Tue Jul 03 12:12:30 2012 +1200
+++ b/javafx-ui-controls/src/javafx/scene/control/cell/TextFieldTreeCell.java	Tue Jul 03 12:22:43 2012 +1200
@@ -111,7 +111,11 @@
      **************************************************************************/
     
     /**
-     * Creates a default TextFieldTreeCell with a null converter.
+     * Creates a default TextFieldTreeCell with a null converter. Without a 
+     * {@link StringConverter} specified, this cell will not be able to accept
+     * input from the TextField (as it will not know how to convert this back
+     * to the domain object). It is therefore strongly encouraged to not use
+     * this constructor unless you intend to set the converter separately.
      */
     public TextFieldTreeCell() { 
         this(null);