Class TreeViewModel

    • Constructor Detail

      • TreeViewModel

        public TreeViewModel()
        Constructor
    • Method Detail

      • load

        protected final List<? extends TreeNode<?>> load()
        Specified by:
        load in class org.apache.wicket.model.LoadableDetachableModel<List<? extends TreeNode<?>>>
      • load

        protected abstract List<? extends TreeNode<?>> load​(int nodeId)
        Loads children nodes of specified nodeId
        Parameters:
        nodeId - the (parent) node-id
        Returns:
        the list of children TreeNode
      • setNodeId

        public void setNodeId​(int nodeId)
        Sets the node-id
        Parameters:
        nodeId - the node-id