JHotDraw 6.0b1

org.jhotdraw.contrib.html
Class TriangleFigureGeometricAdapter

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.TriangleFigure
                  extended by org.jhotdraw.contrib.html.TriangleFigureGeometricAdapter
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, GeometricFigure, Figure, Storable

public class TriangleFigureGeometricAdapter
extends TriangleFigure
implements GeometricFigure

Geometric adapter for the TriangleFigure

See Also:
Serialized Form

Constructor Summary
TriangleFigureGeometricAdapter()
          Constructor for the TriangleFigureGeometricAdapter object
TriangleFigureGeometricAdapter(java.awt.Point origin, java.awt.Point corner)
          Constructor for the TriangleFigureGeometricAdapter object
 
Method Summary
 java.awt.Shape getShape()
          Gets the shape attribute of the TriangleFigure object
 
Methods inherited from class org.jhotdraw.contrib.TriangleFigure
center, chop, clone, connectionInsets, containsPoint, draw, getPolygon, getRotationAngle, handles, read, rotate, write
 
Methods inherited from class org.jhotdraw.figures.RectangleFigure
basicDisplayBox, basicMoveBy, displayBox, drawBackground, drawFrame
 
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, changed, connectedTextLocator, connectorAt, 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

TriangleFigureGeometricAdapter

public TriangleFigureGeometricAdapter()
Constructor for the TriangleFigureGeometricAdapter object


TriangleFigureGeometricAdapter

public TriangleFigureGeometricAdapter(java.awt.Point origin,
                                      java.awt.Point corner)
Constructor for the TriangleFigureGeometricAdapter 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 TriangleFigure object

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

JHotDraw 6.0b1