Class TreeFilterTheme

  • All Implemented Interfaces:
    TreeFilter

    public class TreeFilterTheme
    extends Object
    implements TreeFilter
    Author:
    david derigent authorizes the displaying of themes and only the themes in the tree menu.
    • Constructor Detail

      • TreeFilterTheme

        public TreeFilterTheme()
    • 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