Class FromChannel
Object
AnchorBean<DimensionsProvider>
InitializableBean<DimensionsProvider, ImageInitialization>
ImageBean<DimensionsProvider>
DimensionsProvider
FromChannel
- All Implemented Interfaces:
Provider<Dimensions>
public class FromChannel
extends DimensionsProvider
Creates image-dimensions by referencing them from a
ChannelProvider.
One of either channel or id must be set, but not both.
It will look, in order of preference, for respectively a Channel and then a Stack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDimensionsget()ChannelProviderTheChannelProviderto use for dimensions.getId()An shared-objects identifier for aChannelProviderto use for dimensions.voidonInitialization(ImageInitialization initialization) voidsetChannel(ChannelProvider channel) TheChannelProviderto use for dimensions.voidAn shared-objects identifier for aChannelProviderto use for dimensions.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitializedMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
FromChannel
public FromChannel()
-
-
Method Details
-
onInitialization
public void onInitialization(ImageInitialization initialization) throws InitializeException - Overrides:
onInitializationin classInitializableBean<DimensionsProvider, ImageInitialization>- Throws:
InitializeException
-
get
public Dimensions get() throws ProvisionFailedException- Throws:
ProvisionFailedException
-
getId
An shared-objects identifier for aChannelProviderto use for dimensions. -
setId
An shared-objects identifier for aChannelProviderto use for dimensions. -
getChannel
public ChannelProvider getChannel()TheChannelProviderto use for dimensions. -
setChannel
public void setChannel(ChannelProvider channel) TheChannelProviderto use for dimensions.
-