Class TreeFilterDefault

  • All Implemented Interfaces:
    TreeFilter

    public class TreeFilterDefault
    extends Object
    implements TreeFilter
    default Tree filter, allows display all element menu without restriction (spaces, all components, themes)
    • Constructor Detail

      • TreeFilterDefault

        public TreeFilterDefault()
    • Method Detail

      • acceptNodeType

        public boolean acceptNodeType​(NodeType node)
        Description copied from interface: TreeFilter
        checks if indicated node type is authorized.
        Specified by:
        acceptNodeType in interface TreeFilter
        Parameters:
        node - node type to check
        Returns:
        true whether the node type is authorized
      • setComponents

        public void setComponents​(List<String> componentList)
        Description copied from interface: TreeFilter
        sets the list of authorized components which can appear in the menu
        Specified by:
        setComponents in interface TreeFilter