Class SpecifyDimensions
- All Implemented Interfaces:
Provider<Dimensions>
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, onInitialization
Methods 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
Create with specific lengths for X and Y dimensions.- Parameters:
sizeXY
- the size.
-
SpecifyDimensions
public SpecifyDimensions()
-
-
Method Details
-
get
Description copied from interface:Provider
Gets or creates an object of typeT
.- Returns:
- the object returned by the provider.
-
getSizeXY
Length of X and Y dimensions. -
setSizeXY
Length of X and Y dimensions. -
getSizeZ
public int getSizeZ()Length of Z dimension. -
setSizeZ
public void setSizeZ(int sizeZ) Length of Z dimension.
-