|
|||||||||
| Home >> All >> com >> adorphuye >> [ othello overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.adorphuye.othello
Class OthelloCellRenderer

java.lang.Objectcom.adorphuye.othello.OthelloCellRenderer
- All Implemented Interfaces:
- com.adorphuye.othello.gui.board.BoardCellRenderer
- class OthelloCellRenderer
- extends java.lang.Object
- implements com.adorphuye.othello.gui.board.BoardCellRenderer
- extends java.lang.Object
Renders a single cell of a Board
| Nested Class Summary | |
(package private) class |
OthelloCellRenderer.OthelloCellComponent
|
| Field Summary | |
private OthelloCellRenderer.OthelloCellComponent |
comp
|
private boolean |
hints
|
private java.awt.Color |
p1
|
private java.awt.Color |
p2
|
| Constructor Summary | |
OthelloCellRenderer()
|
|
OthelloCellRenderer(java.awt.Color a,
java.awt.Color b)
|
|
| Method Summary | |
java.awt.Component |
getBoardCellRenderer(java.awt.Component parent,
boolean hasFocus,
java.lang.Object value,
java.awt.Point p)
|
boolean |
getHints()
|
void |
setHints(boolean b)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
comp
private OthelloCellRenderer.OthelloCellComponent comp
p1
private java.awt.Color p1
p2
private java.awt.Color p2
hints
private boolean hints
| Constructor Detail |
OthelloCellRenderer
public OthelloCellRenderer()
OthelloCellRenderer
public OthelloCellRenderer(java.awt.Color a, java.awt.Color b)
| Method Detail |
setHints
public void setHints(boolean b)
getHints
public boolean getHints()
getBoardCellRenderer
public java.awt.Component getBoardCellRenderer(java.awt.Component parent, boolean hasFocus, java.lang.Object value, java.awt.Point p)
- Specified by:
getBoardCellRendererin interfacecom.adorphuye.othello.gui.board.BoardCellRenderer
|
|||||||||
| Home >> All >> com >> adorphuye >> [ othello overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.adorphuye.othello.OthelloCellRenderer