JHotDraw 6.0b1

org.jhotdraw.contrib
Interface Layoutable

All Superinterfaces:
java.lang.Cloneable, Figure, java.io.Serializable, Storable
All Known Implementing Classes:
GraphicalCompositeFigure

public interface Layoutable
extends Figure

A Layoutable is a target for a Layouter who lays out the Layoutable according to its layout algorithm


Method Summary
 Layouter getLayouter()
          Return the Layouter for this Layoutable
 void layout()
          Layout the figure
 void setLayouter(Layouter newLayouter)
          Set the Layouter for this Layoutable
 
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
 

Method Detail

layout

void layout()
Layout the figure


setLayouter

void setLayouter(Layouter newLayouter)
Set the Layouter for this Layoutable

Parameters:
newLayouter - layouter

getLayouter

Layouter getLayouter()
Return the Layouter for this Layoutable

Returns:
layouter

JHotDraw 6.0b1