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

CheckBox should have one property that combines both selected and indeterminate

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • any

      It certainly is good to see indeterminate is supported in the core (unlike JCheckBox). But coming from a business model background I see the need to write a wrapper on top of it, because in the business model the indeterminate state is not something separate from the actual value; a boolean itself can have three values: true, false and null. So binding the checkbox to a business model directly is not possible with the current implementation in JFX; we need to introduce a virtual Boolean (capital is intentional) property that deligates to selected and indeterminate.

            psomashe Parvathi Somashekar (Inactive)
            tbee Tom Eugelink
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: