Class TreeTableNode

Superclasses :
gui::Node
Package :
gui

A node in a TreeTable. It provides the column data for the extra (non-tree) columns. For example if the TreeTable's columns were named A, B, C, then a TreeTableNode might be created as follows :-

Example :
n := TreeTableNode("label=Col A label")
n.set_col_data(["Col B data", "Col C data"])
Source

Class summary
Methods inherited from gui::Node
add(n) clear_always_expandable() clear_children() delete_node(n) expand() generate_all_postorder() generate_all_preorder() generate_open_postorder() generate_open_preorder() get_children() get_label() get_parent_node() is_expanded() set_always_expandable() set_bmps(x) set_label(x) set_one(attr, val) toggle_expanded()
Variables inherited from gui::Node
always_expandable_flag bmps depth draw_line is_expanded_flag label parent_node subnodes
Methods inherited from util::SetFields
as_attrib(attr, val) attrib(a[]) cset_val(attr, val) field_error(s) int_val(attr, val) int_vals(attr, val, n) numeric_val(attr, val) numeric_vals(attr, val, n) set_fields(l) set_one(attr, val) string_val(attr, val) string_vals(attr, val, n) test_flag(attr, val)
Methods inherited from lang::Object
clone(seen) equals(other, seen) get_class() get_class_name() get_id() hash_code(depth, seen) is_instance(name) to_string(depth, seen)
Methods defined in this class
get_col(c) initially() set_col_data(l)
Variables defined in this class
col_data

Method detail

get_col(c)

Get the data for column number c, where c ranges from 2 up; fails if not available.
Source

initially()

Overrides initially() in gui::Node

set_col_data(l)

Set the column data to fill the columns 2 onwards.
Source

Variable detail

col_data