|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.data.Token
ptolemy.domains.gr.kernel.Scene2DToken
public class Scene2DToken
A token that contains a two-dimension GR scene. Two dimensional GR scenes are represented by Diva canvases. This is used by the GR domain to get proper type checking across 2D GR actors.
Red (neuendor) |
Red (neuendor) |
Nested Class Summary | |
---|---|
static class |
Scene2DToken.Scene2DType
The two dimensional scene type corresponding with a SceneToken. |
Field Summary | |
---|---|
private Figure |
_figure
|
static Type |
TYPE
The Scene2DType. |
Fields inherited from class ptolemy.data.Token |
---|
NIL |
Constructor Summary | |
---|---|
Scene2DToken(Figure figure)
Construct a Scene2DToken. |
Method Summary | |
---|---|
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. |
Methods inherited from class ptolemy.data.Token |
---|
add, addReverse, divide, divideReverse, isCloseTo, isCloseTo, isNil, modulo, moduloReverse, multiply, multiplyReverse, notSupportedConversionMessage, notSupportedIncomparableConversionMessage, notSupportedIncomparableMessage, notSupportedMessage, notSupportedNullNilStringMessage, one, pow, subtract, subtractReverse, zero, zeroReturnType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final Type TYPE
private Figure _figure
Constructor Detail |
---|
public Scene2DToken(Figure figure)
figure
- The figure that is represented by a Diva canvas.Method Detail |
---|
public Figure getFigure()
public Type getType()
getType
in class Token
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()
toString
in class Token
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |