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.GridDimensionPropertyBuilder
GridHeightAccessor.GridHeightBuilder<B extends GridHeightAccessor.GridHeightBuilder<B>>, GridHeightAccessor.GridHeightMutator, GridHeightAccessor.GridHeightProperty
GridWidthAccessor.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, wait
equals, isInBounds, isInBounds, isInHeight, isInWidth
protected GridDimensionImpl()
public GridDimensionImpl(int aWidth, int aHeight)
aWidth
- the widthaHeight
- the heightpublic int getGridWidth()
getGridWidth
in interface GridWidthAccessor
public int getGridHeight()
getGridHeight
in interface GridHeightAccessor
Copyright © 2018. All rights reserved.