standup.clouds
Class CloudButtonOldJokesType

java.lang.Object
  extended by standup.clouds.EntityAnimatedInteractive
      extended by standup.clouds.EntityAnimatedInteractiveBubbleLabel
          extended by standup.clouds.CloudButton
              extended by standup.clouds.CloudButtonOldJokes
                  extended by standup.clouds.CloudButtonOldJokesType
All Implemented Interfaces:
Entity, EntityAnimated

public class CloudButtonOldJokesType
extends CloudButtonOldJokes

A CloudButton that, when selected by the user, displays a set of all previously generated jokes of a specific type 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  JokeType type
           
 
Fields inherited from class standup.clouds.CloudButtonOldJokes
jokeIDs
 
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
CloudButtonOldJokesType(CloudFrontend f, CloudButton p, CloudLabel bl, JokeType t)
           
 
Method Summary
 JokeSet getJokeSet()
           
 String getLogFileText()
           
 
Methods inherited from class standup.clouds.CloudButtonOldJokes
executeClick
 
Methods inherited from class standup.clouds.CloudButton
clicked, getCentreChild, getCentreSize, getMaxChildrenDisplay, getMessage, getOffsetAngle, getParent, getPeripheralChildren, getRingSize, layoutCloudLabel, prepareForAnimation, removeChild, setCentreChild, setLocation, setMessage, setPeripheralChildren, setSize, showMessage, showMessage, 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

type

private final JokeType type
Constructor Detail

CloudButtonOldJokesType

public CloudButtonOldJokesType(CloudFrontend f,
                               CloudButton p,
                               CloudLabel bl,
                               JokeType t)
Method Detail

getLogFileText

public String getLogFileText()
Specified by:
getLogFileText in class EntityAnimatedInteractive

getJokeSet

public JokeSet getJokeSet()
Specified by:
getJokeSet in class CloudButtonOldJokes