|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.univ.paris5.GameOfLife.State
public class State
Every cell have a state, it is this objet.
Field Summary | |
---|---|
java.lang.String |
indexState
|
java.awt.Color |
stateColor
|
Constructor Summary | |
---|---|
State(State state)
Instance of State. |
|
State(java.lang.String indexState,
java.awt.Color stateColor)
Instance of State. |
Method Summary | |
---|---|
java.awt.Color |
getColor()
Get the color. |
java.lang.String |
getIndex()
Get the index. |
void |
setColor(java.awt.Color color)
Set the color. |
void |
setIndex(java.lang.String index)
Set the index. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String indexState
public java.awt.Color stateColor
Constructor Detail |
---|
public State(State state)
state
- public State(java.lang.String indexState, java.awt.Color stateColor)
state
- Method Detail |
---|
public void setColor(java.awt.Color color)
color
- public void setIndex(java.lang.String index)
index
- public java.awt.Color getColor()
public java.lang.String getIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |