Interface ClientStepFactory
- 
- All Superinterfaces:
- StepDelegate
 - All Known Implementing Classes:
- ActionStepUI.ActionStepFactory,- AssertionStepUI.AssertionStepFactory,- BeginStepUI.BeginStepFactory,- EnclosingStepUI.EnclosingStepFactory,- EndStepUI.EndStepFactory
 
 public interface ClientStepFactory extends StepDelegate A ClientStepFactory is responsible for creating StepView objects given their associated StepConfig objects. To add a new kind of Step, you'll need to implement this interface, and then register it with the ClentStepRegistry in a ClientModuleHook
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StepUIcreateStepUI(ChartUIElement element)Create the UI component that is used to represent this step.java.lang.StringgetCategory()A string representing the step's category.java.lang.StringgetId()A unique string that identifies this kind of stepjavax.swing.IcongetPaletteIcon()The primary icon (32x32) for the palettejava.lang.StringgetPaletteText()A short name for the step to be displayed beneath its palette itemjava.lang.StringgetPaletteTooltip()A short description of what the step doesdefault javax.swing.IcongetRolloverPaletteIcon()A 'highlighted' version of the primary iconvoidinitializeStep(ChartUIElement element)Called when a new step is created from the palette.- 
Methods inherited from interface com.inductiveautomation.sfc.api.StepDelegatefromXml, getCompilationAlteringProperties, toXml, validate
 
- 
 
- 
- 
- 
Method Detail- 
getIdjava.lang.String getId() A unique string that identifies this kind of step- Specified by:
- getIdin interface- StepDelegate
- Returns:
- A unique string that identifies this kind of step, for example: "com.company.foostep".
 
 - 
getCategoryjava.lang.String getCategory() A string representing the step's category. Will be represented as a tab on the step palette
 - 
getPaletteIconjavax.swing.Icon getPaletteIcon() The primary icon (32x32) for the palette
 - 
getRolloverPaletteIcondefault javax.swing.Icon getRolloverPaletteIcon() A 'highlighted' version of the primary icon
 - 
getPaletteTextjava.lang.String getPaletteText() A short name for the step to be displayed beneath its palette item
 - 
getPaletteTooltipjava.lang.String getPaletteTooltip() A short description of what the step does
 - 
initializeStepvoid initializeStep(ChartUIElement element) Called when a new step is created from the palette. Things like the Id, Type, and factory if will already be set on the new element.
 - 
createStepUIStepUI createStepUI(ChartUIElement element) Create the UI component that is used to represent this step.- Parameters:
- element- The chart element that represents this step
 
 
- 
 
-