2.1.3.8.1. pyfx.view.json_lib.json_simple_node.JSONSimpleNode

class JSONSimpleNode(key, value, parent=None, display_key=True)

Leaf node to store JSON contents and cache JSONWidget.

_key

accessor token for parent nodes.

Type:

Any

_value

subclass-specific data.

Type:

Any

_parent

a node which contains a pointer back to this object.

Type:

JSONCompositeNode

_depth

the depth of the current node.

Type:

int

_root

the root of the whole tree.

Type:

JSONSimpleNode

_widget

the widget used to render the object.

Type:

JSONWidget

Methods

__init__(key, value[, parent, display_key])

get_depth()

get_key()

get_parent()

get_root()

lazy getter for root

get_value()

get_widget()

cache and return the widget for the current node

is_display_key()

is_end_node()

is_expanded()

is_root()

load_widget()

next_sibling()

prev_sibling()

get_root()

lazy getter for root

get_widget()

cache and return the widget for the current node