D | (5,0) | (1,1)
JGrid - class ptft.JGrid.A graph paper grid populated with JCell objects.JGrid() -
Constructor for class ptft.JGrid
Creates new form JGrid
JGrid(int, int) -
Constructor for class ptft.JGrid
Creates new form JGrid
JGridButton - class ptft.JGridButton. JGridButton() -
Constructor for class ptft.JGridButton
Creates new form JGridButton
JLegendLabel - class ptft.JLegendLabel. JLegendLabel() -
Constructor for class ptft.JLegendLabel
Creates new form JPtftLabel
JLegendLabel(Color) -
Constructor for class ptft.JLegendLabel
JLegendLabel(Color, Color) -
Constructor for class ptft.JLegendLabel
JPaintCellularAutomata - class ptft.JPaintCellularAutomata.Adds the functionality of a simple paint program so that the user can
paint cells a different strategy or ethnicity color.JPaintCellularAutomata() -
Constructor for class ptft.JPaintCellularAutomata
Creates new form JCellularAutomataPaint
JPtftApplet - class ptft.JPtftApplet.The PTFT applet.JPtftApplet() -
Constructor for class ptft.JPtftApplet
JPtftCell - class ptft.JPtftCell.A square cell which can paint itself using one of two different fields:
m_strategy inherited from JCell, and
m_ethnicity.JPtftCell(int, int, NamedColorArray, NamedColorArray) -
Constructor for class ptft.JPtftCell
Creates a new cell.
JPtftCellularAutomata - class ptft.JPtftCellularAutomata.A graph paper grid populated with JCell objects which play
localized cellular automata games.JPtftCellularAutomata() -
Constructor for class ptft.JPtftCellularAutomata
Creates new form JPtftCellularAutomata
JPtftPanel - class ptft.JPtftPanel.A JPanel that houses the cellular automata grid and the GUI.JPtftPanel() -
Constructor for class ptft.JPtftPanel
Creates new form JPtftPanel
JPtftPanel.LegendListCellRenderer - class ptft.JPtftPanel.LegendListCellRenderer. JPtftPanel.LegendListCellRenderer() -
Constructor for class ptft.JPtftPanel.LegendListCellRenderer
M
- m_activeEthnicity -
Variable in class ptft.JPaintCellularAutomata
-
- m_activeStrategy -
Variable in class ptft.JPaintCellularAutomata
-
- m_bucketCursor -
Variable in class ptft.JPaintCellularAutomata
-
- m_bucketIcon -
Variable in class ptft.JPtftPanel
-
- m_cellPadding -
Variable in class ptft.JGrid
-
- m_cellWidth -
Variable in class ptft.JGrid
-
- m_column -
Variable in class ptft.JCell
-
- m_columns -
Variable in class ptft.JGrid
-
- m_currentIndex -
Variable in class ptft.NamedColorArray
-
- m_ethnicColors -
Variable in class ptft.JPtftCell
-
- m_ethnicColors -
Variable in class ptft.JPtftCellularAutomata
-
- m_ethnicities -
Variable in class ptft.JPtftPanel
-
- m_ethnicity -
Variable in class ptft.JPtftCell
-
- m_fillColor -
Variable in class ptft.JLegendLabel
-
- m_grid -
Variable in class ptft.JGrid
-
- m_gridIcon -
Variable in class ptft.JPtftPanel
-
- m_isFlooded -
Variable in class ptft.JPaintCellularAutomata
-
- m_isMouseButtonPressed -
Variable in class ptft.JPaintCellularAutomata
-
- m_isPaintModeEnabled -
Variable in class ptft.JPaintCellularAutomata
-
- m_isPencil -
Variable in class ptft.JPaintCellularAutomata
-
- m_isSegregated -
Variable in class ptft.JPtftCellularAutomata
-
- m_isStrategyDisplayed -
Variable in class ptft.JPtftCell
-
- m_isStrategyDisplayed -
Variable in class ptft.JPtftCellularAutomata
-
- m_lastDrawnCell -
Variable in class ptft.JPaintCellularAutomata
-
- m_namedColorArray -
Variable in class ptft.NamedColorArray
-
- m_outlineColor -
Variable in class ptft.JLegendLabel
-
- m_pauseIcon -
Variable in class ptft.JPtftPanel
-
- m_payoffs -
Variable in class ptft.JCellularAutomata
-
- m_pencilCursor -
Variable in class ptft.JPaintCellularAutomata
-
- m_pencilIcon -
Variable in class ptft.JPtftPanel
-
- m_playIcon -
Variable in class ptft.JPtftPanel
-
- m_row -
Variable in class ptft.JCell
-
- m_rows -
Variable in class ptft.JGrid
-
- m_score -
Variable in class ptft.JCell
-
- m_sleepDelay -
Variable in class ptft.JCellularAutomata
-
- m_strategies -
Variable in class ptft.JGrid
-
- m_strategies -
Variable in class ptft.JPtftPanel
-
- m_strategy -
Variable in class ptft.JCell
-
- m_strategyColors -
Variable in class ptft.JCell
-
- m_strategyColors -
Variable in class ptft.JPtftCellularAutomata
-
- m_thread -
Variable in class ptft.JCellularAutomata
-
- m_width -
Variable in class ptft.JCell
-
- mouseClicked(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mouseDragged(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mouseEntered(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mouseExited(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mouseMoved(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mousePressed(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
- mouseReleased(MouseEvent) -
Method in class ptft.JPaintCellularAutomata
-
N
- N -
Static variable in class ptft.Direction
- North
- NE -
Static variable in class ptft.Direction
- North-East
- NW -
Static variable in class ptft.Direction
- North-West
- NamedColor - class ptft.NamedColor.
-
- NamedColor(Color, String) -
Constructor for class ptft.NamedColor
- Creates a new instance of NamedColor
- NamedColorArray - class ptft.NamedColorArray.
-
- NamedColorArray(int) -
Constructor for class ptft.NamedColorArray
- Creates a new instance of dtft
- next(Direction) -
Static method in class ptft.Direction
- Enumerates directions.
- next() -
Method in class ptft.JPtftPanel
-
P
- paint(Graphics) -
Method in class ptft.JGridButton
-
- paintComponent(Graphics) -
Method in class ptft.JCell
-
- paintComponent(Graphics) -
Method in class ptft.JGrid
-
- paintComponent(Graphics) -
Method in class ptft.JLegendLabel
-
- paintComponent(Graphics) -
Method in class ptft.JPtftCell
-
- pause() -
Method in class ptft.JCellularAutomata
-
- pause() -
Method in class ptft.JPtftPanel
-
- playCell(int, int) -
Method in class ptft.JCellularAutomata
- have a cell play all of its neighbors
- playNeighbor(int, int, Direction) -
Method in class ptft.JCellularAutomata
-
- playNeighbor(int, int, Direction) -
Method in class ptft.JPtftCellularAutomata
-
- playRound() -
Method in class ptft.JCellularAutomata
- calls
playRound with repaint = true
- playRound(boolean) -
Method in class ptft.JCellularAutomata
- Evolves the cellular automata one gerenation by having each cell play
200 games against each of its eight neighboring cells.
- ptft - package ptft
-
R
- restart() -
Method in class ptft.JCellularAutomata
-
- restart() -
Method in class ptft.JPtftCellularAutomata
-
- restart() -
Method in class ptft.JPtftPanel
-
- run() -
Method in class ptft.JCellularAutomata
-
S
- S -
Static variable in class ptft.Direction
- South
- SE -
Static variable in class ptft.Direction
- South-East
- SW -
Static variable in class ptft.Direction
- South-West
- sameColor(JPtftCell, int) -
Method in class ptft.JPaintCellularAutomata
-
- segregate() -
Method in class ptft.JPtftCellularAutomata
-
- segregate() -
Method in class ptft.JPtftPanel
-
- setActiveEthnicity(int) -
Method in class ptft.JPaintCellularAutomata
- User-painting will be done with this ethnicity color
- setActiveStrategy(int) -
Method in class ptft.JPaintCellularAutomata
- User-painting will be done with this strategy color
- setBackground(Color) -
Method in class ptft.JGrid
-
- setBorderColor(Color) -
Method in class ptft.JGrid
-
- setCell(JPtftCell, int) -
Method in class ptft.JPaintCellularAutomata
-
- setColor(Color) -
Method in class ptft.NamedColor
-
- setEthnicity(int) -
Method in class ptft.JPtftCell
-
- setFillColor(Color) -
Method in class ptft.JLegendLabel
-
- setGridButtonColor() -
Method in class ptft.JPtftPanel
-
- setGridColor(Color) -
Method in class ptft.JGrid
-
- setGridColor(Color) -
Method in class ptft.JGridButton
-
- setGridColor1(Color) -
Method in class ptft.JGridButton
-
- setGridColor2(Color) -
Method in class ptft.JGridButton
-
- setGridColor3(Color) -
Method in class ptft.JGridButton
-
- setGridColor4(Color) -
Method in class ptft.JGridButton
-
- setLayout(LayoutManager) -
Method in class ptft.JGrid
- Captures attempts to change the layout manager and ignores them
- setName(String) -
Method in class ptft.NamedColor
-
- setOutlineColor(Color) -
Method in class ptft.JLegendLabel
-
- setPaintMode(boolean, boolean) -
Method in class ptft.JPaintCellularAutomata
- enables paint mode
- setPaintMode(boolean) -
Method in class ptft.JPtftPanel
-
- setPaintMode(boolean, boolean) -
Method in class ptft.JPtftPanel
-
- setPayoffs(int, int, int, int) -
Method in class ptft.JCellularAutomata
- Set the payoffs for any symmetrical 2x2 payoff matrix.
- setRandomEthnicities() -
Method in class ptft.JPtftCellularAutomata
-
- setRandomEthnicities(int[]) -
Method in class ptft.JPtftCellularAutomata
-
- setRandomEthnicity() -
Method in class ptft.JPtftCell
-
- setRandomEthnicity(int[]) -
Method in class ptft.JPtftCell
- Pre-condition: any ethnicities[i] must be less than the total number of
ethnicities.
- setRandomMode() -
Method in class ptft.JPtftPanel
-
- setRandomStrategies() -
Method in class ptft.JGrid
-
- setRandomStrategies(int[]) -
Method in class ptft.JGrid
-
- setRandomStrategy() -
Method in class ptft.JCell
-
- setRandomStrategy(int[]) -
Method in class ptft.JCell
- Pre-condition: any strategies[i] must be less than the total number of
strategies.
- setSleepDelay(int) -
Method in class ptft.JCellularAutomata
-
- setStrategy(int) -
Method in class ptft.JCell
-
- start() -
Method in class ptft.JCellularAutomata
-
- start() -
Method in class ptft.JPtftPanel
-
T
- toggleViews() -
Method in class ptft.JPtftCell
-
- toggleViews() -
Method in class ptft.JPtftCellularAutomata
-
- toggleViews() -
Method in class ptft.JPtftPanel
-
W
- W -
Static variable in class ptft.Direction
- West
A C D E F G I J M N P R S T W
|