Class ActionChangeEndianess
- java.lang.Object
- 
- gov.nih.mipav.model.scripting.actions.ActionBase
- 
- gov.nih.mipav.model.scripting.actions.ActionImageProcessorBase
- 
- gov.nih.mipav.model.scripting.actions.ActionChangeEndianess
 
 
 
- 
- All Implemented Interfaces:
- ScriptableActionInterface
 
 public class ActionChangeEndianess extends ActionImageProcessorBase A script action which changes the image's endianess
- 
- 
Field SummaryFields Modifier and Type Field Description private static java.lang.StringENDIANESSThe label to use for the parameter indicating the endianess- 
Fields inherited from class gov.nih.mipav.model.scripting.actions.ActionImageProcessorBaseINPUT_IMAGE_LABEL, recordingInputImage, recordingResultImage
 - 
Fields inherited from class gov.nih.mipav.model.scripting.actions.ActionBaseisScript
 
- 
 - 
Constructor SummaryConstructors Constructor Description ActionChangeEndianess()Constructor for the dynamic instantiation and execution of the script action.ActionChangeEndianess(ModelImage image)Main constructor with parameters for changing the endianess
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinsertScriptLine()If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.voidscriptRun(ParameterTable parameters)Sets up the action dialog state and then executes it.- 
Methods inherited from class gov.nih.mipav.model.scripting.actions.ActionImageProcessorBasecreateInputImageParameter, isImageStoredInRecorder, setInputImage, setResultImage, storeImageInRecorder, storeImageInRunner
 - 
Methods inherited from class gov.nih.mipav.model.scripting.actions.ActionBasegetActionName, getActionName, isScript, setIsScript
 
- 
 
- 
- 
- 
Field Detail- 
ENDIANESSprivate static final java.lang.String ENDIANESS The label to use for the parameter indicating the endianess- See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
ActionChangeEndianesspublic ActionChangeEndianess() Constructor for the dynamic instantiation and execution of the script action.
 - 
ActionChangeEndianesspublic ActionChangeEndianess(ModelImage image) Main constructor with parameters for changing the endianess- Parameters:
- image- the input image
 
 
- 
 - 
Method Detail- 
insertScriptLinepublic void insertScriptLine() If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.- Specified by:
- insertScriptLinein interface- ScriptableActionInterface
- Specified by:
- insertScriptLinein class- ActionImageProcessorBase
 
 - 
scriptRunpublic void scriptRun(ParameterTable parameters) Sets up the action dialog state and then executes it.- Specified by:
- scriptRunin interface- ScriptableActionInterface
- Specified by:
- scriptRunin class- ActionImageProcessorBase
- Parameters:
- parameters- Table of parameters for the script to use.
 
 
- 
 
-