MasterScan  Lab_Matlab_control Master Branch
List of all members | Methods | Protected Methods
topsDrillDownPanel Class Reference
Inheritance diagram for topsDrillDownPanel:
Inheritance graph
[legend]

Methods

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...
 
- Methods inherited from topsTreePanel
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...
 
- Methods inherited from topsPanel
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.
 

Protected Methods

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.
 
- Protected Methods inherited from topsTreePanel
 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...
 
- Protected Methods inherited from topsPanel
 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...
 

Additional Inherited Members

- Properties and Events inherited from topsTreePanel
Property autoExpandDepth = 1
 Show an collection of items with a tree browser. More...
 
- Properties and Events inherited from topsPanel
Property isLocked = false
 The bottom-level container for Tower of Psych GUIs. More...
 
Property isBaseItemTitle = false
 whether to show a title for baseItem
 
- Protected Properties inherited from topsTreePanel
Property tree
 the uitree for displaying items connected to baseItem
 
Property treeContainer
 the graphical container of the tree
 
- Protected Properties inherited from topsPanel
Property parentFigure
 the topsFigure that holds this panel
 
Property pan
 the Matlab uipanel
 
Property currentItem
 the "current item" in use in the GUI
 
Property currentItemName
 name to give the "current item"
 
Property baseItem
 the item this panel is representing
 
Property baseItemName
 name to give baseItem
 

Constructor

◆ topsDrillDownPanel()

self topsDrillDownPanel ( varargin  )

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
parentFiguretopsFigure to work with

Creates a new topsDrillDownPanel. parentFigure must be a topsFigure object, otherwise the panel won't display any content.

Methods

◆ childNodesForExpand()

nodes childNodesForExpand ( self  ,
tree  ,
value   
)

Create new child nodes for an expanded node.

Parameters
treeuitree object or a "peer" object
valuevalue 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: