dev.zhengxiang.component.iview.IViewTree Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of frontend Show documentation
Show all versions of frontend Show documentation
Frontend component object
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 extends IViewTree> 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 extends IViewTree> getChildren() {
return children;
}
public void setChildren(List extends IViewTree> children) {
this.children = children;
}
/* constructor */
public IViewTree() {
}
public IViewTree(String title, boolean expand, List extends IViewTree> children) {
this.title = title;
this.expand = expand;
this.children = children;
}
}