Class Reference

Object
AnchorBean<HistogramProvider>
InitializableBean<HistogramProvider, ImageInitialization>
ImageBean<HistogramProvider>
HistogramProvider
Reference
All Implemented Interfaces:
Provider<Histogram>

public class Reference extends HistogramProvider
A provider that references an existing Histogram by its identifier.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    Creates a new Reference with the specified identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    Histogram
    get()
     
    The identifier of the histogram to reference.
    void
    onInitialization(ImageInitialization initialization)
     
    void
    The identifier of the histogram to reference.

    Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean

    getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized

    Methods inherited from class org.anchoranalysis.bean.AnchorBean

    checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Reference

      public Reference(String id)
      Creates a new Reference with the specified identifier.
      Parameters:
      id - the identifier of the histogram to reference
    • Reference

      public Reference()
  • Method Details

    • onInitialization

      public void onInitialization(ImageInitialization initialization) throws InitializeException
      Overrides:
      onInitialization in class InitializableBean<HistogramProvider, ImageInitialization>
      Throws:
      InitializeException
    • get

      public Histogram get()
    • getId

      public String getId()
      The identifier of the histogram to reference.
    • setId

      public void setId(String id)
      The identifier of the histogram to reference.