Class ScaleXY
- All Implemented Interfaces:
Provider<MarkCollection>
Scales the X and Y coordinates of marks in a
MarkCollection
using a ScaleCalculator
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget()
Gets or creates an object of typeT
.getMarks()
The provider for theMarkCollection
to be scaled.TheScaleCalculator
used to determine the scaling factor.void
setMarks
(MarkCollectionProvider marks) The provider for theMarkCollection
to be scaled.void
setScaleCalculator
(ScaleCalculator scaleCalculator) TheScaleCalculator
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
-
Constructor Details
-
ScaleXY
public ScaleXY()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
- Throws:
ProvisionFailedException
- if the object cannot be returned.
-
getMarks
The provider for theMarkCollection
to be scaled. -
setMarks
The provider for theMarkCollection
to be scaled. -
getScaleCalculator
TheScaleCalculator
used to determine the scaling factor. -
setScaleCalculator
TheScaleCalculator
used to determine the scaling factor.
-