org.jhotdraw.contrib.html
Class PolygonFigureGeometricAdapter

java.lang.Object
  extended byorg.jhotdraw.standard.AbstractFigure
      extended byorg.jhotdraw.figures.AttributeFigure
          extended byorg.jhotdraw.contrib.PolygonFigure
              extended byorg.jhotdraw.contrib.html.PolygonFigureGeometricAdapter
All Implemented Interfaces:
java.lang.Cloneable, Figure, GeometricFigure, java.io.Serializable, Storable

public class PolygonFigureGeometricAdapter
extends PolygonFigure
implements GeometricFigure

Geometric adapter for the PolygonFigure

Version:
<$CURRENT_VERSION$>
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.jhotdraw.framework.Figure
POPUP_MENU
 
Constructor Summary
PolygonFigureGeometricAdapter()
          Constructor for the PolyLineFigureGeometricAdapter object
PolygonFigureGeometricAdapter(int x, int y)
          Constructor for the PolyLineFigureGeometricAdapter object
PolygonFigureGeometricAdapter(java.awt.Polygon p)
          Constructor for the PolyLineFigureGeometricAdapter object
 
Method Summary
 java.awt.Shape getShape()
          Gets the shape attribute of the PolygonFigure object
 
Methods inherited from class org.jhotdraw.contrib.PolygonFigure
addPoint, basicDisplayBox, basicMoveBy, bounds, center, center, chop, chop, connectorAt, containsPoint, displayBox, drawBackground, drawFrame, findSegment, getInternalPolygon, getPolygon, handles, insertPointAt, isEmpty, locator, outermostPoint, pointAt, pointCount, points, read, removePointAt, scaleRotate, setInternalPolygon, setPointAt, smoothPoints, splitSegment, write
 
Methods inherited from class org.jhotdraw.figures.AttributeFigure
draw, getAttribute, getAttribute, getDefaultAttribute, getDefaultAttribute, getFillColor, getFrameColor, initDefaultAttribute, setAttribute, setAttribute, setDefaultAttribute
 
Methods inherited from class org.jhotdraw.standard.AbstractFigure
addDependendFigure, addFigureChangeListener, addToContainer, canConnect, changed, clone, connectedTextLocator, connectionInsets, connectorVisibility, decompose, displayBox, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, invalidateRectangle, listener, moveBy, release, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setZValue, size, visit, willChange
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jhotdraw.framework.Figure
addDependendFigure, addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, getAttribute, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeDependendFigure, removeFigureChangeListener, removeFromContainer, setAttribute, setAttribute, setZValue, size, visit, willChange
 
Methods inherited from interface org.jhotdraw.util.Storable
read, write
 

Constructor Detail

PolygonFigureGeometricAdapter

public PolygonFigureGeometricAdapter()
Constructor for the PolyLineFigureGeometricAdapter object


PolygonFigureGeometricAdapter

public PolygonFigureGeometricAdapter(int x,
                                     int y)
Constructor for the PolyLineFigureGeometricAdapter object

Parameters:
x - Description of the Parameter
y - Description of the Parameter

PolygonFigureGeometricAdapter

public PolygonFigureGeometricAdapter(java.awt.Polygon p)
Constructor for the PolyLineFigureGeometricAdapter object

Parameters:
p - Description of the Parameter
Method Detail

getShape

public java.awt.Shape getShape()
Gets the shape attribute of the PolygonFigure object

Specified by:
getShape in interface GeometricFigure
Returns:
The shape value