|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.umd.cs.jazz.ZSceneGraphObject | +--edu.umd.cs.jazz.ZVisualComponent | +--edu.umd.cs.jazz.component.ZBasicVisualComponent | +--edu.umd.cs.jazz.component.ZShape | +--edu.umd.cs.jazz.component.ZCoordList | +--edu.umd.cs.jazz.component.ZPolygon
ZPolygon is a visual component for displaying a polygonal shape.
Warning: Serialized and ZSerialized objects of this class will not be compatible with future Jazz releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Jazz. A future release of Jazz will provide support for long term persistence.
Field Summary |
Fields inherited from class edu.umd.cs.jazz.component.ZCoordList |
coordListShape |
Fields inherited from class edu.umd.cs.jazz.component.ZBasicVisualComponent |
absPenWidth, DEFAULT_ABS_PEN_WIDTH, DEFAULT_FILL_PAINT, DEFAULT_PEN_PAINT, DEFAULT_PEN_WIDTH, DEFAULT_STROKE, fillPaint, penPaint, penWidth, stroke |
Fields inherited from class edu.umd.cs.jazz.ZSceneGraphObject |
bounds, inTransaction, invalidBounds, invalidVolatileBounds, listenerList, volatileBounds, volatileBounds_DEFAULT |
Constructor Summary | |
ZPolygon()
Constructs a new ZPolygon with no points. |
|
ZPolygon(double[] xp,
double[] yp)
Constructs a new ZPolygon from an array of points. |
|
ZPolygon(double x,
double y)
Constructs a new ZPolygon with a single point. |
|
ZPolygon(double x1,
double y1,
double x2,
double y2)
Constructs a new ZPolygon with a two points |
|
ZPolygon(java.awt.geom.Point2D pt)
Constructs a new ZPolygon with a single point. |
|
ZPolygon(java.awt.geom.Point2D pt1,
java.awt.geom.Point2D pt2)
Constructs a new ZPolygon with two points. |
|
ZPolygon(ZPolyline aPolyline)
Constructs a new ZPolygon with no points. |
Method Summary | |
protected edu.umd.cs.jazz.component.ZCoordListShape |
getCoordListShape()
Get the shape defined by the coords. |
Methods inherited from class edu.umd.cs.jazz.component.ZCoordList |
add, add, add, add, duplicateObject, getNumberPoints, getShape, getX, getXCoords, getY, getYCoords, isClosed, lineTo, moveTo, reset, setClosed, setCoords, setCoords, setCoords, setState, writeObject |
Methods inherited from class edu.umd.cs.jazz.component.ZShape |
computeBounds, getFrame, getHeight, getStrokeTransformForAbsPenWidth, getWidth, getX, getY, pick, pickStroke, render |
Methods inherited from class edu.umd.cs.jazz.component.ZBasicVisualComponent |
getAbsPenWidth, getFillColor, getFillPaint, getPenColor, getPenPaint, getPenWidth, getPenWidthForCurrentContext, getStroke, setAbsPenWidth, setFillColor, setFillPaint, setPenColor, setPenPaint, setPenWidth, setStroke |
Methods inherited from class edu.umd.cs.jazz.ZVisualComponent |
addParent, getNumParents, getParents, getParentsReference, getRoot, paint, pickBounds, removeParent, repaint, repaint, trimToSize, updateBounds, updateObjectReferences, updateVolatility, writeObjectRecurse |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ZPolygon()
public ZPolygon(java.awt.geom.Point2D pt)
public ZPolygon(java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
public ZPolygon(double x, double y)
public ZPolygon(double x1, double y1, double x2, double y2)
public ZPolygon(double[] xp, double[] yp)
public ZPolygon(ZPolyline aPolyline)
Method Detail |
protected edu.umd.cs.jazz.component.ZCoordListShape getCoordListShape()
getCoordListShape
in class ZCoordList
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |