Add disabled property to CheckBoxTreeItem

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 8u66
    • Component/s: javafx
    • x86_64
    • windows_7

      A DESCRIPTION OF THE REQUEST :
      javafx.scene.control.CheckBoxTreeItem should provide a "disabled" property similar to javafx.scene.control.CheckBox.



      JUSTIFICATION :
      There are useful cases where a tree must be displayed with containg pre-selected items that must not be selected or de-selected by the user.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      item = new CheckBoxTreeItem();
      item.setSelected(true);
      item.setDisabled(true);

      The item shall be rendered the same way as a disabled CheckBox is rendered and all user action shall be ignored.

            Assignee:
            Unassigned
            Reporter:
            Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: