JHotDraw 6.0b1

org.jhotdraw.contrib.html
Class PolygonFigureGeometricAdapter

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

public class PolygonFigureGeometricAdapter
extends PolygonFigure
implements GeometricFigure

Geometric adapter for the PolygonFigure

See Also:
Serialized Form

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

JHotDraw 6.0b1