JHotDraw 6.0b1

org.jhotdraw.contrib.html
Class DiamondFigureGeometricAdapter

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

public class DiamondFigureGeometricAdapter
extends DiamondFigure
implements GeometricFigure

Geometric adapter for the DiamondFigure

See Also:
Serialized Form

Constructor Summary
DiamondFigureGeometricAdapter()
          Constructor for the DiamondFigureGeometricAdapter object
DiamondFigureGeometricAdapter(java.awt.Point origin, java.awt.Point corner)
          Constructor for the DiamondFigureGeometricAdapter object
 
Method Summary
 java.awt.Shape getShape()
          Gets the shape attribute of the DiamondFigure object
 
Methods inherited from class org.jhotdraw.contrib.DiamondFigure
chop, connectionInsets, connectorAt, containsPoint, draw, getPolygon
 
Methods inherited from class org.jhotdraw.figures.RectangleFigure
basicDisplayBox, basicMoveBy, displayBox, drawBackground, drawFrame, handles, read, write
 
Methods inherited from class org.jhotdraw.figures.AttributeFigure
getAttribute, getAttribute, getDefaultAttribute, getDefaultAttribute, getFillColor, getFrameColor, initDefaultAttribute, setAttribute, setAttribute, setDefaultAttribute
 
Methods inherited from class org.jhotdraw.standard.AbstractFigure
addDependendFigure, addFigureChangeListener, addToContainer, canConnect, center, changed, clone, connectedTextLocator, connectorVisibility, decompose, displayBox, displayBox, figures, findFigureInside, getDecoratedFigure, getDependendFigures, getTextHolder, getZValue, includes, invalidate, invalidateRectangle, isEmpty, 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

DiamondFigureGeometricAdapter

public DiamondFigureGeometricAdapter()
Constructor for the DiamondFigureGeometricAdapter object


DiamondFigureGeometricAdapter

public DiamondFigureGeometricAdapter(java.awt.Point origin,
                                     java.awt.Point corner)
Constructor for the DiamondFigureGeometricAdapter object

Parameters:
origin - Description of the Parameter
corner - Description of the Parameter
Method Detail

getShape

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

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

JHotDraw 6.0b1