Package 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$
- Author:
- John Reekie
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetShape(java.awt.Shape s)Set the shape of this figure.-
Methods inherited from interface diva.canvas.CanvasComponent
getTransformContext, repaint, repaint
-
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.util.UserObjectContainer
getUserObject, setUserObject
-
Methods inherited from interface diva.canvas.VisibleComponent
isVisible, paint, paint, setVisible
-
-