public class TreeModel extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addChild(TreeModel child) |
static <T extends TreeModel> |
build(List<T> models) |
boolean |
equals(Object obj) |
List<TreeModel> |
getChildren() |
String |
getId() |
String |
getName() |
String |
getParentId() |
int |
getSort() |
String |
getValue() |
int |
hashCode() |
boolean |
isChecked() |
boolean |
isDisabled() |
boolean |
isLeaf() |
void |
setChecked(boolean checked) |
void |
setChildren(List<TreeModel> children) |
void |
setDisabled(boolean disabled) |
void |
setId(String id) |
void |
setName(String name) |
void |
setParentId(String parentId) |
void |
setSort(int sort) |
void |
setValue(String value) |
public String getId()
public void setId(String id)
public String getName()
public void setName(String name)
public String getValue()
public void setValue(String value)
public String getParentId()
public void setParentId(String parentId)
public boolean isChecked()
public void setChecked(boolean checked)
public boolean isDisabled()
public void setDisabled(boolean disabled)
public int getSort()
public void setSort(int sort)
public void addChild(TreeModel child)
public boolean isLeaf()
Copyright © 2025. All rights reserved.