public class GridDimensionChangedEventImpl<S> extends AbstractCheckerboardEvent<S> implements GridDimensionChangedEvent<S>
AbstractCheckerboardEvent.AbstractPlayerCheckerboardEvent<S>org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC>org.refcodes.graphical.GridDimension.GridDimensionBuilder<B extends org.refcodes.graphical.GridDimension.GridDimensionBuilder<B>>, org.refcodes.graphical.GridDimension.GridDimensionMutator, org.refcodes.graphical.GridDimension.GridDimensionProperty, org.refcodes.graphical.GridDimension.GridDimensionPropertyBuilderorg.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightPropertyorg.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthPropertyACTION| Constructor and Description |
|---|
GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<S> aSource) |
| Modifier and Type | Method and Description |
|---|---|
int |
getGridHeight() |
int |
getGridWidth() |
org.refcodes.graphical.GridDimension |
getPrecedingGridDimension() |
String |
toString() |
getAction, getSourcepublic GridDimensionChangedEventImpl(int aWidth,
int aHeight,
int aPrecedingWidth,
int aPrecedingHeigt,
Checkerboard<S> aSource)
public int getGridHeight()
getGridHeight in interface org.refcodes.graphical.GridHeightAccessorpublic int getGridWidth()
getGridWidth in interface org.refcodes.graphical.GridWidthAccessorpublic org.refcodes.graphical.GridDimension getPrecedingGridDimension()
getPrecedingGridDimension in interface GridDimensionChangedEvent<S>public String toString()
toString in class AbstractCheckerboardEvent<S>Copyright © 2016. All rights reserved.