All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.zhengxiang.component.iview.IViewTree Maven / Gradle / Ivy

The newest version!
package dev.zhengxiang.component.iview;

import java.util.List;

/**
 * iView Tree 树形控件
 * http://iview.talkingdata.com/#/components/tree
 */
public class IViewTree {

    /**
     * 标题
     */
    private String title;

    /**
     * 是否展开
     */
    private boolean expand;

    /**
     * 子节点
     */
    private List children;

    /* getter setter */
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public boolean isExpand() {
        return expand;
    }

    public void setExpand(boolean expand) {
        this.expand = expand;
    }

    public List getChildren() {
        return children;
    }

    public void setChildren(List children) {
        this.children = children;
    }

    /* constructor */
    public IViewTree() {
    }

    public IViewTree(String title, boolean expand, List children) {
        this.title = title;
        this.expand = expand;
        this.children = children;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy