|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectalgoanim.primitives.Primitive
algoanim.primitives.Point
public class Point
Represents a simple point on the animation screen.
| Field Summary |
|---|
| Fields inherited from class algoanim.primitives.Primitive |
|---|
gen |
| Constructor Summary | |
|---|---|
Point(PointGenerator pg,
Node theCoords,
java.lang.String name,
DisplayOptions display,
PointProperties pp)
Instantiates the Point and calls the create() method of the
associated PointGenerator. |
|
| Method Summary | |
|---|---|
Node |
getCoords()
Returns the coordinates of this Point. |
PointProperties |
getProperties()
Returns the properties of this Point. |
void |
setName(java.lang.String newName)
Sets the name of this Primitive. |
| Methods inherited from class algoanim.primitives.Primitive |
|---|
changeColor, exchange, getDisplayOptions, getName, hide, hide, moveBy, moveTo, moveVia, rotate, rotate, show, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Point(PointGenerator pg,
Node theCoords,
java.lang.String name,
DisplayOptions display,
PointProperties pp)
Point and calls the create() method of the
associated PointGenerator.
pg - the appropriate code Generator.theCoords - the Node where this Point shall be
located.name - the name of this Point.display - [optional] the DisplayOptions of this
Point.pp - [optional] properties for this Point.| Method Detail |
|---|
public PointProperties getProperties()
Point.
Point.public Node getCoords()
Point.
Point.public void setName(java.lang.String newName)
PrimitivePrimitive.
setName in class PrimitivenewName - the new name for this Primitive.Primitive.setName(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||