|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.wicket.examples.hangman.Letter
public class Letter
Model for a letter in the game of hangman
Constructor Summary | |
---|---|
Letter(char letter)
Constructor |
Method Summary | |
---|---|
String |
asString()
|
boolean |
equals(Object object)
|
ResourceReference |
getSharedImageResource()
|
void |
guess()
Guess this letter |
int |
hashCode()
|
boolean |
isGuessed()
|
void |
reset()
Resets this letter into the default state |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Letter(char letter)
letter
- The letterMethod Detail |
---|
public String asString()
public boolean equals(Object object)
equals
in class Object
Object.equals(java.lang.Object)
public ResourceReference getSharedImageResource()
public void guess()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean isGuessed()
public void reset()
public String toString()
toString
in class Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |