edu.washington.cs.supple.rep
Class UiAlternativeImpl
java.lang.Object
edu.washington.cs.supple.rep.SuppleBeanImpl
edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElementImpl
edu.washington.cs.supple.rep.UiObjectImpl
edu.washington.cs.supple.rep.UiAlternativeImpl
- All Implemented Interfaces:
- java.lang.Cloneable, ConstraintManipulation, java.util.EventListener, java.beans.PropertyChangeListener, java.io.Serializable, SuppleBean, SuppleUiObjectHierarchyElement, UiAlternative, UiObject, ValueListener
- public class UiAlternativeImpl
- extends UiObjectImpl
- implements UiAlternative
- Author:
- kgajos
- See Also:
- Serialized Form
| Fields inherited from class edu.washington.cs.supple.rep.UiObjectImpl |
active, activeValue, constraints, currentView, hints, interfaceIdentifier, modifiable, runtime, textLabel, type, uniqueId, uniqueIdCounter |
| Methods inherited from class edu.washington.cs.supple.rep.UiObjectImpl |
accept, acceptBindingVisitor, addRenderingConstraint, addRenderingHint, bindActive, childChanged, clone, equals, getBottomUpObjects, getCommonAncestor, getInterfaceIdentifier, getPath, getRenderingConstraints, getRenderingHints, getTextLabel, getType, getUniqueId, getView, hashCode, hasTextLabel, isActive, isLeaf, isModifiable, isRuntime, propertyChange, setActive, setRuntime, setType, setView, updateParent, valueChanged |
| Methods inherited from class edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElementImpl |
getAncestors, getFullName, getName, getParent, getParentObject, getRootObject, isChildOf, isDescendantOf, isRoot, setName, setParent |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.washington.cs.supple.rep.UiObject |
accept, childChanged, equals, getInterfaceIdentifier, getTextLabel, getType, getUniqueId, getView, hashCode, hasTextLabel, isActive, isLeaf, isModifiable, isRuntime, setActive, setRuntime, setView |
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleUiObjectHierarchyElement |
getAncestors, getFullName, getName, getParent, getParentObject, getRootObject, isChildOf, isDescendantOf, isRoot, setName, setParent |
| Methods inherited from interface java.beans.PropertyChangeListener |
propertyChange |
alternatives
protected java.util.ArrayList alternatives
curAlternative
protected UiObject curAlternative
description
protected java.lang.String description
UiAlternativeImpl
public UiAlternativeImpl(java.lang.String description)
- Parameters:
description - the description -- used mostly for debugging
addAlternative
public void addAlternative(UiObject a)
- Specified by:
addAlternative in interface UiAlternative
setAlternative
public void setAlternative(UiObject a)
- Specified by:
setAlternative in interface UiAlternative
getCurrentAlternative
public UiObject getCurrentAlternative()
- Specified by:
getCurrentAlternative in interface UiAlternative
size
public int size()
- Specified by:
size in interface UiAlternative
iterator
public java.util.Iterator iterator()
- Specified by:
iterator in interface UiAlternative
toString
public java.lang.String toString()
- Specified by:
toString in interface UiObject- Overrides:
toString in class UiObjectImpl
toPrettyString
public java.lang.String toPrettyString(java.lang.String pref)
- Specified by:
toPrettyString in interface UiObject- Overrides:
toPrettyString in class UiObjectImpl