|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.gui.BaseShape
edu.neu.ccs.gui.BaseVertexShape
edu.neu.ccs.gui.PolygonDotsShape
Class PolygonDotsShape defines a shape that
consists of the vertex dots of a polygon.
This class is a BaseVertexShape whose
Path.Strategy is fixed to be
Path.POLYGON_DOTS.
This class does not use the tangent array inherited from
BaseShape.
| Field Summary | |
static String |
ADD_VERTEX
Bound property name to add one vertex. |
static String |
REMOVE_VERTEX
Bound property name to remove one vertex. |
static String |
SET_VERTEX
Bound property name to set one vertex. |
static String |
SET_VERTEX_DATA
Bound property name to set the vertex data. |
| Fields inherited from class edu.neu.ccs.gui.BaseShape |
REMOVE_SHAPE_DATA, SET_CLOSURE_MODE, SET_PATH_STRATEGY, SET_WINDING_RULE, tangent, vertex |
| Constructor Summary | |
PolygonDotsShape()
The default constructor that creates an empty polygon dots shape. |
|
PolygonDotsShape(float[][] vertex)
The constructor that creates a polygon dots shape with the given vertex array. |
|
| Method Summary | |
void |
setPathStrategy(Path.Strategy pathstrategy)
Since the Path.Strategy of this class is fixed
to be Path.POLYGON, this method overrides the
inherited method to do nothing. |
| Methods inherited from class edu.neu.ccs.gui.BaseVertexShape |
addVertex, addVertex, addVertices, appendVertex, appendVertex, appendVertices, removeAllVertices, removeVertex, removeVertices, setVertex, setVertex, setVertexData |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String SET_VERTEX_DATA
public static final String SET_VERTEX
public static final String ADD_VERTEX
public static final String REMOVE_VERTEX
| Constructor Detail |
public PolygonDotsShape()
The default constructor that creates an empty polygon dots shape.
public PolygonDotsShape(float[][] vertex)
The constructor that creates a polygon dots shape with the given vertex array.
vertex - the vertex data| Method Detail |
public final void setPathStrategy(Path.Strategy pathstrategy)
Since the Path.Strategy of this class is fixed
to be Path.POLYGON, this method overrides the
inherited method to do nothing.
setPathStrategy in class BaseShapepathstrategy - the path strategy to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||