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