2.1.3.5.1. pyfx.view.json_lib.json_listwalker.JSONListWalker

class JSONListWalker(content, node_factory=<pyfx.view.json_lib.json_node_factory.JSONNodeFactory object>)

A urwid.ListWalker implementation specifically for walking a tree composed of JSONSimpleNode.

Methods

__init__(content[, node_factory])

get_focus()

This default implementation relies on a focus attribute and a __getitem__() method defined in a subclass.

get_next(position)

This default implementation relies on a next_position() method and a __getitem__() method defined in a subclass.

get_prev(position)

This default implementation relies on a prev_position() method and a __getitem__() method defined in a subclass.

set_focus(focus)

Attributes

signals

get_focus()

This default implementation relies on a focus attribute and a __getitem__() method defined in a subclass.

Override and don’t call this method if these are not defined.

get_next(position)

This default implementation relies on a next_position() method and a __getitem__() method defined in a subclass.

Override and don’t call this method if these are not defined.

get_prev(position)

This default implementation relies on a prev_position() method and a __getitem__() method defined in a subclass.

Override and don’t call this method if these are not defined.