|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.trajano.twiff.sample.web.Guess
public class Guess
Page bean that handles the guess application.
Constructor Summary | |
---|---|
Guess(NumberToGuess numberToGuess)
Constructs the page bean. |
Method Summary | |
---|---|
int |
getGuess()
|
String |
getHint()
|
NumberToGuess |
getNumberToGuess()
|
Object |
play()
Performs the action logic. |
void |
setGuess(int guess)
Sets the guess from the POST parameters. |
void |
setHint(String hint)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Guess(NumberToGuess numberToGuess)
numberToGuess
- the number to guess stored in the session.Method Detail |
---|
public final int getGuess()
public final String getHint()
public final NumberToGuess getNumberToGuess()
public final Object play() throws MalformedURLException
MalformedURLException
public final void setGuess(int guess)
guess
- The guess to set.public final void setHint(String hint)
hint
- The hint to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |