Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8127395

ChoiceBox javadoc describes non-existing functionality (option regarding null values)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:
    • Environment:

      javafx-sdk2.1.0-beta-b17

      Description

      ChoiceBox javadoc contains the following:

      "The ChoiceBox can be configured either to support null as a valid choice, or to prohibit it. In the case that it is prohibited, there will always be some item that is selected, as long as there is at least one item defined. By default, no item is selected unless otherwise specified. In the case that null is acceptable, a default entry may be inserted into the list of choices at the top, with a name similar to "None" and localized for different Locales."

      However there is nothing in the API that allows specify whether support of prohibit null values.

        Attachments

          Activity

            People

            Assignee:
            psomashe Parvathi Somashekar (Inactive)
            Reporter:
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved:
              Imported: