TreeController<TypeID extends Object, TypeData> class
樹控制器
Constructors
- TreeController({TreeItemSort? sort})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
no setter
- isNotEmpty → bool
-
no setter
-
root
→ TreeValueController<
TypeID, TypeData> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sort → TreeItemSort?
-
final
Methods
-
add(
TreeValue< TypeID, TypeData> value, {TypeID? parentID}) → bool - 向樹添加一個節點
-
clear(
) → void - 清空節點
-
containsKey(
TypeID id) → bool - 如果節點存在返回 true
-
controller(
TypeID id) → TreeValueController< Object, dynamic> ? - 如果節點存在返回控制器
-
forChecked(
ForEach f) → void -
forEach(
ForEach f) → dynamic -
forTopChecked(
ForEach f) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
TypeID id) → bool - 從樹中刪除節點
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited