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

Properties and Events

Property concurrentIconFile = 'filmIcon.gif'
 Show the high-level structure of a task/game. More...
 
- 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
 

Methods

self topsRunnablesPanel (varargin)
 Make a new panel in the given figure. 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 nodesForRunnableChildren (self, runnable, itemPath)
 Make uitreenode nodes for a runnable's children, if any.
 
node nodeForRunnable (self, runnable, subPath)
 Make a uitreenode to represent a topsRunnable object. More...
 
- 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

- 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

◆ topsRunnablesPanel()

self topsRunnablesPanel ( varargin  )

Make a new panel in the given figure.

Parameters
parentFiguretopsFigure to work with

Creates a new topsRunnablesPanel. 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 the baseItem topsRunnable, the sub-path for the expanding node, and any children beneath the expanding node's runable.

◆ nodeForRunnable()

node nodeForRunnable ( self  ,
runnable  ,
subPath   
)
protected

Make a uitreenode to represent a topsRunnable object.

Parameters
runnablea topsRunnableObject
namestring name for the item
subPathstring sub-path path from baseItem to runnable

Makes a new uitreenode to represent the given runnable. Different topsRunnable subclasses may have special formatting.

Properties and Events

◆ concurrentIconFile

Property concurrentIconFile = 'filmIcon.gif'

Show the high-level structure of a task/game.

topsRunnablesPanel shows an expanded tree which summarizes all the topsRunnable objects that make up an experiment or game. The user can select each runnable to view more details about it, and set the curent item of the Tower of Psych GUI. filename for icon that represents topsConcurrent objects


The documentation for this class was generated from the following file: