public class TreeComponentDTO extends Object implements Serializable
构造器和说明 |
---|
TreeComponentDTO() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
addChild(TreeComponentDTO child)
添加子节点
|
String |
getAction() |
Map<String,Object> |
getAdditionalProperties() |
Boolean |
getChecked() |
List<TreeComponentDTO> |
getChildren() |
String |
getCls() |
String |
getId() |
Boolean |
getLeaf() |
TreeComponentDTO |
getParent() |
String |
getText() |
String |
getValue() |
boolean |
isExpanded()
是否需要展开
|
void |
setAction(String action) |
void |
setAdditionalProperties(Map<String,Object> additionalProperties) |
void |
setAdditionalProperties(String name,
Object value) |
void |
setChecked(Boolean checked) |
void |
setChildren(List<TreeComponentDTO> children) |
void |
setCls(String cls) |
void |
setExpanded(boolean expanded)
设置展开
|
void |
setId(String id) |
void |
setLeaf(Boolean leaf) |
boolean |
setParent(TreeComponentDTO parent)
设置父节点
|
void |
setText(String text) |
void |
setValue(String value) |
public boolean isExpanded()
public void setExpanded(boolean expanded)
expanded
- true 展开public boolean setParent(TreeComponentDTO parent)
parent
- 父节点public boolean addChild(TreeComponentDTO child)
child
- 需要添加的节点public void setAdditionalProperties(String name, Object value)
name
- the addition property namevalue
- the value to setpublic String getId()
public void setId(String id)
id
- the id to setpublic String getText()
public void setText(String text)
text
- the text to setpublic Boolean getLeaf()
public void setLeaf(Boolean leaf)
leaf
- the leaf to setpublic String getCls()
public void setCls(String cls)
cls
- the cls to setpublic List<TreeComponentDTO> getChildren()
public void setChildren(List<TreeComponentDTO> children)
children
- the children to setpublic String getValue()
public void setValue(String value)
value
- the value to setpublic String getAction()
public void setAction(String action)
action
- the action to setpublic TreeComponentDTO getParent()
public void setAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties to setpublic Boolean getChecked()
public void setChecked(Boolean checked)
checked
- the checked to setCopyright © 2014 EPIC Team. All rights reserved.