standup.clouds
Class CloudButtonNewJokeTopic
java.lang.Object
standup.clouds.EntityAnimatedInteractive
standup.clouds.EntityAnimatedInteractiveBubbleLabel
standup.clouds.CloudButton
standup.clouds.CloudButtonNewJoke
standup.clouds.CloudButtonNewJokeTopic
- All Implemented Interfaces:
- Entity, EntityAnimated
public class CloudButtonNewJokeTopic
- extends CloudButtonNewJoke
A CloudButton
that, when selected by the user, calls the
Backend
to get a new joke on a specific topic 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 |
topic
private final Topic topic
generatedJoke
private JokeStructure generatedJoke
CloudButtonNewJokeTopic
public CloudButtonNewJokeTopic(CloudFrontend f,
CloudButton p,
CloudLabel bl,
Topic t)
- Constructore for getting a new joke -- by topic
- Parameters:
p
- t
-
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