Class ScaleXY

Object
AnchorBean<MarkCollectionProvider>
InitializableBean<MarkCollectionProvider, MarksInitialization>
MarksBean<MarkCollectionProvider>
MarksBaseProvider<MarkCollectionProvider, MarkCollection>
MarkCollectionProvider
ScaleXY
All Implemented Interfaces:
Provider<MarkCollection>

public class ScaleXY extends MarkCollectionProvider
Scales the X and Y coordinates of marks in a MarkCollection using a ScaleCalculator.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    MarkCollection
    get()
     
    MarkCollectionProvider
    The provider for the MarkCollection to be scaled.
    ScaleCalculator
    The ScaleCalculator used to determine the scaling factor.
    void
    setMarks(MarkCollectionProvider marks)
    The provider for the MarkCollection to be scaled.
    void
    setScaleCalculator(ScaleCalculator scaleCalculator)
    The ScaleCalculator used to determine the scaling factor.

    Methods inherited from class org.anchoranalysis.mpp.bean.MarksBean

    initializerForMarksBeans

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

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

    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

    • ScaleXY

      public ScaleXY()
  • Method Details

    • get

      public MarkCollection get() throws ProvisionFailedException
      Throws:
      ProvisionFailedException
    • getMarks

      public MarkCollectionProvider getMarks()
      The provider for the MarkCollection to be scaled.
    • setMarks

      public void setMarks(MarkCollectionProvider marks)
      The provider for the MarkCollection to be scaled.
    • getScaleCalculator

      public ScaleCalculator getScaleCalculator()
      The ScaleCalculator used to determine the scaling factor.
    • setScaleCalculator

      public void setScaleCalculator(ScaleCalculator scaleCalculator)
      The ScaleCalculator used to determine the scaling factor.