org.spiffyui.client.widgets.multivaluesuggest
Class MultivalueSuggestBoxBase.OptionResultSet

java.lang.Object
  extended by org.spiffyui.client.widgets.multivaluesuggest.MultivalueSuggestBoxBase.OptionResultSet
Enclosing class:
MultivalueSuggestBoxBase

protected final class MultivalueSuggestBoxBase.OptionResultSet
extends java.lang.Object

Bean for total size and options


Constructor Summary
MultivalueSuggestBoxBase.OptionResultSet(int totalSize)
          Constructor.
 
Method Summary
 void addOption(MultivalueSuggestBoxBase.Option option)
          Add an option
 MultivalueSuggestBoxBase.Option[] getOptions()
           
 int getTotalSize()
           
 void setTotalSize(int totalSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultivalueSuggestBoxBase.OptionResultSet

public MultivalueSuggestBoxBase.OptionResultSet(int totalSize)
Constructor. Must pass in the total size.

Parameters:
totalSize - the total size of the template
Method Detail

addOption

public void addOption(MultivalueSuggestBoxBase.Option option)
Add an option

Parameters:
option - - the Option to add

getOptions

public MultivalueSuggestBoxBase.Option[] getOptions()
Returns:
an array of Options

setTotalSize

public void setTotalSize(int totalSize)
Parameters:
totalSize - The totalSize to set.

getTotalSize

public int getTotalSize()
Returns:
Returns the totalSize.