diva.canvas.interactor
Interface ShapedFigure

All Superinterfaces:
CanvasComponent, Figure, UserObjectContainer, VisibleComponent
All Known Implementing Classes:
BasicEllipse, BasicFigure, BasicGrabHandle, BasicRectangle, ConnectorTutorial.SitedRectangle, MoveHandle, PathFigure, RoundedRectangle

public interface ShapedFigure
extends Figure

An interface that defines the setShape() method. This method must be implemented by any figure that can have a PathManipulator wrapped around it.

Version:
$Id: ShapedFigure.java 38798 2005-07-08 20:00:01Z cxh $
Author:
John Reekie

Method Summary
 void setShape(java.awt.Shape s)
          Set the shape of this figure.
 
Methods inherited from interface diva.canvas.Figure
contains, getBounds, getInteractor, getLayer, getOrigin, getParent, getShape, getToolTipText, hit, intersects, setInteractor, setParent, setToolTipText, transform, translate
 
Methods inherited from interface diva.canvas.VisibleComponent
isVisible, paint, paint, setVisible
 
Methods inherited from interface diva.canvas.CanvasComponent
getTransformContext, repaint, repaint
 
Methods inherited from interface diva.util.UserObjectContainer
getUserObject, setUserObject
 

Method Detail

setShape

void setShape(java.awt.Shape s)
Set the shape of this figure. This method is used by PathManipulators to implement reshaping of figures.