Class BeginStepUI.BeginStepFactory
- java.lang.Object
-
- com.inductiveautomation.sfc.elements.steps.begin.AbstractBeginStepDelegate
-
- com.inductiveautomation.sfc.client.ui.BeginStepUI.BeginStepFactory
-
- All Implemented Interfaces:
StepDelegate,ClientStepFactory,BeginStepProperties,ChartStepProperties
- Enclosing class:
- BeginStepUI
public static final class BeginStepUI.BeginStepFactory extends AbstractBeginStepDelegate implements ClientStepFactory
-
-
Field Summary
-
Fields inherited from interface com.inductiveautomation.sfc.elements.steps.begin.BeginStepProperties
FACTORY_ID, INPUTS
-
Fields inherited from interface com.inductiveautomation.sfc.elements.steps.ChartStepProperties
AssociatedData, Breakpoint, FactoryId, Name
-
-
Constructor Summary
Constructors Constructor Description BeginStepFactory()
-
Method Summary
All Methods Instance Methods Concrete 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.javax.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 doesjavax.swing.IcongetRolloverPaletteIcon()A 'highlighted' version of the primary iconvoidinitializeStep(ChartUIElement element)Called when a new step is created from the palette.-
Methods inherited from class com.inductiveautomation.sfc.elements.steps.begin.AbstractBeginStepDelegate
fromXml, getCompilationAlteringProperties, getId, toXml, validate
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.inductiveautomation.sfc.client.api.ClientStepFactory
getId
-
Methods inherited from interface com.inductiveautomation.sfc.api.StepDelegate
fromXml, getCompilationAlteringProperties, toXml, validate
-
-
-
-
Method Detail
-
createStepUI
public StepUI createStepUI(ChartUIElement element)
Description copied from interface:ClientStepFactoryCreate the UI component that is used to represent this step.- Specified by:
createStepUIin interfaceClientStepFactory- Parameters:
element- The chart element that represents this step
-
getCategory
public java.lang.String getCategory()
Description copied from interface:ClientStepFactoryA string representing the step's category. Will be represented as a tab on the step palette- Specified by:
getCategoryin interfaceClientStepFactory
-
getPaletteIcon
public javax.swing.Icon getPaletteIcon()
Description copied from interface:ClientStepFactoryThe primary icon (32x32) for the palette- Specified by:
getPaletteIconin interfaceClientStepFactory
-
getRolloverPaletteIcon
public javax.swing.Icon getRolloverPaletteIcon()
Description copied from interface:ClientStepFactoryA 'highlighted' version of the primary icon- Specified by:
getRolloverPaletteIconin interfaceClientStepFactory
-
getPaletteText
public java.lang.String getPaletteText()
Description copied from interface:ClientStepFactoryA short name for the step to be displayed beneath its palette item- Specified by:
getPaletteTextin interfaceClientStepFactory
-
getPaletteTooltip
public java.lang.String getPaletteTooltip()
Description copied from interface:ClientStepFactoryA short description of what the step does- Specified by:
getPaletteTooltipin interfaceClientStepFactory
-
initializeStep
public void initializeStep(ChartUIElement element)
Description copied from interface:ClientStepFactoryCalled 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.- Specified by:
initializeStepin interfaceClientStepFactory
-
-