What are the first two parameters?

I assume model is the "actual model" i.e. the element on the jsp page.

What is parent?

Thanks,

--Todd    

public BaseTreeNode(TreeModel model,
            BaseTreeNode parent, String type, String identifier,
            String name, boolean leaf) {
        this.model = model;
        this.type = type;
        this.parent = parent;
        this.identifier = identifier;
        this.name = name;
        
        if (leaf)
            children = Collections.emptyList();
    }

Reply via email to