public interface ValueIterator extends Settable
Red (tfeng) |
Yellow (tfeng) |
Settable.Visibility
EXPERT, FULL, NONE, NOT_EDITABLE
Modifier and Type | Method and Description |
---|---|
Token |
getToken()
Get the current value of the parameter that implements this interface.
|
Token |
initial()
Set the parameter that implements this interface with its initial value,
and return that value.
|
Token |
next()
Set the parameter that implements this interface with its next value,
and return that value.
|
void |
setToken(Token token)
Set the value of the parameter that implements this interface.
|
addValueListener, getDefaultExpression, getDisplayName, getExpression, getValueAsString, getVisibility, removeValueListener, setExpression, setVisibility, validate
description, getContainer, getFullName, getName, getName, setName
Token getToken() throws IllegalActionException
IllegalActionException
- Throws if the current value cannot be
obtained.setToken(Token)
Token initial() throws IllegalActionException
IllegalActionException
- Thrown when trying to compute the
initial value or to set the parameter with that value.Token next() throws IllegalActionException
initial()
, or no next value exists, IllegalActionException
is
thrown.IllegalActionException
- Thrown when trying to compute the next
value or to set the parameter with that value, or if the initial value
has not been set, or no next value exists.void setToken(Token token) throws IllegalActionException
next()
method starting from the initial value.token
- The value to be set.IllegalActionException
- Thrown when trying to set the value.getToken()