public class GridDimensionImpl extends Object implements GridDimension
| Modifier and Type | Class and Description |
|---|---|
static class |
GridDimensionImpl.GridDimensionPropertyBuilderImpl
The Class GridDimensionPropertyBuilderImpl.
|
GridDimension.GridDimensionBuilder<B extends GridDimension.GridDimensionBuilder<B>>, GridDimension.GridDimensionMutator, GridDimension.GridDimensionProperty, GridDimension.GridDimensionPropertyBuilderGridHeightAccessor.GridHeightBuilder<B extends GridHeightAccessor.GridHeightBuilder<B>>, GridHeightAccessor.GridHeightMutator, GridHeightAccessor.GridHeightPropertyGridWidthAccessor.GridWidthBuilder<B extends GridWidthAccessor.GridWidthBuilder<B>>, GridWidthAccessor.GridWidthMutator, GridWidthAccessor.GridWidthProperty| Modifier and Type | Field and Description |
|---|---|
protected int |
_height |
protected int |
_width |
| Modifier | Constructor and Description |
|---|---|
protected |
GridDimensionImpl()
Instantiates a new grid dimension impl.
|
|
GridDimensionImpl(int aWidth,
int aHeight)
Instantiates a new grid dimension impl.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getGridHeight()
Retrieves the grid height from the grid height property.
|
int |
getGridWidth()
Retrieves the grid width from the grid width property.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitequals, isInBounds, isInBounds, isInHeight, isInWidthprotected GridDimensionImpl()
public GridDimensionImpl(int aWidth,
int aHeight)
aWidth - the widthaHeight - the heightpublic int getGridWidth()
getGridWidth in interface GridWidthAccessorpublic int getGridHeight()
getGridHeight in interface GridHeightAccessorCopyright © 2018. All rights reserved.