|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Layout
Interface for layouts.
| Method Summary | |
|---|---|
void |
computeShapes(Rectangle2D bounds,
Visualization vis)
Computes the layout. |
String |
getName()
Returns the name of the layout algorithm. |
Dimension |
getPreferredSize(Visualization vis)
Computes and return the preferred size for this layout and this visualization. |
void |
invalidate(Visualization vis)
Invalidate the cached state of the layout. |
| Method Detail |
|---|
String getName()
Dimension getPreferredSize(Visualization vis)
vis - the visualization
void invalidate(Visualization vis)
Call this method from the visualization when it gets invalidated.
vis - the visualization.
void computeShapes(Rectangle2D bounds,
Visualization vis)
bounds - the allocated bounds of the
visualization.vis - the visualization.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||