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