standup.clouds
Class CloudButtonNewJokeLexeme

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.CloudButtonNewJokeLexeme
All Implemented Interfaces:
Entity, EntityAnimated

public class CloudButtonNewJokeLexeme
extends CloudButtonNewJoke

A CloudButton that, when selected by the user, calls the Backend to get a new joke using a specific sense of a word 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
           
(package private)  Lexeme lexeme
           
 
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
CloudButtonNewJokeLexeme(CloudFrontend f, CloudButton p, CloudLabel bl, Lexeme lex)
          Constructore for getting a new joke -- by topic
 
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

lexeme

final Lexeme lexeme

generatedJoke

private JokeStructure generatedJoke
Constructor Detail

CloudButtonNewJokeLexeme

public CloudButtonNewJokeLexeme(CloudFrontend f,
                                CloudButton p,
                                CloudLabel bl,
                                Lexeme lex)
Constructore for getting a new joke -- by topic

Parameters:
p -
lex -
Method Detail

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