Package org.refcodes.graphical
Class RasterImpl.RasterPropertyBuilderImpl
- java.lang.Object
-
- org.refcodes.graphical.RasterImpl
-
- org.refcodes.graphical.RasterImpl.RasterPropertyBuilderImpl
-
- All Implemented Interfaces:
FieldDimension
,FieldDimension.FieldDimensionBuilder<Raster.RasterPropertyBuilder>
,FieldDimension.FieldDimensionMutator
,FieldDimension.FieldDimensionProperty
,FieldGapAccessor
,FieldGapAccessor.FieldGapBuilder<Raster.RasterPropertyBuilder>
,FieldGapAccessor.FieldGapMutator
,FieldGapAccessor.FieldGapProperty
,FieldHeightAccessor
,FieldHeightAccessor.FieldHeightBuilder<Raster.RasterPropertyBuilder>
,FieldHeightAccessor.FieldHeightMutator
,FieldHeightAccessor.FieldHeightProperty
,FieldWidthAccessor
,FieldWidthAccessor.FieldWidthBuilder<Raster.RasterPropertyBuilder>
,FieldWidthAccessor.FieldWidthMutator
,FieldWidthAccessor.FieldWidthProperty
,GridDimension
,GridDimension.GridDimensionBuilder<Raster.RasterPropertyBuilder>
,GridDimension.GridDimensionMutator
,GridDimension.GridDimensionProperty
,GridHeightAccessor
,GridHeightAccessor.GridHeightBuilder<Raster.RasterPropertyBuilder>
,GridHeightAccessor.GridHeightMutator
,GridHeightAccessor.GridHeightProperty
,GridModeAccessor
,GridModeAccessor.GridModeBuilder<Raster.RasterPropertyBuilder>
,GridModeAccessor.GridModeMutator
,GridModeAccessor.GridModeProperty
,GridWidthAccessor
,GridWidthAccessor.GridWidthBuilder<Raster.RasterPropertyBuilder>
,GridWidthAccessor.GridWidthMutator
,GridWidthAccessor.GridWidthProperty
,Raster
,Raster.RasterBuilder<Raster.RasterPropertyBuilder>
,Raster.RasterMutator
,Raster.RasterProperty
,Raster.RasterPropertyBuilder
- Enclosing class:
- RasterImpl
public static class RasterImpl.RasterPropertyBuilderImpl extends RasterImpl implements Raster.RasterPropertyBuilder
The Class RasterPropertyBuilderImpl.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldDimension
FieldDimension.FieldDimensionBuilder<B extends FieldDimension.FieldDimensionBuilder<B>>, FieldDimension.FieldDimensionMutator, FieldDimension.FieldDimensionProperty, FieldDimension.FieldDimensionPropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldGapAccessor
FieldGapAccessor.FieldGapBuilder<B extends FieldGapAccessor.FieldGapBuilder<B>>, FieldGapAccessor.FieldGapMutator, FieldGapAccessor.FieldGapProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldHeightAccessor
FieldHeightAccessor.FieldHeightBuilder<B extends FieldHeightAccessor.FieldHeightBuilder<B>>, FieldHeightAccessor.FieldHeightMutator, FieldHeightAccessor.FieldHeightProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.FieldWidthAccessor
FieldWidthAccessor.FieldWidthBuilder<B extends FieldWidthAccessor.FieldWidthBuilder<B>>, FieldWidthAccessor.FieldWidthMutator, FieldWidthAccessor.FieldWidthProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.GridDimension
GridDimension.GridDimensionBuilder<B extends GridDimension.GridDimensionBuilder<B>>, GridDimension.GridDimensionMutator, GridDimension.GridDimensionProperty, GridDimension.GridDimensionPropertyBuilder
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.GridHeightAccessor
GridHeightAccessor.GridHeightBuilder<B extends GridHeightAccessor.GridHeightBuilder<B>>, GridHeightAccessor.GridHeightMutator, GridHeightAccessor.GridHeightProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.GridModeAccessor
GridModeAccessor.GridModeBuilder<B extends GridModeAccessor.GridModeBuilder<B>>, GridModeAccessor.GridModeMutator, GridModeAccessor.GridModeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.GridWidthAccessor
GridWidthAccessor.GridWidthBuilder<B extends GridWidthAccessor.GridWidthBuilder<B>>, GridWidthAccessor.GridWidthMutator, GridWidthAccessor.GridWidthProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.Raster
Raster.RasterBuilder<B extends Raster.RasterBuilder<B>>, Raster.RasterMutator, Raster.RasterProperty, Raster.RasterPropertyBuilder
-
Nested classes/interfaces inherited from class org.refcodes.graphical.RasterImpl
RasterImpl.RasterPropertyBuilderImpl
-
-
Field Summary
-
Fields inherited from class org.refcodes.graphical.RasterImpl
_fieldGap, _fieldHeight, _fieldWidth, _gridHeight, _gridMode, _gridWidth
-
-
Constructor Summary
Constructors Constructor Description RasterPropertyBuilderImpl()
Instantiates a new raster property builder impl.RasterPropertyBuilderImpl(int aGridWidth, int aGridHeight, int aWidth, int aHeight, int aGap, GridMode aGridMode)
Instantiates a new raster property builder impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setFieldDimension(int aWidth, int aHeight)
Sets the field dimension.void
setFieldDimension(int aWidth, int aHeight, int aGap)
Sets the field dimension.void
setFieldDimension(Dimension aDimension)
Sets the field dimension.void
setFieldDimension(FieldDimension aDimension)
Sets the field dimension.void
setFieldGap(int aGap)
Sets the field gap for the field gap property.void
setFieldHeight(int aHeight)
Sets the field height for the field height property.void
setFieldWidth(int aWidth)
Sets the field width for the field width property.void
setGridDimension(int aWidth, int aHeight)
Sets the grid dimension.void
setGridDimension(Dimension aDimension)
Sets the grid dimension.void
setGridDimension(GridDimension aDimension)
Sets the grid dimension.void
setGridHeight(int aHeight)
Sets the grid height for the grid height property.void
setGridMode(GridMode aGridMode)
Sets the grid mode for the grid mode property.void
setGridWidth(int aWidth)
Sets the grid width for the grid width property.RasterImpl.RasterPropertyBuilderImpl
withFieldDimension(int aWidth, int aHeight)
With field dimension.RasterImpl.RasterPropertyBuilderImpl
withFieldDimension(int aWidth, int aHeight, int aGap)
With field dimension.RasterImpl.RasterPropertyBuilderImpl
withFieldDimension(Dimension aDimension)
With field dimension.RasterImpl.RasterPropertyBuilderImpl
withFieldDimension(FieldDimension aField)
With field dimension.RasterImpl.RasterPropertyBuilderImpl
withFieldGap(int aGap)
Sets the field gap for the field gap property.RasterImpl.RasterPropertyBuilderImpl
withFieldHeight(int aHeight)
Sets the field height for the field height property.RasterImpl.RasterPropertyBuilderImpl
withFieldWidth(int aWidth)
Sets the field width for the field width property.RasterImpl.RasterPropertyBuilderImpl
withGridDimension(int aGridWidth, int aGridHeight)
With grid dimension.RasterImpl.RasterPropertyBuilderImpl
withGridDimension(Dimension aDimension)
With grid dimension.RasterImpl.RasterPropertyBuilderImpl
withGridDimension(GridDimension aDimension)
With grid dimension.RasterImpl.RasterPropertyBuilderImpl
withGridHeight(int aHeight)
Sets the grid height for the grid height property.RasterImpl.RasterPropertyBuilderImpl
withGridMode(GridMode aGridMode)
Sets the grid mode for the grid mode property.RasterImpl.RasterPropertyBuilderImpl
withGridWidth(int aWidth)
Sets the grid width for the grid width property.-
Methods inherited from interface org.refcodes.graphical.FieldDimension
equals
-
Methods inherited from interface org.refcodes.graphical.FieldGapAccessor
getFieldGap
-
Methods inherited from interface org.refcodes.graphical.FieldHeightAccessor
getFieldHeight
-
Methods inherited from interface org.refcodes.graphical.FieldWidthAccessor
getFieldWidth
-
Methods inherited from interface org.refcodes.graphical.GridDimension
equals, isInBounds, isInBounds, isInHeight, isInWidth
-
Methods inherited from interface org.refcodes.graphical.GridHeightAccessor
getGridHeight
-
Methods inherited from interface org.refcodes.graphical.GridModeAccessor
getGridMode
-
Methods inherited from interface org.refcodes.graphical.GridWidthAccessor
getGridWidth
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from class org.refcodes.graphical.RasterImpl
getFieldGap, getFieldHeight, getFieldWidth, getGridHeight, getGridMode, getGridWidth
-
-
-
-
Constructor Detail
-
RasterPropertyBuilderImpl
public RasterPropertyBuilderImpl()
Instantiates a new raster property builder impl.
-
RasterPropertyBuilderImpl
public RasterPropertyBuilderImpl(int aGridWidth, int aGridHeight, int aWidth, int aHeight, int aGap, GridMode aGridMode)
Instantiates a new raster property builder impl.- Parameters:
aGridWidth
- the grid widthaGridHeight
- the grid heightaWidth
- the widthaHeight
- the heightaGap
- the gapaGridMode
- the grid mode
-
-
Method Detail
-
setGridDimension
public void setGridDimension(int aWidth, int aHeight)
Sets the grid dimension.- Specified by:
setGridDimension
in interfaceGridDimension.GridDimensionMutator
- Parameters:
aWidth
- the widthaHeight
- the height
-
setGridDimension
public void setGridDimension(GridDimension aDimension)
Sets the grid dimension.- Specified by:
setGridDimension
in interfaceGridDimension.GridDimensionMutator
- Parameters:
aDimension
- the new grid dimension
-
setGridDimension
public void setGridDimension(Dimension aDimension)
Sets the grid dimension.- Specified by:
setGridDimension
in interfaceGridDimension.GridDimensionMutator
- Parameters:
aDimension
- the new grid dimension
-
setGridWidth
public void setGridWidth(int aWidth)
Sets the grid width for the grid width property.- Specified by:
setGridWidth
in interfaceGridWidthAccessor.GridWidthMutator
- Parameters:
aWidth
- The grid width to be stored by the grid width property.
-
setGridHeight
public void setGridHeight(int aHeight)
Sets the grid height for the grid height property.- Specified by:
setGridHeight
in interfaceGridHeightAccessor.GridHeightMutator
- Parameters:
aHeight
- The grid height to be stored by the grid height property.
-
withGridDimension
public RasterImpl.RasterPropertyBuilderImpl withGridDimension(int aGridWidth, int aGridHeight)
With grid dimension.- Specified by:
withGridDimension
in interfaceGridDimension.GridDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aGridWidth
- the grid widthaGridHeight
- the grid height- Returns:
- the b
-
withGridDimension
public RasterImpl.RasterPropertyBuilderImpl withGridDimension(GridDimension aDimension)
With grid dimension.- Specified by:
withGridDimension
in interfaceGridDimension.GridDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aDimension
- the dimension- Returns:
- the b
-
withGridDimension
public RasterImpl.RasterPropertyBuilderImpl withGridDimension(Dimension aDimension)
With grid dimension.- Specified by:
withGridDimension
in interfaceGridDimension.GridDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aDimension
- the dimension- Returns:
- the b
-
withGridWidth
public RasterImpl.RasterPropertyBuilderImpl withGridWidth(int aWidth)
Sets the grid width for the grid width property.- Specified by:
withGridWidth
in interfaceGridWidthAccessor.GridWidthBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aWidth
- The grid width to be stored by the grid width property.- Returns:
- The builder for applying multiple build operations.
-
withGridHeight
public RasterImpl.RasterPropertyBuilderImpl withGridHeight(int aHeight)
Sets the grid height for the grid height property.- Specified by:
withGridHeight
in interfaceGridHeightAccessor.GridHeightBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aHeight
- The grid height to be stored by the grid height property.- Returns:
- The builder for applying multiple build operations.
-
setGridMode
public void setGridMode(GridMode aGridMode)
Sets the grid mode for the grid mode property.- Specified by:
setGridMode
in interfaceGridModeAccessor.GridModeMutator
- Parameters:
aGridMode
- The grid mode to be stored by the grid mode property.
-
withGridMode
public RasterImpl.RasterPropertyBuilderImpl withGridMode(GridMode aGridMode)
Sets the grid mode for the grid mode property.- Specified by:
withGridMode
in interfaceGridModeAccessor.GridModeBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aGridMode
- The grid mode to be stored by the grid mode property.- Returns:
- The builder for applying multiple build operations.
-
withFieldWidth
public RasterImpl.RasterPropertyBuilderImpl withFieldWidth(int aWidth)
Sets the field width for the field width property.- Specified by:
withFieldWidth
in interfaceFieldWidthAccessor.FieldWidthBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aWidth
- The field width to be stored by the field width property.- Returns:
- The builder for applying multiple build operations.
-
withFieldHeight
public RasterImpl.RasterPropertyBuilderImpl withFieldHeight(int aHeight)
Sets the field height for the field height property.- Specified by:
withFieldHeight
in interfaceFieldHeightAccessor.FieldHeightBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aHeight
- The field height to be stored by the field height property.- Returns:
- The builder for applying multiple build operations.
-
withFieldDimension
public RasterImpl.RasterPropertyBuilderImpl withFieldDimension(int aWidth, int aHeight)
With field dimension.- Specified by:
withFieldDimension
in interfaceFieldDimension.FieldDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aWidth
- the field widthaHeight
- the field height- Returns:
- the b
-
withFieldDimension
public RasterImpl.RasterPropertyBuilderImpl withFieldDimension(int aWidth, int aHeight, int aGap)
With field dimension.- Specified by:
withFieldDimension
in interfaceFieldDimension.FieldDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aWidth
- the field widthaHeight
- the field heightaGap
- the gap- Returns:
- the b
-
withFieldDimension
public RasterImpl.RasterPropertyBuilderImpl withFieldDimension(FieldDimension aField)
With field dimension.- Specified by:
withFieldDimension
in interfaceFieldDimension.FieldDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aField
- the field- Returns:
- the b
-
withFieldDimension
public RasterImpl.RasterPropertyBuilderImpl withFieldDimension(Dimension aDimension)
With field dimension.- Specified by:
withFieldDimension
in interfaceFieldDimension.FieldDimensionBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aDimension
- the dimension- Returns:
- the b
-
setFieldGap
public void setFieldGap(int aGap)
Sets the field gap for the field gap property.- Specified by:
setFieldGap
in interfaceFieldGapAccessor.FieldGapMutator
- Parameters:
aGap
- The field gap to be stored by the field gap property.
-
withFieldGap
public RasterImpl.RasterPropertyBuilderImpl withFieldGap(int aGap)
Sets the field gap for the field gap property.- Specified by:
withFieldGap
in interfaceFieldGapAccessor.FieldGapBuilder<Raster.RasterPropertyBuilder>
- Parameters:
aGap
- The field gap to be stored by the field gap property.- Returns:
- The builder for applying multiple build operations.
-
setFieldDimension
public void setFieldDimension(int aWidth, int aHeight)
Sets the field dimension.- Specified by:
setFieldDimension
in interfaceFieldDimension.FieldDimensionMutator
- Parameters:
aWidth
- the field widthaHeight
- the field height
-
setFieldDimension
public void setFieldDimension(int aWidth, int aHeight, int aGap)
Sets the field dimension.- Specified by:
setFieldDimension
in interfaceFieldDimension.FieldDimensionMutator
- Parameters:
aWidth
- the field widthaHeight
- the field heightaGap
- the gap
-
setFieldDimension
public void setFieldDimension(FieldDimension aDimension)
Sets the field dimension.- Specified by:
setFieldDimension
in interfaceFieldDimension.FieldDimensionMutator
- Parameters:
aDimension
- the new field dimension
-
setFieldDimension
public void setFieldDimension(Dimension aDimension)
Sets the field dimension.- Specified by:
setFieldDimension
in interfaceFieldDimension.FieldDimensionMutator
- Parameters:
aDimension
- the new field dimension
-
setFieldWidth
public void setFieldWidth(int aWidth)
Sets the field width for the field width property.- Specified by:
setFieldWidth
in interfaceFieldWidthAccessor.FieldWidthMutator
- Parameters:
aWidth
- The field width to be stored by the field width property.
-
setFieldHeight
public void setFieldHeight(int aHeight)
Sets the field height for the field height property.- Specified by:
setFieldHeight
in interfaceFieldHeightAccessor.FieldHeightMutator
- Parameters:
aHeight
- The field height to be stored by the field height property.
-
-