public class Scene2DToken extends Token
Red (neuendor) |
Red (neuendor) |
Modifier and Type | Class and Description |
---|---|
static class |
Scene2DToken.Scene2DType
The two dimensional scene type corresponding with a SceneToken.
|
Constructor and Description |
---|
Scene2DToken(Figure figure)
Construct a Scene2DToken.
|
Modifier and Type | Method and Description |
---|---|
Figure |
getFigure()
Return the object contained by this token.
|
Type |
getType()
Return the type of this token.
|
BooleanToken |
isEqualTo(Token token)
Test for equality of the values of this Token and the argument Token.
|
java.lang.String |
toString()
Return the value of this token as a string that can be parsed
by the expression language to recover a token with the same value.
|
add, addReverse, divide, divideReverse, isCloseTo, isCloseTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType
public static final Type TYPE
public Scene2DToken(Figure figure)
figure
- The figure that is represented by a Diva canvas.public Figure getFigure()
public Type getType()
public BooleanToken isEqualTo(Token token) throws IllegalActionException
isEqualTo
in class Token
token
- The token with which to test equality.IllegalActionException
- If this method is not
supported by the derived class.public java.lang.String toString()