Package Vision :: Module StandardNodes :: Class ComboBoxNE
[hide private]
[frames] | no frames]

Class ComboBoxNE

source code

                             object --+                
                                      |                
NetworkEditor.itemBase.NetworkItemsBase --+            
                                          |            
        NetworkEditor.itemBase.NetworkItems --+        
                                              |        
            NetworkEditor.items.NetworkNodeBase --+    
                                                  |    
                    NetworkEditor.items.NetworkNode --+
                                                      |
                                                     ComboBoxNE
Known Subclasses:
ScrolledListNE

Provides a combobox to choose a single value from a user-specified list.
Optionally, the user can also pass a list of names. This list must have the
same size as the valueList. These names are then used to build the combobox
chooser. Else, we use repr() of the items in the valueList.
    Outputs the selected value
    
Input Ports
    valueList: list of values
    nameList: list of strings describing names (optional, must be of same size
              as valueList)
    selection: (bound to combobox widget)

Output Ports
    selection: the user-specified selection



Instance Methods [hide private]
  __init__(self, name='ComboBox', **kw)
  getData(self, selection, nameList=None)

Inherited from NetworkEditor.items.NetworkNode: addInputPort, addOutputPort, addSpecialPorts, buildNodeIcon, buildSmallIcon, deletePort, deletePortByName, deleteSmallIcon, deselect, editorVisible, getColor, getFont, hideSpecialPorts, isExpanded, refreshInputPortData, resizeIcon, select, setColor, setFont, setModifiedTag, setProgressBar, showSpecialPorts, updatePosXPosY

Inherited from NetworkEditor.items.NetworkNodeBase: addSaveNodeMenuEntries, autoResize, autoResizeX, autoResizeY, buildIcons, checkIfNodeForSavingIsDefined, compareToOrigNodeDescr, computeFunction, configure, cut_cb, delete_cb, edit, editComputeFunction_cb, evalString, getAfterConnectionsSourceCode, getComputeFunctionSourceCode, getConnections, getDescr, getHeaderBlock, getInConnections, getInitBlock, getInputPortByName, getNodeDefinitionSourceCode, getNodeSourceCode, getNodeSourceCodeForDoit, getNodeSourceCodeForInstanciation, getNodeSourceCodeForModifications, getNodeSourceCodeForNode, getNodeSourceCodeForPorts, getNodeSourceCodeForWidgetValue, getNodeSourceCodeForWidgets, getOutConnections, getOutputPortByName, getOutputPortByType, getPortsCreationSourceCode, getSize, getSourceCode, getSpecialInputPortByName, getSpecialOutputPortByName, getStateDefinitionCode, getUniqueNodeName, getWidgetByName, getWidgetsCreationSourceCode, getWidgetsForMaster, getWidthForLabel, getWidthForNodeWidgets, getWidthForPorts, growDown, growRight, hideInNodeWidgets, isMacro, isModified, ischild, move, moveSelectedNodeEnd, outputData, rename, resetModifiedTag, resetTags, safeName, saveSource, saveSource_cb, schedule, scheduleChildren, schedule_cb, setFunction, showInNodeWidgets, startMoveOneNode, toggleNodeExpand_cb, toggleParamPanel_cb, updateCode

Inherited from NetworkEditor.itemBase.NetworkItems: __repr__, afterAddingToNetwork, afterRemovingFromNetwork, beforeAddingToNetwork, beforeRemovingFromNetwork, deleteIcon, editNodeMenu, freeze, gettags, hideParamPanel, highlight, introspect, postItemMenu, run, toggleAutoRun_cb, toggleFrozen_cb, unfreeze, unhighlight

Inherited from NetworkEditor.itemBase.NetworkItems (private): _introspectCB

Inherited from NetworkEditor.itemBase.NetworkItemsBase: delEditor, getEditor, setEditor

Inherited from NetworkEditor.itemBase.NetworkItemsBase (private): _setModified, _setOriginal

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __str__


Properties [hide private]

Inherited from NetworkEditor.itemBase.NetworkItemsBase: editor

Inherited from object: __class__


Method Details [hide private]

__init__(self, name='ComboBox', **kw)
(Constructor)

source code 
None
Overrides: NetworkEditor.items.NetworkNode.__init__

getData(self, selection, nameList=None)

source code 
None