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

Add disabled property to CheckBoxTreeItem

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 8u66
    • 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.

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

              Created:
              Updated: