|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DisplayPanel | +--BingoCardView
View for a bingo card.
Constructor Summary | |
BingoCardView(BingoNumbers numbers)
Constructs a new bingo card view using the given bingo numbers that have been called. |
Method Summary | |
boolean |
isBingo()
Returns whether or not this has a bingo. |
void |
mark()
Marks the called numbers on this. |
void |
newGame()
Sets this card up for a new game. |
protected void |
paintComponent(Graphics g)
Paints this to the given graphics context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BingoCardView(BingoNumbers numbers)
numbers
- object storing numbers that have been calledMethod Detail |
public void newGame()
public void mark()
public boolean isBingo()
protected void paintComponent(Graphics g)
g
- context to which to paint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |