Class CloudButtonWordTypeIn

  extended by standup.clouds.EntityAnimatedInteractive
      extended by standup.clouds.EntityAnimatedInteractiveBubbleLabel
          extended by standup.clouds.CloudButton
              extended by standup.clouds.CloudButtonWordTypeIn
All Implemented Interfaces:
Entity, EntityAnimated

public class CloudButtonWordTypeIn
extends CloudButton

A CloudButton that, when selected by the user, puts up a dialog screen where the user can type in, or choose a word, from a JComboBox.

Ruli Manurung

Nested Class Summary
Nested classes/interfaces inherited from class standup.clouds.CloudButton
Field Summary
(package private)  LexemeSet matches
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
CloudButtonWordTypeIn(CloudFrontend f, CloudButton p, CloudLabel bl, CloudLabel msg)
Method Summary
 Milestone executeClick()
           This is the default action that is performed when a CloudButton is clicked, i.e.: Perform the appropriate animations: 'shrink' siblings, move to centre, 'grow' children, and Update progress map if necessary, and Return a Milestone representing the user's interaction choice.
 String getLogFileText()
 int getMaxChildrenDisplay()
(package private)  void setupKids()
Methods inherited from class standup.clouds.CloudButton
clicked, getCentreChild, getCentreSize, 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


LexemeSet matches
Constructor Detail


public CloudButtonWordTypeIn(CloudFrontend f,
                             CloudButton p,
                             CloudLabel bl,
                             CloudLabel msg)
Method Detail


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


public int getMaxChildrenDisplay()
getMaxChildrenDisplay in class CloudButton


public Milestone executeClick()
Description copied from class: CloudButton

This is the default action that is performed when a CloudButton is clicked, i.e.:

Override this method if: -- you want this Lubble to perform other things when first clicked, e.g. joke generation (make sure to call super.getMilestone to return the Milestone!) -- you just want to perform some stuff that doesn't end up as a Milestone on the HistoryCoordinator (make sure to return null)

executeClick in class CloudButton


void setupKids()