CH.ifa.draw.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


Field Summary
 
Fields inherited from interface CH.ifa.draw.framework.Figure
POPUP_MENU
 
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 CH.ifa.draw.framework.Figure
addFigureChangeListener, addToContainer, basicDisplayBox, canConnect, center, changed, clone, connectedTextLocator, connectionInsets, connectorAt, connectorVisibility, containsPoint, decompose, displayBox, displayBox, displayBox, draw, figures, findFigureInside, getAttribute, handles, includes, invalidate, isEmpty, listener, moveBy, release, removeFigureChangeListener, removeFromContainer, setAttribute, size, willChange
 
Methods inherited from interface CH.ifa.draw.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

Parameters:
layouter -