Module MaterialFX

Class MFXCheckTreeView<T>

Type Parameters:
T - The type of the data within the items.
All Implemented Interfaces:
Styleable, EventTarget, Skinnable

public class MFXCheckTreeView<T> extends MFXTreeView<T>
This is the container for a tree made of MFXCheckTreeItems.

Note: this could also work with other item classes since the TreeCheckModel extends TreeSelectionModel, but of course it is not recommended to do so.

  • Constructor Details

    • MFXCheckTreeView

      public MFXCheckTreeView()
    • MFXCheckTreeView

      public MFXCheckTreeView(MFXCheckTreeItem<T> root)
  • Method Details

    • getCheckModel

      public TreeCheckModel<T> getCheckModel()
    • installSelectionModel

      protected void installSelectionModel()
      Overridden method to install a TreeCheckModel.

      By default it is set to allow multiple selection.

      Overrides:
      installSelectionModel in class MFXTreeView<T>