2.1.3.3.1. pyfx.view.json_lib.json_composite_node.JSONCompositeNode¶
- class JSONCompositeNode(key, value, node_factory, parent=None, display_key=True)¶
base node represents a JSON object or array type, also a non-leaf node in the whole parsed tree.
Methods
__init__(key, value, node_factory[, parent, ...])collapse_all()get_depth()get_end_node()get_first_child()get_key()get_last_child()get_parent()get_root()lazy getter for root
get_start_widget()get_unexpanded_widget()get_value()cache and return the widget for the current node
has_children()is_display_key()is_end_node()is_expanded()is_root()load_end_node()load_start_widget()load_unexpanded_widget()load_widget()next_child(key)next_sibling()prev_child(key)prev_sibling()toggle_expanded()- get_widget()¶
cache and return the widget for the current node