|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
| Method Summary | |
void |
addValue(StateVar uiObject,
java.lang.Object v)
Adds an element to the vector held by the uiObject |
boolean |
containsValue(StateVar uiObject,
java.lang.Object v)
Checks if the vector held by the uiObjects contains a particular value |
SuppleType |
getElementType()
Returns the type of the elements in this vector |
int |
getNumValues(StateVar uiObject)
|
java.lang.Object |
getValue(StateVar uiObject,
int i)
|
java.util.Vector |
getValues(StateVar uiObject)
Returns the value of the uiObject cast as a vector; if the object has no value, an empty vector is returned (never null) |
boolean |
removeValue(StateVar uiObject,
java.lang.Object v)
Removes a value from the vector held by the uiObject |
void |
setValue(StateVar uiObject,
java.lang.Object value)
Erases whaver elements that might have been held by the uiObject and sets the value as the only element of the vector |
void |
setValues(StateVar uiObject,
java.util.Collection c)
Erases whaver elements that might have been held by the uiObject and sets the collection of values as the contents of the vector |
| Methods inherited from interface edu.washington.cs.supple.rep.ContainerType |
childrenHaveLabels, getChild, getChildren, getNumChildren, getNumChildrenAdded, getUiObject, hasModifiableChild, removeChild, size, swapChild |
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleType |
accept, getIndex, getIndex, getLegalValues, getLikelyValues, getLongestLegalIndex, getMaxNumLegalValues, getNumLegalValues, getNumLikelyValues, getTypicalIndexLength, getUniqueId, hasIndex, hasOrdering, hasSetLegalValues, isEnumerable, isFinalLegalValues, isLegalValue, isLegalValueClass, isPrimitiveType, orderValues, toPrettyString, verifyCurrentValue |
| Methods inherited from interface edu.washington.cs.supple.rep.SuppleBean |
addPropertyChangeListener, removePropertyChangeListener |
| Method Detail |
public SuppleType getElementType()
public void addValue(StateVar uiObject,
java.lang.Object v)
uiObject - a ui Element of type VectorTypev - a value to be added to the vector
java.lang.IllegalArgumentException - if the value is considered illegal
by the type that describes the elements held by this vector
public boolean removeValue(StateVar uiObject,
java.lang.Object v)
uiObject - a ui Element of type VectorTypev - a value to be added to the vector
public void setValue(StateVar uiObject,
java.lang.Object value)
uiObject - a ui Element of type VectorTypevalue - the value to be set
public void setValues(StateVar uiObject,
java.util.Collection c)
uiObject - a ui Element of type VectorTypec - the collection of values
public boolean containsValue(StateVar uiObject,
java.lang.Object v)
uiObject - a ui Element of type VectorTypev - value to be checked
public java.util.Vector getValues(StateVar uiObject)
uiObject - a ui Element of type VectorType
public java.lang.Object getValue(StateVar uiObject,
int i)
public int getNumValues(StateVar uiObject)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||