Documentation for /home/davin/idl/socware/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

spedas/gui/objects/

spd_ui_widget_tree__define.pro


NAME: spd_ui_widget_tree__define.pro PURPOSE: Object representing the loaded data tree compound widget. CALLING SEQUENCE: wt = obj_new('spd_ui_widget_tree',parentid,uvalue,loadedData,xsize=200,ysize=200,mode=1) Examples: 1. widget_control,event.id,get_value=val print, val->getvalue() 2. obj = obj_new('spd_ui_widget_tree,tlb,'TREE',loadedData,uname='TREE_NAME') id = widget_info(find_by_uname='TREE_NAME') widget_control,id,get_value=val print,val->getvalue() val->setProperty,multi=0 Attributes: uvalue: the user value that will be returned by event handler uname: the user name that can be used to identify the widget xsize: the x axis length of the tree viewing area(scrollbars will be added automatically) ysize: the y axis length of the tree viewing area(scrollbars will be added automatically) mode: the visualization/selection mode(see NOTES below) multi: whether multiple selections with ctrl/shift click are allowed leafonly: 1: indicates selection may be only made at the lowest level of the tree 0: indicates selections may be done at any point in the tree NOTES: There are 4-different selection modes for this widget. Each selection mode will be appropriate for different panels. Mode 0: tplot-layout selection, data-processing selection, loaded-data-selection Mode 1 : variable-selection, x-layout selection, y-lineplot-layout selection line-trace selection. save-data-as Mode 2 : y-spectra-layout selection z-spectra-layout selection (possibly data-processing) Mode 3 : Calculate Panel Possibly future versions of data analysis Mode Descriptions Mode 0 is a tplot-like selection. It provides access to only the groupname and doesn't let the user drill down into internal quantities. When values are returned from mode 0, an array of pointers to structs that store that names of the contained variables will be returned. (or 0 on fail) Mode 1 is a 1-D component selection. It allows the user to look at and select internal 1-d quantities, When values are returned from mode 1, an array of strings will be returned. (or 0 on fail) Mode 2 is a 2-D component selection. It allows the user to look at and select any 2-d quantities. In mode 2 yaxis-values will not be grouped inside their containing group, instead they will be grouped side-by-side with their containing group. Values returned from mode 2 will be an array of strings of groupnames. (or 0 on fail) Mode 3 allows selection of either group quantities('tha_state_pos') or components('tha_state_pos_x'), but does not allow branch selection. (ie Cannot grab spedas and get all quantities.) Public Methods: update: Call this routine after loaded data has been changed by some other process getProperty: Use this to get the current widget_tree settings setProperty: Use this to change the current widget_tree settings getValue(): Use this to return a list of the current selections. The other methods should NOT be called by external code. Making code that uses them will make this code very difficult to maintain. So if you need a feature, just request that it be added instead. HISTORY: $LastChangedBy: jimm $ $LastChangedDate: 2014-02-11 10:54:32 -0800 (Tue, 11 Feb 2014) $ $LastChangedRevision: 14326 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/spedas/gui/objects/spd_ui_widget_tree__define.pro $

Class description for spd_ui_widget_tree

Properties

Properties in spd_ui_widget_tree

from_copy init
leafonly get set init
mode get set init
multi get set init
selected init
showdatatime get
showdatetime set init
uname get set init
uvalue get set
xsize get set init
ysize get set init

Fields

Fields in spd_ui_widget_tree

CONTEXT 0L
CONTEXT_WIDTH 0L
ID 0L
LD obj_new()
LEAFMAP bytarr(16, 16, 3)
LEAFONLY 0L
MODE 0L
MULTI 0L
NODEMAP bytarr(16, 16, 3)
PARENT 0L
ROOT 0L
SHOWDATETIME 0B
SKIP_EVENT 0B
STASH 0L
UNAME ''
UVALUE ''
XSIZE 0L
YSIZE 0L

Routines

Routines from spd_ui_widget_tree__define.pro

spd_ui_widget_tree::update, selected=selected, from_copy=from_copy
spd_ui_widget_tree::getProperty, uvalue=uvalue, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, leafonly=leafonly, showdatatime=showdatatime
spd_ui_widget_tree::setProperty, uvalue=uvalue, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, leafonly=leafonly, showdatetime=showdatetime
result = spd_ui_widget_tree::getCopy()
result = spd_ui_widget_tree::getValue()
result = spd_ui_widget_tree::getValueRecursive(widget, selected)
result = spd_ui_widget_tree::getValueGroup(widget, selected)
result = spd_ui_widget_tree::getGroupValueRecursive(widget, selected)
result = spd_ui_widget_tree::formatValueGroup(names)
spd_ui_widget_tree::collapseNode, node
spd_ui_widget_tree::copyexpansion, oldnode, newnode
spd_ui_widget_tree::populateTree, oldtree
spd_ui_widget_tree::addBranch, names, obj, oldtree, force=force, addchild=addchild, addyaxis=addyaxis
spd_ui_widget_tree::addChildren, parent, object, ygroup=ygroup, yobject=yobject
spd_ui_widget_tree::addGroup, parent, object, group=group
result = spd_ui_widget_tree::getChild(widget, name)
spd_ui_widget_tree::expandInterior, node, name, next_node=next_node
spd_ui_widget_tree::expandNode, node
spd_ui_widget_tree::addDummy, node
result = spd_ui_widget_tree::hasDummy(node)
spd_ui_widget_tree::removeDummy, node
spd_ui_widget_tree::setSelected, selected
spd_ui_widget_tree::setSelectedRecursive, node, selected
spd_ui_widget_tree::clearSelected
result = spd_ui_widget_tree::getDataChildren(widget, names=names)
spd_ui_widget_tree::handleContextMenuEvent, event
spd_ui_widget_tree::initContextMenu
result = spd_ui_widget_tree::handleEvent(event)
result = spd_ui_widget_tree::cleanup()
result = spd_ui_widget_tree::init(parentid, uvalue, loadedData, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, selected=selected, leafonly=leafonly, showdatetime=showdatetime, from_copy=from_copy)
result = spd_ui_widget_tree_event(event)
result = spd_ui_widget_tree_get_value(id)
spd_ui_widget_tree__define

Routine details

top source spd_ui_widget_tree::update

spd_ui_widget_tree::update, selected=selected, from_copy=from_copy

Keywords

selected
from_copy

top source spd_ui_widget_tree::getProperty

spd_ui_widget_tree::getProperty, uvalue=uvalue, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, leafonly=leafonly, showdatatime=showdatatime

Keywords

uvalue
uname
xsize
ysize
mode
multi
leafonly
showdatatime

top source spd_ui_widget_tree::setProperty

spd_ui_widget_tree::setProperty, uvalue=uvalue, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, leafonly=leafonly, showdatetime=showdatetime

Keywords

uvalue
uname
xsize
ysize
mode
multi
leafonly
showdatetime

top source spd_ui_widget_tree::getCopy

result = spd_ui_widget_tree::getCopy()

top source spd_ui_widget_tree::getValue

result = spd_ui_widget_tree::getValue()

top source spd_ui_widget_tree::getValueRecursive

result = spd_ui_widget_tree::getValueRecursive(widget, selected)

Parameters

widget
selected

top source spd_ui_widget_tree::getValueGroup

result = spd_ui_widget_tree::getValueGroup(widget, selected)

Parameters

widget
selected

top source spd_ui_widget_tree::getGroupValueRecursive

result = spd_ui_widget_tree::getGroupValueRecursive(widget, selected)

Parameters

widget
selected

top source spd_ui_widget_tree::formatValueGroup

result = spd_ui_widget_tree::formatValueGroup(names)

Parameters

names

top source spd_ui_widget_tree::collapseNode

spd_ui_widget_tree::collapseNode, node

Parameters

node

top source spd_ui_widget_tree::copyexpansion

spd_ui_widget_tree::copyexpansion, oldnode, newnode

Parameters

oldnode
newnode

top source spd_ui_widget_tree::populateTree

spd_ui_widget_tree::populateTree, oldtree

Parameters

oldtree

top source spd_ui_widget_tree::addBranch

spd_ui_widget_tree::addBranch, names, obj, oldtree, force=force, addchild=addchild, addyaxis=addyaxis

Parameters

names
obj
oldtree

Keywords

force
addchild
addyaxis

top source spd_ui_widget_tree::addChildren

spd_ui_widget_tree::addChildren, parent, object, ygroup=ygroup, yobject=yobject

Parameters

parent
object

Keywords

ygroup
yobject

top source spd_ui_widget_tree::addGroup

spd_ui_widget_tree::addGroup, parent, object, group=group

Parameters

parent
object

Keywords

group

top source spd_ui_widget_tree::getChild

result = spd_ui_widget_tree::getChild(widget, name)

Parameters

widget
name

top source spd_ui_widget_tree::expandInterior

spd_ui_widget_tree::expandInterior, node, name, next_node=next_node

Parameters

node
name

Keywords

next_node

top source spd_ui_widget_tree::expandNode

spd_ui_widget_tree::expandNode, node

Parameters

node

top source spd_ui_widget_tree::addDummy

spd_ui_widget_tree::addDummy, node

Parameters

node

top source spd_ui_widget_tree::hasDummy

result = spd_ui_widget_tree::hasDummy(node)

Parameters

node

top source spd_ui_widget_tree::removeDummy

spd_ui_widget_tree::removeDummy, node

Parameters

node

top source spd_ui_widget_tree::setSelected

spd_ui_widget_tree::setSelected, selected

Parameters

selected

top source spd_ui_widget_tree::setSelectedRecursive

spd_ui_widget_tree::setSelectedRecursive, node, selected

Parameters

node
selected

top source spd_ui_widget_tree::clearSelected

spd_ui_widget_tree::clearSelected

top source spd_ui_widget_tree::getDataChildren

result = spd_ui_widget_tree::getDataChildren(widget, names=names)

Parameters

widget

Keywords

names

top source spd_ui_widget_tree::handleContextMenuEvent

spd_ui_widget_tree::handleContextMenuEvent, event

Parameters

event

top source spd_ui_widget_tree::initContextMenu

spd_ui_widget_tree::initContextMenu

top source spd_ui_widget_tree::handleEvent

result = spd_ui_widget_tree::handleEvent(event)

Parameters

event

top source spd_ui_widget_tree::cleanup

result = spd_ui_widget_tree::cleanup()

top source spd_ui_widget_tree::init

result = spd_ui_widget_tree::init(parentid, uvalue, loadedData, uname=uname, xsize=xsize, ysize=ysize, mode=mode, multi=multi, selected=selected, leafonly=leafonly, showdatetime=showdatetime, from_copy=from_copy)

Parameters

parentid
uvalue
loadedData

Keywords

uname
xsize
ysize
mode
multi
selected
leafonly
showdatetime
from_copy

top source spd_ui_widget_tree_event

result = spd_ui_widget_tree_event(event)

Parameters

event

top source spd_ui_widget_tree_get_value

result = spd_ui_widget_tree_get_value(id)

Parameters

id

top source spd_ui_widget_tree__define

spd_ui_widget_tree__define

File attributes

Modification date: Thu Feb 13 16:41:40 2014
Lines: 899