changeset 1362:00b1f42f76da

[DOC ONLY] Clarifying purpose of promptText property in ComboBoxBase.
author jgiles
date Mon, 25 Jun 2012 14:07:38 +1200
parents 96d95ad7e603
children a7050a4850da
files javafx-ui-controls/src/javafx/scene/control/ComboBoxBase.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/javafx-ui-controls/src/javafx/scene/control/ComboBoxBase.java	Mon Jun 25 14:06:57 2012 +1200
+++ b/javafx-ui-controls/src/javafx/scene/control/ComboBoxBase.java	Mon Jun 25 14:07:38 2012 +1200
@@ -209,7 +209,9 @@
     // --- prompt text
     /**
      * The {@code ComboBox} prompt text to display, or <tt>null</tt> if no 
-     * prompt text is displayed.
+     * prompt text is displayed. Prompt text is not displayed in all circumstances,
+     * it is dependent upon the subclasses of ComboBoxBase to clarify when
+     * promptText will be shown.
      */
     private StringProperty promptText = new SimpleStringProperty(this, "promptText", "") {
         @Override protected void invalidated() {