Class BingoNumbersView
java.lang.Object
|
+--DisplayPanel
|
+--BingoNumbersView
- public class BingoNumbersView
- extends DisplayPanel
View for bingo numbers called in a game.
- See Also:
- Serialized Form
Field Summary |
protected BingoNumbers |
model
Data model for this. |
Constructor Summary |
BingoNumbersView(BingoNumbers aModel)
Constructs a view for the given data model. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
model
protected BingoNumbers model
- Data model for this.
BingoNumbersView
public BingoNumbersView(BingoNumbers aModel)
- Constructs a view for the given data model.
- Parameters:
aModel
- data model for the view
paintComponent
protected void paintComponent(Graphics g)
- Paints this to the given graphics context.
- Parameters:
g
- context to which to paint