standup.clouds
Class CloudButtonWordTrieClustered

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

public class CloudButtonWordTrieClustered
extends CloudButtonWordTrie

A variant of CloudButtonWordTrie that clusters letters together to reduce the number of options displayed.

Author:
Ruli Manurung

Nested Class Summary
 
Nested classes/interfaces inherited from class standup.clouds.CloudButton
CloudButton.LineMode
 
Field Summary
 
Fields inherited from class standup.clouds.CloudButtonWordTrie
wordTrie
 
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
CloudButtonWordTrieClustered(CloudFrontend f, CloudButton _parent, CloudLabel _label, CloudLabel _help, WordTrie _wt)
           
 
Method Summary
(package private)  List<CloudButton> constructPeripheralChildren()
           
 String getLogFileText()
           
 int getMaxChildrenDisplay()
           
(package private)  boolean hasLexemeSetChild()
           
(package private)  boolean hasNonLexemeSetChild()
           
 
Methods inherited from class standup.clouds.CloudButtonWordTrie
constructMessageLabel, executeClick, getChildBubbleLabel, getLexemeSetLubbleDependingOnChooseSpecificLexemes, getRingSize, layoutCloudLabel
 
Methods inherited from class standup.clouds.CloudButton
clicked, getCentreChild, getCentreSize, getMessage, getOffsetAngle, getParent, getPeripheralChildren, 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
 

Constructor Detail

CloudButtonWordTrieClustered

public CloudButtonWordTrieClustered(CloudFrontend f,
                                    CloudButton _parent,
                                    CloudLabel _label,
                                    CloudLabel _help,
                                    WordTrie _wt)
Method Detail

getLogFileText

public String getLogFileText()
Overrides:
getLogFileText in class CloudButtonWordTrie

getMaxChildrenDisplay

public int getMaxChildrenDisplay()
Overrides:
getMaxChildrenDisplay in class CloudButtonWordTrie

hasLexemeSetChild

boolean hasLexemeSetChild()
Overrides:
hasLexemeSetChild in class CloudButtonWordTrie

hasNonLexemeSetChild

boolean hasNonLexemeSetChild()
Overrides:
hasNonLexemeSetChild in class CloudButtonWordTrie

constructPeripheralChildren

List<CloudButton> constructPeripheralChildren()
Overrides:
constructPeripheralChildren in class CloudButtonWordTrie