|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--DisplayPanel | +--GamingWheelBetView
View for a bet on the gaming wheel.
Constructor Summary | |
GamingWheelBetView(int value)
Constructs a new view for the given prize value. |
Method Summary | |
Prize |
getPrize()
Returns the prize data model for this. |
boolean |
isSelected()
Returns whether or not this is selected. |
protected void |
paintComponent(Graphics g)
Paints this to the given graphics context. |
void |
setEnabled(boolean enabled)
Sets whether or not this is enabled to the given choice. |
void |
setSelected(boolean select)
Sets whether or not this is selected, to the given choice. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GamingWheelBetView(int value)
value
- prize value for this betMethod Detail |
public Prize getPrize()
public void setSelected(boolean select)
select
- whether or not to select thispublic boolean isSelected()
protected void paintComponent(Graphics g)
g
- context to which to paintpublic void setEnabled(boolean enabled)
enabled
- whether or not to enable this
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |