Inheritance diagram for DzScriptedStepsPane:

Enumerations | |
| enum | SourceType { File, Code, Action } |
Methods | |
| void | addStep (String label, String source, SourceType type=File, Boolean seperatorBefore=false, Number index=-1) |
| void | clearAllSteps () |
| void | clearSignalScripts () |
| String | getActivityChangeScript (String source) |
| DzStepButton | getButton (Number index) |
| DzElement | getDataHolder () |
| String | getLabel (Number index) |
| String | getNodeAddScript (String source) |
| Number | getNumSteps () |
| String | getScript (Number index) |
| String | getSelectionChangeScript (String source) |
| String | getSkeletonAddScript (String source) |
| Number | getStep (String label) |
| void | removeStep (Number index) |
| void | removeStepByLabel (String label) |
| void | setActivityChangeScript (String source) |
| void | setNodeAddScript (String source) |
| void | setSelectionChangeScript (String source) |
| void | setSkeletonAddScript (String source) |
| void | setStep (Number index, String label, String source, SourceType type=File) |
Enumerated values for the type of source for a step.
| File | A DAZ Script file |
| Code | DAZ Script 2 code |
| Action | The name of a DzAction |
| void DzScriptedStepsPane::addStep | ( | String | label, | |
| String | source, | |||
| SourceType | type = File, |
|||
| Boolean | seperatorBefore = false, |
|||
| Number | index = -1 | |||
| ) |
Add a step to the pane.
| label | The label for the step | |
| source | The source to execute when the step button is pressed | |
| type | The type of step | |
| seperatorBefore | Whether or not to add a visual separator before the button being added | |
| index | The position in the list to add the step |
source can be a relative [to the ./scripts folder] path to a script, an absolute path to a script, DAZ Script 2 code or the name of a DzAction.var oMgr = MainWindow.getPaneMgr(); var oPane = oMgr.findPane( "DzScriptedStepsPane" ); if( oPane ) { oPane.addStep( "Content Directory Manager", "support/DAZ/dzContentDirectoryManager.dse", DzScriptedStepsPane.File ); }
| void DzScriptedStepsPane::clearAllSteps | ( | ) |
Clear all steps from the pane.
| void DzScriptedStepsPane::clearSignalScripts | ( | ) |
Clear all scripts triggered by signals.
| DzStepButton DzScriptedStepsPane::getButton | ( | Number | index | ) |
index. | Number DzScriptedStepsPane::getNumSteps | ( | ) |
index. | void DzScriptedStepsPane::removeStep | ( | Number | index | ) |
Remove the step at index.
| void DzScriptedStepsPane::removeStepByLabel | ( | String | label | ) |
Remove the step labeled label.
| void DzScriptedStepsPane::setStep | ( | Number | index, | |
| String | label, | |||
| String | source, | |||
| SourceType | type = File | |||
| ) |
Set the step at index.
| index | The index of the step to set | |
| label | The label for the step | |
| source | The source to execute when the step button is pressed | |
| type | The type of step |
source can be a relative [to the ./scripts folder] path to a script, an absolute path to a script, DAZ Script 2 code or the name of a DzAction.