public class QuickLayout extends Object implements LayoutManager
Modifier and Type | Field and Description |
---|---|
boolean |
stretchFirstColumn |
boolean |
stretchFirstRow |
boolean |
stretchLastColumn |
boolean |
stretchLastRow |
int |
unitPreferredHeight |
int |
unitPreferredWidth |
Constructor and Description |
---|
QuickLayout() |
Modifier and Type | Method and Description |
---|---|
Dimension |
getPreferredSize(Grid controls,
Panel panel,
Dimension destination) |
void |
layout(Grid grid,
Panel panel,
Rect panelRect) |
public int unitPreferredWidth
public int unitPreferredHeight
public boolean stretchLastColumn
public boolean stretchLastRow
public boolean stretchFirstColumn
public boolean stretchFirstRow
public void layout(Grid grid, Panel panel, Rect panelRect)
layout
in interface LayoutManager
public Dimension getPreferredSize(Grid controls, Panel panel, Dimension destination)
getPreferredSize
in interface LayoutManager