|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectButton
de.palmmedia.yahtzee.ui.ElementButton
public class ElementButton
A Button representing an Element
.
Field Summary | |
---|---|
private Element |
element
The Element . |
Constructor Summary | |
---|---|
ElementButton(Context context,
Element element)
Constructor. |
Method Summary | |
---|---|
Element |
getElement()
Gets the Element . |
void |
mark()
Marks the Element . |
boolean |
performClick()
|
void |
update(Dice[] dices)
Updates the view depending on the current dices. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private Element element
Element
.
Constructor Detail |
---|
public ElementButton(Context context, Element element)
context
- The context.element
- The Element
.Method Detail |
---|
public Element getElement()
Element
.
Element
.public boolean performClick()
public void mark()
Element
.
public void update(Dice[] dices)
dices
- The dices.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |