public class ImporterOptions extends OptionsList
Modifier and Type | Field and Description |
---|---|
private java.util.List<java.lang.Integer> |
cBegin |
private java.util.List<java.lang.Integer> |
cEnd |
private static java.lang.String |
CLASS_IMAGE_5D |
private static java.lang.String |
CLASS_VIEW_5D |
static java.lang.String |
COLOR_MODE_COLORIZED |
static java.lang.String |
COLOR_MODE_COMPOSITE |
static java.lang.String |
COLOR_MODE_CUSTOM |
static java.lang.String |
COLOR_MODE_DEFAULT |
static java.lang.String |
COLOR_MODE_GRAYSCALE |
private java.util.List<loci.common.Region> |
cropRegion |
private java.util.List<java.lang.Integer> |
cStep |
private java.util.List<java.util.List<DoubleOption>> |
customColors |
private static java.awt.Color[] |
DEFAULT_COLORS
Default custom colors for each channel.
|
private java.util.List<java.lang.String> |
inputOrder |
static java.lang.String |
KEY_AUTOSCALE |
static java.lang.String |
KEY_COLOR_MODE |
static java.lang.String |
KEY_CONCATENATE |
static java.lang.String |
KEY_CROP |
static java.lang.String |
KEY_FIRST |
static java.lang.String |
KEY_FORCE_THUMBS |
static java.lang.String |
KEY_GROUP_FILES |
static java.lang.String |
KEY_ID |
static java.lang.String |
KEY_LOCATION |
static java.lang.String |
KEY_MUST_GROUP |
static java.lang.String |
KEY_OPEN_ALL_SERIES |
static java.lang.String |
KEY_QUIET |
static java.lang.String |
KEY_ROIS_MODE |
static java.lang.String |
KEY_SHOW_METADATA |
static java.lang.String |
KEY_SHOW_OME_XML |
static java.lang.String |
KEY_SHOW_ROIS |
static java.lang.String |
KEY_SPECIFY_RANGES |
static java.lang.String |
KEY_SPLIT_C |
static java.lang.String |
KEY_SPLIT_T |
static java.lang.String |
KEY_SPLIT_Z |
static java.lang.String |
KEY_STACK_FORMAT |
static java.lang.String |
KEY_STACK_ORDER |
static java.lang.String |
KEY_STITCH_TILES |
static java.lang.String |
KEY_SWAP_DIMS |
static java.lang.String |
KEY_UNGROUP_FILES |
static java.lang.String |
KEY_UPGRADE_CHECK |
static java.lang.String |
KEY_VIRTUAL |
static java.lang.String |
KEY_WINDOWLESS |
static java.lang.String |
LOCATION_HTTP |
static java.lang.String |
LOCATION_LOCAL |
static java.lang.String |
LOCATION_OMERO |
static java.lang.String |
ORDER_DEFAULT |
static java.lang.String |
ORDER_XYCTZ |
static java.lang.String |
ORDER_XYCZT |
static java.lang.String |
ORDER_XYTCZ |
static java.lang.String |
ORDER_XYTZC |
static java.lang.String |
ORDER_XYZCT |
static java.lang.String |
ORDER_XYZTC |
static java.lang.String |
ROIS_MODE_MANAGER |
static java.lang.String |
ROIS_MODE_OVERLAY |
private java.util.List<java.lang.Boolean> |
seriesOn |
private java.util.List<java.lang.Integer> |
tBegin |
private java.util.List<java.lang.Integer> |
tEnd |
private java.util.List<java.lang.Integer> |
tStep |
static java.lang.String |
VIEW_BROWSER |
static java.lang.String |
VIEW_HYPERSTACK |
static java.lang.String |
VIEW_IMAGE_5D |
static java.lang.String |
VIEW_NONE |
static java.lang.String |
VIEW_STANDARD |
static java.lang.String |
VIEW_VIEW_5D |
private java.util.List<java.lang.Integer> |
zBegin |
private java.util.List<java.lang.Integer> |
zEnd |
private java.util.List<java.lang.Integer> |
zStep |
INI_TYPE, options, TYPE_BOOLEAN, TYPE_STRING
Constructor and Description |
---|
ImporterOptions() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkKey(java.lang.String options,
java.lang.String key)
Tests whether the given boolean key is set in the specified options.
|
void |
checkObsoleteOptions()
Handles obsolete macro keys, for backward compatibility.
|
void |
clearSeries() |
boolean |
doCrop() |
boolean |
doMustGroup() |
boolean |
doStitchTiles() |
boolean |
doUpgradeCheck() |
private <T> T |
get(java.util.List<T> list,
int index,
T defaultValue) |
java.lang.String |
getAutoscaleInfo() |
int |
getCBegin(int s) |
int |
getCEnd(int s) |
java.lang.String |
getColorMode() |
java.lang.String |
getColorModeInfo() |
java.lang.String[] |
getColorModes() |
java.lang.String |
getConcatenateInfo() |
java.lang.String |
getCropInfo() |
loci.common.Region |
getCropRegion(int s) |
int |
getCStep(int s) |
java.awt.Color |
getCustomColor(int s,
int c) |
java.lang.String |
getCustomColorKey(int s,
int c) |
java.awt.Color |
getDefaultCustomColor(int c) |
java.lang.String |
getFirstTimeInfo() |
java.lang.String |
getForceThumbnailsInfo() |
java.lang.String |
getGroupFilesInfo() |
java.lang.String |
getId() |
java.lang.String |
getIdInfo() |
java.lang.String |
getInputOrder(int s) |
java.lang.String |
getLocation() |
java.lang.String |
getLocationInfo() |
java.lang.String[] |
getLocations() |
java.lang.String |
getMustGroupInfo() |
java.lang.String |
getOpenAllSeriesInfo() |
java.lang.String |
getQuietInfo() |
java.lang.String |
getROIsMode() |
java.lang.String |
getROIsModeInfo() |
java.lang.String[] |
getROIsModes() |
java.lang.String |
getShowMetadataInfo() |
java.lang.String |
getShowOMEXMLInfo() |
java.lang.String |
getShowROIsInfo() |
java.lang.String |
getSpecifyRangesInfo() |
java.lang.String |
getSplitChannelsInfo() |
java.lang.String |
getSplitFocalPlanesInfo() |
java.lang.String |
getSplitTimepointsInfo() |
java.lang.String |
getStackFormat() |
java.lang.String |
getStackFormatInfo() |
java.lang.String[] |
getStackFormats() |
java.lang.String |
getStackOrder() |
java.lang.String |
getStackOrderInfo() |
java.lang.String[] |
getStackOrders() |
java.lang.String |
getStitchTilesInfo() |
java.lang.String |
getSwapDimensionsInfo() |
int |
getTBegin(int s) |
int |
getTEnd(int s) |
int |
getTStep(int s) |
java.lang.String |
getUngroupFilesInfo() |
java.lang.String |
getUpgradeCheckInfo() |
java.lang.String |
getVirtualInfo() |
java.lang.String |
getWindowlessInfo() |
int |
getZBegin(int s) |
int |
getZEnd(int s) |
int |
getZStep(int s) |
boolean |
isAutoscale() |
boolean |
isColorModeColorized() |
boolean |
isColorModeComposite() |
boolean |
isColorModeCustom() |
boolean |
isColorModeDefault() |
boolean |
isColorModeGrayscale() |
boolean |
isConcatenate() |
boolean |
isFirstTime() |
boolean |
isForceThumbnails() |
boolean |
isGroupFiles() |
boolean |
isHTTP() |
boolean |
isLocal() |
boolean |
isOMERO() |
boolean |
isQuiet() |
boolean |
isSeriesOn(int s) |
boolean |
isShowMetadata() |
boolean |
isShowOMEXML() |
boolean |
isSpecifyRanges() |
boolean |
isSplitChannels() |
boolean |
isSplitFocalPlanes() |
boolean |
isSplitTimepoints() |
boolean |
isSwapDimensions() |
boolean |
isUngroupFiles() |
boolean |
isViewBrowser() |
boolean |
isViewHyperstack() |
boolean |
isViewImage5D() |
boolean |
isViewNone() |
boolean |
isViewStandard() |
boolean |
isViewView5D() |
boolean |
isVirtual() |
boolean |
isWindowless() |
boolean |
openAllSeries() |
void |
parseArg(java.lang.String arg)
Parses the plugin argument for parameter values.
|
private <T> void |
set(java.util.List<T> list,
int index,
T value,
T fillValue) |
void |
setAutoscale(boolean b) |
void |
setCBegin(int s,
int value) |
void |
setCEnd(int s,
int value) |
void |
setColorMode(java.lang.String s) |
void |
setConcatenate(boolean b) |
void |
setCrop(boolean b) |
void |
setCropRegion(int s,
loci.common.Region r) |
void |
setCStep(int s,
int value) |
void |
setCustomColor(int s,
int c,
java.awt.Color color) |
void |
setFirstTime(boolean b) |
void |
setForceThumbnails(boolean b) |
void |
setGroupFiles(boolean b) |
void |
setId(java.lang.String s) |
void |
setInputOrder(int s,
java.lang.String value) |
void |
setLocation(java.lang.String s) |
void |
setMustGroup(boolean b) |
void |
setOpenAllSeries(boolean b) |
void |
setQuiet(boolean b) |
void |
setROIsMode(java.lang.String s) |
void |
setSeriesOn(int s,
boolean value) |
void |
setShowMetadata(boolean b) |
void |
setShowOMEXML(boolean b) |
void |
setShowROIs(boolean b) |
void |
setSpecifyRanges(boolean b) |
void |
setSplitChannels(boolean b) |
void |
setSplitFocalPlanes(boolean b) |
void |
setSplitTimepoints(boolean b) |
void |
setStackFormat(java.lang.String s) |
void |
setStackOrder(java.lang.String s) |
void |
setStitchTiles(boolean b) |
void |
setSwapDimensions(boolean b) |
void |
setTBegin(int s,
int value) |
void |
setTEnd(int s,
int value) |
void |
setTStep(int s,
int value) |
void |
setUngroupFiles(boolean b) |
void |
setUpgradeCheck(boolean b) |
void |
setVirtual(boolean b) |
void |
setWindowless(boolean b) |
void |
setZBegin(int s,
int value) |
void |
setZEnd(int s,
int value) |
void |
setZStep(int s,
int value) |
boolean |
showROIs() |
equals, getBooleanOption, getDefaultValue, getInfo, getLabel, getOption, getPossible, getStringOption, getValue, hashCode, isPossible, isSaved, isSet, isSetByDefault, loadOptions, parseOptions, saveOptions, setValue, setValue
public static final java.lang.String KEY_AUTOSCALE
public static final java.lang.String KEY_COLOR_MODE
public static final java.lang.String KEY_CONCATENATE
public static final java.lang.String KEY_CROP
public static final java.lang.String KEY_FIRST
public static final java.lang.String KEY_FORCE_THUMBS
public static final java.lang.String KEY_GROUP_FILES
public static final java.lang.String KEY_UNGROUP_FILES
public static final java.lang.String KEY_ID
public static final java.lang.String KEY_LOCATION
public static final java.lang.String KEY_OPEN_ALL_SERIES
public static final java.lang.String KEY_QUIET
public static final java.lang.String KEY_SHOW_METADATA
public static final java.lang.String KEY_SHOW_OME_XML
public static final java.lang.String KEY_SHOW_ROIS
public static final java.lang.String KEY_ROIS_MODE
public static final java.lang.String KEY_SPECIFY_RANGES
public static final java.lang.String KEY_SPLIT_Z
public static final java.lang.String KEY_SPLIT_T
public static final java.lang.String KEY_SPLIT_C
public static final java.lang.String KEY_STACK_FORMAT
public static final java.lang.String KEY_STACK_ORDER
public static final java.lang.String KEY_SWAP_DIMS
public static final java.lang.String KEY_UPGRADE_CHECK
public static final java.lang.String KEY_VIRTUAL
public static final java.lang.String KEY_WINDOWLESS
public static final java.lang.String KEY_STITCH_TILES
public static final java.lang.String KEY_MUST_GROUP
public static final java.lang.String COLOR_MODE_DEFAULT
public static final java.lang.String COLOR_MODE_COMPOSITE
public static final java.lang.String COLOR_MODE_COLORIZED
public static final java.lang.String COLOR_MODE_GRAYSCALE
public static final java.lang.String COLOR_MODE_CUSTOM
public static final java.lang.String LOCATION_LOCAL
public static final java.lang.String LOCATION_HTTP
public static final java.lang.String LOCATION_OMERO
public static final java.lang.String ROIS_MODE_MANAGER
public static final java.lang.String ROIS_MODE_OVERLAY
public static final java.lang.String VIEW_NONE
public static final java.lang.String VIEW_STANDARD
public static final java.lang.String VIEW_HYPERSTACK
public static final java.lang.String VIEW_BROWSER
public static final java.lang.String VIEW_IMAGE_5D
public static final java.lang.String VIEW_VIEW_5D
private static final java.lang.String CLASS_IMAGE_5D
private static final java.lang.String CLASS_VIEW_5D
public static final java.lang.String ORDER_DEFAULT
public static final java.lang.String ORDER_XYZCT
public static final java.lang.String ORDER_XYZTC
public static final java.lang.String ORDER_XYCZT
public static final java.lang.String ORDER_XYTCZ
public static final java.lang.String ORDER_XYCTZ
public static final java.lang.String ORDER_XYTZC
private static final java.awt.Color[] DEFAULT_COLORS
private java.util.List<java.lang.Boolean> seriesOn
private java.util.List<java.lang.String> inputOrder
private java.util.List<java.lang.Integer> cBegin
private java.util.List<java.lang.Integer> cEnd
private java.util.List<java.lang.Integer> cStep
private java.util.List<java.lang.Integer> zBegin
private java.util.List<java.lang.Integer> zEnd
private java.util.List<java.lang.Integer> zStep
private java.util.List<java.lang.Integer> tBegin
private java.util.List<java.lang.Integer> tEnd
private java.util.List<java.lang.Integer> tStep
private java.util.List<loci.common.Region> cropRegion
private java.util.List<java.util.List<DoubleOption>> customColors
public ImporterOptions() throws java.io.IOException
java.io.IOException
public void parseArg(java.lang.String arg)
public void checkObsoleteOptions()
public java.lang.String getAutoscaleInfo()
public boolean isAutoscale()
public void setAutoscale(boolean b)
public java.lang.String getColorModeInfo()
public java.lang.String getColorMode()
public java.lang.String[] getColorModes()
public boolean isColorModeDefault()
public boolean isColorModeComposite()
public boolean isColorModeColorized()
public boolean isColorModeGrayscale()
public boolean isColorModeCustom()
public void setColorMode(java.lang.String s)
public java.lang.String getConcatenateInfo()
public boolean isConcatenate()
public void setConcatenate(boolean b)
public java.lang.String getCropInfo()
public boolean doCrop()
public void setCrop(boolean b)
public java.lang.String getFirstTimeInfo()
public boolean isFirstTime()
public void setFirstTime(boolean b)
public java.lang.String getForceThumbnailsInfo()
public boolean isForceThumbnails()
public void setForceThumbnails(boolean b)
public java.lang.String getGroupFilesInfo()
public boolean isGroupFiles()
public void setGroupFiles(boolean b)
public java.lang.String getUngroupFilesInfo()
public boolean isUngroupFiles()
public void setUngroupFiles(boolean b)
public java.lang.String getIdInfo()
public java.lang.String getId()
public void setId(java.lang.String s)
public java.lang.String getLocationInfo()
public java.lang.String getLocation()
public java.lang.String[] getLocations()
public boolean isLocal()
public boolean isHTTP()
public boolean isOMERO()
public void setLocation(java.lang.String s)
public java.lang.String getOpenAllSeriesInfo()
public boolean openAllSeries()
public void setOpenAllSeries(boolean b)
public java.lang.String getQuietInfo()
public boolean isQuiet()
public void setQuiet(boolean b)
public java.lang.String getShowMetadataInfo()
public boolean isShowMetadata()
public void setShowMetadata(boolean b)
public java.lang.String getShowOMEXMLInfo()
public boolean isShowOMEXML()
public void setShowOMEXML(boolean b)
public java.lang.String getShowROIsInfo()
public boolean showROIs()
public void setShowROIs(boolean b)
public java.lang.String getROIsModeInfo()
public java.lang.String getROIsMode()
public java.lang.String[] getROIsModes()
public void setROIsMode(java.lang.String s)
public java.lang.String getSpecifyRangesInfo()
public boolean isSpecifyRanges()
public void setSpecifyRanges(boolean b)
public java.lang.String getSplitFocalPlanesInfo()
public boolean isSplitFocalPlanes()
public void setSplitFocalPlanes(boolean b)
public java.lang.String getSplitTimepointsInfo()
public boolean isSplitTimepoints()
public void setSplitTimepoints(boolean b)
public java.lang.String getSplitChannelsInfo()
public boolean isSplitChannels()
public void setSplitChannels(boolean b)
public java.lang.String getStackFormatInfo()
public java.lang.String getStackFormat()
public java.lang.String[] getStackFormats()
public boolean isViewNone()
public boolean isViewStandard()
public boolean isViewHyperstack()
public boolean isViewBrowser()
public boolean isViewImage5D()
public boolean isViewView5D()
public void setStackFormat(java.lang.String s)
public java.lang.String getStackOrderInfo()
public java.lang.String getStackOrder()
public java.lang.String[] getStackOrders()
public void setStackOrder(java.lang.String s)
public java.lang.String getSwapDimensionsInfo()
public boolean isSwapDimensions()
public void setSwapDimensions(boolean b)
public java.lang.String getUpgradeCheckInfo()
public boolean doUpgradeCheck()
public void setUpgradeCheck(boolean b)
public java.lang.String getVirtualInfo()
public boolean isVirtual()
public void setVirtual(boolean b)
public java.lang.String getWindowlessInfo()
public boolean isWindowless()
public void setWindowless(boolean b)
public java.lang.String getStitchTilesInfo()
public boolean doStitchTiles()
public void setStitchTiles(boolean b)
public java.lang.String getMustGroupInfo()
public boolean doMustGroup()
public void setMustGroup(boolean b)
public boolean isSeriesOn(int s)
public void setSeriesOn(int s, boolean value)
public void clearSeries()
public java.lang.String getInputOrder(int s)
public void setInputOrder(int s, java.lang.String value)
public int getCBegin(int s)
public void setCBegin(int s, int value)
public int getCEnd(int s)
public void setCEnd(int s, int value)
public int getCStep(int s)
public void setCStep(int s, int value)
public int getZBegin(int s)
public void setZBegin(int s, int value)
public int getZEnd(int s)
public void setZEnd(int s, int value)
public int getZStep(int s)
public void setZStep(int s, int value)
public int getTBegin(int s)
public void setTBegin(int s, int value)
public int getTEnd(int s)
public void setTEnd(int s, int value)
public int getTStep(int s)
public void setTStep(int s, int value)
public loci.common.Region getCropRegion(int s)
public void setCropRegion(int s, loci.common.Region r)
public java.awt.Color getCustomColor(int s, int c)
public void setCustomColor(int s, int c, java.awt.Color color)
public java.awt.Color getDefaultCustomColor(int c)
public java.lang.String getCustomColorKey(int s, int c)
private <T> void set(java.util.List<T> list, int index, T value, T fillValue)
private <T> T get(java.util.List<T> list, int index, T defaultValue)
protected boolean checkKey(java.lang.String options, java.lang.String key)
Copyright © 2018 Open Microscopy Environment