Modifier
, java.io.Serializable
public class ModifierXCells2D extends java.lang.Object implements Modifier, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected int |
mostRecentValue |
|
protected int |
previousValue |
|
protected ISpecies |
species |
|
protected int |
yCell |
Constructor | Description |
---|---|
ModifierXCells2D(Box box,
ISpecies species,
int y) |
Modifier and Type | Method | Description |
---|---|---|
Dimension |
getDimension() |
Returns the dimension of the property being modified.
|
java.lang.String |
getLabel() |
Returns a descriptive label of the property being modified.
|
double |
getValue() |
Gets the current value of the property.
|
void |
setValue(double d) |
Sets the value of the property.
|
protected final Box box
protected final ISpecies species
protected int mostRecentValue
protected int previousValue
protected int yCell
public void setValue(double d)
Modifier
public double getValue()
Modifier
public Dimension getDimension()
Modifier
getDimension
in interface Modifier