standup.clouds
Class CloudButtonNewJokeWord
java.lang.Object
standup.clouds.EntityAnimatedInteractive
standup.clouds.EntityAnimatedInteractiveBubbleLabel
standup.clouds.CloudButton
standup.clouds.CloudButtonNewJoke
standup.clouds.CloudButtonNewJokeWord
- All Implemented Interfaces:
- Entity, EntityAnimated
public class CloudButtonNewJokeWord
- extends CloudButtonNewJoke
A CloudButton
that, when selected by the user, calls the
Backend
to get a new joke using a specific word that satisfies the
current user profile's joke constraints.
- Author:
- Ruli Manurung
Methods inherited from class standup.clouds.CloudButton |
clicked, getCentreChild, getCentreSize, getMaxChildrenDisplay, getMessage, getOffsetAngle, getParent, getPeripheralChildren, getRingSize, layoutCloudLabel, prepareForAnimation, removeChild, setCentreChild, setLocation, setMessage, setPeripheralChildren, setSize, step |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lxs
private final LexemeSet lxs
generatedJoke
private JokeStructure generatedJoke
CloudButtonNewJokeWord
public CloudButtonNewJokeWord(CloudFrontend f,
CloudButton p,
CloudLabel bl,
LexemeSet _lxs)
- Constructor for getting a new joke -- by word (non lexeme-specific)
- Parameters:
p
- lex
-
getLogFileText
public String getLogFileText()
- Specified by:
getLogFileText
in class EntityAnimatedInteractive
getAnotherLubbleNewJoke
CloudButtonNewJoke getAnotherLubbleNewJoke()
- Specified by:
getAnotherLubbleNewJoke
in class CloudButtonNewJoke
getJokeStructure
JokeStructure getJokeStructure()
- Specified by:
getJokeStructure
in class CloudButtonNewJoke
getLubbleOldJokes
CloudButtonOldJokes getLubbleOldJokes()
- Specified by:
getLubbleOldJokes
in class CloudButtonNewJoke