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 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()
      Description copied from interface: Provider
      Gets or creates an object of type T.
      Returns:
      the object returned by the provider.
    • 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.