Class Reference
A provider that references an existing
Histogram by its identifier.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()Gets or creates an object of typeT.getId()The identifier of the histogram to reference.voidonInitialization(ImageInitialization initialization) Called after initialization.voidThe identifier of the histogram to reference.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
-
Reference
Creates a newReferencewith the specified identifier.- Parameters:
id- the identifier of the histogram to reference
-
Reference
public Reference()
-
-
Method Details
-
onInitialization
Description copied from class:InitializableBeanCalled after initialization. An empty implementation is provided, to be overridden as needed in the sub-classes.- Overrides:
onInitializationin classInitializableBean<HistogramProvider,ImageInitialization> - Parameters:
initialization- parameters used for initialization.- Throws:
InitializeException- if initialization does not successfully complete.
-
get
Description copied from interface:ProviderGets or creates an object of typeT.- Returns:
- the object returned by the provider.
-
getId
The identifier of the histogram to reference. -
setId
The identifier of the histogram to reference.
-