com.rolemodelsoft.drawlet
Interface FigureHolder

All Known Implementing Classes:
BoundsHandle, ConnectedLineCreationHandle, FigureRelativePoint, LinePointHandle, LocatorConnectionHandle, PolygonPointHandle

public interface FigureHolder

When implemented, this interface allows implementing classes to serve a Figure.


Method Summary
 Figure getFigure()
          Answer the figure the receiver is holding.
 void setFigure(Figure figure)
          Set the figure the receiver is holding.
 

Method Detail

getFigure

public Figure getFigure()
Answer the figure the receiver is holding.
Returns:
the Figure the receiver is holding

setFigure

public void setFigure(Figure figure)
Set the figure the receiver is holding.
Parameters:
figure - the Figure to hold