standup.clouds
Class CloudButtonNewJokeAny

java.lang.Object
  extended by standup.clouds.EntityAnimatedInteractive
      extended by standup.clouds.EntityAnimatedInteractiveBubbleLabel
          extended by standup.clouds.CloudButton
              extended by standup.clouds.CloudButtonNewJoke
                  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class standup.clouds.CloudButton
CloudButton.LineMode
 
Field Summary
private  JokeStructure generatedJoke
           
 
Fields inherited from class standup.clouds.CloudButtonNewJoke
joke
 
Fields inherited from class standup.clouds.CloudButton
message, progressMapStage
 
Fields inherited from class standup.clouds.EntityAnimatedInteractiveBubbleLabel
bubbleLabel, cloudLabelLayout, myShape
 
Fields inherited from class standup.clouds.EntityAnimatedInteractive
containingPanel, frontend
 
Constructor Summary
CloudButtonNewJokeAny(CloudFrontend f, CloudButton p, CloudLabel bl)
          Constructore for getting a new joke -- unconstrained
 
Method Summary
(package private)  CloudButtonNewJoke getAnotherLubbleNewJoke()
           
(package private)  JokeStructure getJokeStructure()
           
 String getLogFileText()
           
(package private)  CloudButtonOldJokes getLubbleOldJokes()
           
 
Methods inherited from class standup.clouds.CloudButtonNewJoke
executeClick, showMessage, showMessage
 
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 standup.clouds.EntityAnimatedInteractiveBubbleLabel
contains, draw, getBubbleLabel, getCurrentDimension, getCurrentLocation, getSpeechText
 
Methods inherited from class standup.clouds.EntityAnimatedInteractive
dehighlight, getHelpText, highlight, isHighlighted, speakSpeechText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

generatedJoke

private JokeStructure generatedJoke
Constructor Detail

CloudButtonNewJokeAny

public CloudButtonNewJokeAny(CloudFrontend f,
                             CloudButton p,
                             CloudLabel bl)
Constructore for getting a new joke -- unconstrained

Parameters:
p -
Method Detail

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