ppe.gui.networkspec
Class ChoiceSet

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<Choice>
              extended by ppe.gui.networkspec.ChoiceSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<Choice>, java.util.Collection<Choice>, java.util.List<Choice>, java.util.RandomAccess

public class ChoiceSet
extends java.util.ArrayList<Choice>

A set of choices for a variable. The network spec mostly consists of these sets.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ChoiceSet()
           
 
Method Summary
 void createButtonGroup()
           
 Choice getChoice(java.lang.String label)
           
 Choice getChoiceOrNull(java.lang.String label)
           
 int getNColumns()
           
 Choice getSelected()
           
 boolean hasChoiceType(java.lang.String choiceType)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode
 
Methods inherited from class java.util.AbstractCollection
containsAll, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode
 

Constructor Detail

ChoiceSet

public ChoiceSet()
Method Detail

hasChoiceType

public boolean hasChoiceType(java.lang.String choiceType)

createButtonGroup

public void createButtonGroup()

getChoice

public Choice getChoice(java.lang.String label)

getChoiceOrNull

public Choice getChoiceOrNull(java.lang.String label)

getSelected

public Choice getSelected()

getNColumns

public int getNColumns()