-
public abstract class BaseExpandNode extends BaseNode
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanisExpandedprivate final List<BaseNode>childNode
-
Constructor Summary
Constructors Constructor Description BaseExpandNode()
-
Method Summary
Modifier and Type Method Description final BooleangetIsExpanded()final UnitsetIsExpanded(Boolean isExpanded)abstract List<BaseNode>getChildNode()重写此方法,获取子节点。如果没有子节点,返回 null 或者 空数组如果返回 null,则无法对子节点的数据进行新增和删除等操作 -
-
Method Detail
-
getIsExpanded
final Boolean getIsExpanded()
-
setIsExpanded
final Unit setIsExpanded(Boolean isExpanded)
-
getChildNode
abstract List<BaseNode> getChildNode()
重写此方法,获取子节点。如果没有子节点,返回 null 或者 空数组
如果返回 null,则无法对子节点的数据进行新增和删除等操作
-
-
-
-