public static class GridDimensionImpl.GridDimensionPropertyBuilderImpl extends GridDimensionImpl implements GridDimension.GridDimensionPropertyBuilder
GridDimensionImpl.GridDimensionPropertyBuilderImpl
GridDimension.GridDimensionBuilder<B extends GridDimension.GridDimensionBuilder<B>>, GridDimension.GridDimensionMutator, GridDimension.GridDimensionProperty, GridDimension.GridDimensionPropertyBuilder
GridWidthAccessor.GridWidthBuilder<B extends GridWidthAccessor.GridWidthBuilder<B>>, GridWidthAccessor.GridWidthMutator, GridWidthAccessor.GridWidthProperty
GridHeightAccessor.GridHeightBuilder<B extends GridHeightAccessor.GridHeightBuilder<B>>, GridHeightAccessor.GridHeightMutator, GridHeightAccessor.GridHeightProperty
_height, _width
Constructor and Description |
---|
GridDimensionPropertyBuilderImpl()
Instantiates a new grid dimension property builder impl.
|
GridDimensionPropertyBuilderImpl(int aWidth,
int aHeight)
Instantiates a new grid dimension property builder impl.
|
Modifier and Type | Method and Description |
---|---|
void |
setGridDimension(Dimension aDimension)
Sets the grid dimension.
|
void |
setGridDimension(GridDimension aDimension)
Sets the grid dimension.
|
void |
setGridDimension(int aWidth,
int aHeight)
Sets the grid dimension.
|
void |
setGridHeight(int aHeight)
Sets the grid height for the grid height property.
|
void |
setGridWidth(int aWidth)
Sets the grid width for the grid width property.
|
GridDimensionImpl.GridDimensionPropertyBuilderImpl |
withGridDimension(Dimension aDimension)
With grid dimension.
|
GridDimensionImpl.GridDimensionPropertyBuilderImpl |
withGridDimension(GridDimension aDimension)
With grid dimension.
|
GridDimensionImpl.GridDimensionPropertyBuilderImpl |
withGridDimension(int aWidth,
int aHeight)
With grid dimension.
|
GridDimensionImpl.GridDimensionPropertyBuilderImpl |
withGridHeight(int aHeight)
Sets the grid height for the grid height property.
|
GridDimensionImpl.GridDimensionPropertyBuilderImpl |
withGridWidth(int aWidth)
Sets the grid width for the grid width property.
|
getGridHeight, getGridWidth, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
equals, isInBounds, isInBounds, isInHeight, isInWidth
getGridWidth
getGridHeight
public GridDimensionPropertyBuilderImpl()
public GridDimensionPropertyBuilderImpl(int aWidth, int aHeight)
aWidth
- the widthaHeight
- the heightpublic void setGridWidth(int aWidth)
setGridWidth
in interface GridWidthAccessor.GridWidthMutator
aWidth
- The grid width to be stored by the grid width property.public GridDimensionImpl.GridDimensionPropertyBuilderImpl withGridWidth(int aWidth)
withGridWidth
in interface GridWidthAccessor.GridWidthBuilder<GridDimension.GridDimensionPropertyBuilder>
aWidth
- The grid width to be stored by the grid width property.public void setGridHeight(int aHeight)
setGridHeight
in interface GridHeightAccessor.GridHeightMutator
aHeight
- The grid height to be stored by the grid height
property.public GridDimensionImpl.GridDimensionPropertyBuilderImpl withGridHeight(int aHeight)
withGridHeight
in interface GridHeightAccessor.GridHeightBuilder<GridDimension.GridDimensionPropertyBuilder>
aHeight
- The grid height to be stored by the grid height
property.public GridDimensionImpl.GridDimensionPropertyBuilderImpl withGridDimension(int aWidth, int aHeight)
withGridDimension
in interface GridDimension.GridDimensionBuilder<GridDimension.GridDimensionPropertyBuilder>
aWidth
- the grid widthaHeight
- the grid heightpublic GridDimensionImpl.GridDimensionPropertyBuilderImpl withGridDimension(GridDimension aDimension)
withGridDimension
in interface GridDimension.GridDimensionBuilder<GridDimension.GridDimensionPropertyBuilder>
aDimension
- the dimensionpublic void setGridDimension(int aWidth, int aHeight)
setGridDimension
in interface GridDimension.GridDimensionMutator
aWidth
- the widthaHeight
- the heightpublic void setGridDimension(GridDimension aDimension)
setGridDimension
in interface GridDimension.GridDimensionMutator
aDimension
- the new grid dimensionpublic GridDimensionImpl.GridDimensionPropertyBuilderImpl withGridDimension(Dimension aDimension)
withGridDimension
in interface GridDimension.GridDimensionBuilder<GridDimension.GridDimensionPropertyBuilder>
aDimension
- the dimensionpublic void setGridDimension(Dimension aDimension)
setGridDimension
in interface GridDimension.GridDimensionMutator
aDimension
- the new grid dimensionCopyright © 2018. All rights reserved.