class
Opal::UI::TreeNode
- Opal::UI::TreeNode
- Reference
- Object
Overview
Node in a hierarchical tree view.
Defined in:
opal/ui/components/tree.crConstructors
Instance Method Summary
- #add(child : TreeNode) : TreeNode
- #add(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil) : TreeNode
- #add(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil, &block : TreeNode -> Nil) : TreeNode
- #children : Array(TreeNode)
- #color : Color
- #icon : String | Nil
- #label : String
Constructor Detail
Instance Method Detail
def add(label : String, color : Color | Symbol | String = :white, icon : String | Nil = nil) : TreeNode
#