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.GridDimensionPropertyBuilder
org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B extends org.refcodes.graphical.GridHeightAccessor.GridHeightBuilder<B>>, org.refcodes.graphical.GridHeightAccessor.GridHeightMutator, org.refcodes.graphical.GridHeightAccessor.GridHeightProperty
org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B extends org.refcodes.graphical.GridWidthAccessor.GridWidthBuilder<B>>, org.refcodes.graphical.GridWidthAccessor.GridWidthMutator, org.refcodes.graphical.GridWidthAccessor.GridWidthProperty
ACTION
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, getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAction
public GridDimensionChangedEventImpl(int aWidth, int aHeight, int aPrecedingWidth, int aPrecedingHeigt, Checkerboard<S> aSource)
public int getGridHeight()
getGridHeight
in interface org.refcodes.graphical.GridHeightAccessor
public int getGridWidth()
getGridWidth
in interface org.refcodes.graphical.GridWidthAccessor
public org.refcodes.graphical.GridDimension getPrecedingGridDimension()
getPrecedingGridDimension
in interface GridDimensionChangedEvent<S>
public String toString()
toString
in class AbstractCheckerboardEvent<S>
Copyright © 2016. All rights reserved.