|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectImageButton
de.palmmedia.yahtzee.ui.DiceImageButton
public class DiceImageButton
An ImageButton representing a Dice
.
Field Summary | |
---|---|
private Dice |
dice
The Dice . |
Constructor Summary | |
---|---|
DiceImageButton(Context context,
Dice dice)
Constructor. |
Method Summary | |
---|---|
boolean |
performClick()
|
void |
update(Observable observable,
Object data)
|
private void |
updateImage()
Updates the image depending on the state of the Dice . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Dice dice
Dice
.
Constructor Detail |
---|
public DiceImageButton(Context context, Dice dice)
context
- The context.dice
- Dice
.Method Detail |
---|
private void updateImage()
Dice
.
public boolean performClick()
public void update(Observable observable, Object data)
update
in interface Observer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |