Class SpecifyDimensions
Object
AnchorBean<DimensionsProvider>
InitializableBean<DimensionsProvider, ImageInitialization>
ImageBean<DimensionsProvider>
DimensionsProvider
SpecifyDimensions
- All Implemented Interfaces:
Provider<Dimensions>
public class SpecifyDimensions
extends DimensionsProvider
Specifies dimensions explicitly via bean properties.
No resolution information is assigned.
- Author:
- Owen Feehan
-
Constructor Summary
ConstructorsConstructorDescriptionSpecifyDimensions(int sizeX, int sizeY) Create with specific lengths for X and Y dimensions.SpecifyDimensions(SizeXY sizeXY) Create with specific lengths for X and Y dimensions. -
Method Summary
Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
SpecifyDimensions
public SpecifyDimensions(int sizeX, int sizeY) Create with specific lengths for X and Y dimensions.- Parameters:
sizeX- the size of the X-dimension.sizeY- the size of the X-dimension.
-
SpecifyDimensions
public SpecifyDimensions(SizeXY sizeXY) Create with specific lengths for X and Y dimensions.- Parameters:
sizeXY- the size.
-
SpecifyDimensions
public SpecifyDimensions()
-
-
Method Details
-
get
public Dimensions get() -
getSizeXY
public SizeXY getSizeXY()Length of X and Y dimensions. -
setSizeXY
public void setSizeXY(SizeXY sizeXY) Length of X and Y dimensions. -
getSizeZ
public int getSizeZ()Length of Z dimension. -
setSizeZ
public void setSizeZ(int sizeZ) Length of Z dimension.
-