|
self | topsDrillDownPanel (varargin) |
| Show an item and sub elements, fields, and properties as a tree. More...
|
|
nodes | childNodesForExpand (self, tree, value) |
| Create new child nodes for an expanded node. More...
|
|
self | topsTreePanel (varargin) |
| Make a new panel in the given figure. More...
|
|
| selectItem (self, tree, event) |
| Set the GUI current item from a selected node. More...
|
|
nodes | childNodesForExpand (self, tree, value) |
| Create new child nodes for an expanded node. More...
|
|
self | topsPanel (parentFigure) |
| Make a new panel in the given figure. More...
|
|
| delete (self) |
| Clear references to graphics and handle objects.
|
|
| setBaseItem (self, baseItem, baseItemName) |
| Choose the item to represent. More...
|
|
| setCurrentItem (self, currentItem, currentItemName) |
| Choose the current item. More...
|
|
| refresh (self) |
| Refresh the panel's contents.
|
|
|
nodes | nodesForNamedFields (self, item, itemPath) |
| Make uitreenode nodes for a scalar struct or object.
|
|
nodes | nodesForElements (self, item, itemPath) |
| Make uitreenode nodes for an array.
|
|
nodes | nodesForCellElements (self, item, itemPath) |
| Make uitreenode nodes for a cell array.
|
|
node | leafNodeForPrimitive (self, item, subPath) |
| Make a uitreenode node for a basic item.
|
|
| initialize (self) |
| Create and arrange fresh components.
|
|
| updateContents (self) |
| Refresh the panel's contents.
|
|
| expandToDepth (self, node, depth) |
| Expand tree nodes to the given depth. More...
|
|
node | nodeForItem (self, item, name, subPath) |
| Make a new tree node to represent the given item. More...
|
|
| initialize (self) |
| Create and arrange fresh components.
|
|
| updateContents (self) |
| Update the panel's contents (used internally)
|
|
item | subItemFromPath (self, subPath) |
| Get an item referenced below baseItem. More...
|
|
◆ topsDrillDownPanel()
Show an item and sub elements, fields, and properties as a tree.
topsDrillDownPanel shows tree that can drill down into a given "base
item". The user can view and select struct fields, object properties, and cell array elements, to arbitrary depth. Each selection updates the "current item" of a Tower of Psych GUI. Make a new panel in the given figure.
- Parameters
-
Creates a new topsDrillDownPanel. parentFigure must be a topsFigure object, otherwise the panel won't display any content.
◆ childNodesForExpand()
nodes childNodesForExpand |
( |
self |
, |
|
|
tree |
, |
|
|
value |
|
|
) |
| |
Create new child nodes for an expanded node.
- Parameters
-
tree | uitree object or a "peer" object |
value | value associated with the expanding node |
Creates new uitreenode objects for a node that is currently expanding, based on the value of baseItem, the sub-path for the expanding node, and any sub-items beneath the expanding node.
The documentation for this class was generated from the following file: