C
- The grid cell typepublic interface GridArrangement<C> extends Arrangement<C>
Interface for all grid arrangements supported by this package. This interface provides a set of methods for arranging grids which are independent of the actual node type or renderer used.
An Arrangement should attempt to arrange all nodes in the grid. If it does not, an ArrangementException should be thrown to indicate that not all nodes have been arranged.
Modifier and Type | Method and Description |
---|---|
void |
arrange(Grid<C> grid)
Arranges the specified grid
|
getNodeLocation, getSize, setMargin, setSize, setSize
void arrange(Grid<C> grid) throws ArrangementException
grid
- the grid to be arrangedArrangementException
- If there is a problem determining the
arrangement