public abstract class AbstractIJRoiToMaskPredicate<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>,C extends AbstractRoiToMaskPredicateConverter<R,M>> extends AbstractRoiToMaskPredicateConverter<R,M>
Converter
s which convert Roi
to
MaskPredicate
and updates the OMEROService
roi mappings.Constructor and Description |
---|
AbstractIJRoiToMaskPredicate() |
Modifier and Type | Method and Description |
---|---|
boolean |
canConvert(ConversionRequest request) |
boolean |
canConvert(Object src,
Class<?> dest) |
boolean |
canConvert(Object src,
Type dest) |
<T> T |
convert(Object src,
Class<T> dest) |
M |
convert(R src) |
abstract C |
getConverter() |
Class<R> |
getInputType() |
Class<M> |
getOutputType() |
boolean |
supportedType(R src) |
canConvert, canConvert, convert, convert, getType, populateInputCandidates, supports
getInfo, getPriority, setInfo, setPriority, toString
context, getContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public boolean canConvert(ConversionRequest request)
canConvert
in interface Converter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
canConvert
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public boolean canConvert(Object src, Type dest)
canConvert
in interface Converter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
canConvert
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public boolean canConvert(Object src, Class<?> dest)
canConvert
in interface Converter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
canConvert
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public <T> T convert(Object src, Class<T> dest)
convert
in interface Converter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
convert
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public M convert(R src)
convert
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public boolean supportedType(R src)
supportedType
in class AbstractRoiToMaskPredicateConverter<R extends Roi,M extends MaskPredicate<? extends RealLocalizable>>
public abstract C getConverter()
Copyright © 2014–2022 ImageJ. All rights reserved.