public class BooleanFormData extends ParameterFormData
FormData.Serializer, FormData.TabSettings
JIPipeParameterCollection.ParameterChangedEvent, JIPipeParameterCollection.ParameterStructureChangedEvent, JIPipeParameterCollection.ParameterUIChangedEvent
Constructor and Description |
---|
BooleanFormData() |
BooleanFormData(BooleanFormData other) |
Modifier and Type | Method and Description |
---|---|
JIPipeData |
duplicate(JIPipeProgressInfo progressInfo)
Duplicates the data
|
SingleAnnotationIOSettings |
getAnnotationIOSettings() |
Component |
getEditor(JIPipeWorkbench workbench)
Gets a component that acts as the editor for the form data.
|
OptionalStringParameter |
getFalseString() |
OptionalStringParameter |
getTrueString() |
boolean |
getValue() |
static BooleanFormData |
importData(JIPipeReadDataStorage storage,
JIPipeProgressInfo progressInfo) |
void |
loadData(JIPipeMergingDataBatch dataBatch)
This method is called by the form processor nodes on loading data into this form.
|
void |
reportValidity(JIPipeIssueReport report)
Generates a validity report
|
void |
setFalseString(OptionalStringParameter falseString) |
void |
setTrueString(OptionalStringParameter trueString) |
void |
setValue(boolean value) |
String |
toString() |
void |
writeData(JIPipeMergingDataBatch dataBatch)
This method should write any changes into the data batch
|
display, getDescription, getName, isShowName, setDescription, setName, setShowName
customCopy, customReset, exportData, fromJson, getEventBus, getTabSettings, importData, isImmutable, isUsingCustomCopy, isUsingCustomReset, preview
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, exportThumbnails, getDescriptionOf, getMenuPathOf, getNameOf, getSortedList, getStorageDocumentation, getStorageSchema, groupByMenuPath, isCommon, isHeavy, isHidden, toDetailedString
addParameterChangeListener, addParameterChangeListener, getContextActions, getParameter, getParameterAccess, installUIOverrideParameterEditor, installUIParameterOptions, isParameterUIVisible, isParameterUIVisible, setParameter, triggerParameterChange, triggerParameterStructureChange, triggerParameterUIChange
generateValidityReport
public BooleanFormData()
public BooleanFormData(BooleanFormData other)
public static BooleanFormData importData(JIPipeReadDataStorage storage, JIPipeProgressInfo progressInfo)
public boolean getValue()
public void setValue(boolean value)
public SingleAnnotationIOSettings getAnnotationIOSettings()
public OptionalStringParameter getTrueString()
public void setTrueString(OptionalStringParameter trueString)
public OptionalStringParameter getFalseString()
public void setFalseString(OptionalStringParameter falseString)
public Component getEditor(JIPipeWorkbench workbench)
FormData
public JIPipeData duplicate(JIPipeProgressInfo progressInfo)
JIPipeData
progressInfo
- the progress of duplicating the datapublic void reportValidity(JIPipeIssueReport report)
JIPipeValidatable
report
- the report to be added topublic String toString()
toString
in class ParameterFormData
public void loadData(JIPipeMergingDataBatch dataBatch)
FormData
public void writeData(JIPipeMergingDataBatch dataBatch)
FormData
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.