public class GridBuildUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
breakGrid(GuiEditor editor) |
static void |
convertToGrid(GuiEditor editor) |
static void |
convertToHorizontalGrid(GuiEditor editor) |
static void |
convertToVerticalGrid(GuiEditor editor) |
static Couple<java.lang.Integer> |
layoutInGrid(int[] x,
int[] y,
int[] rowSpans,
int[] colSpans) |
public static void breakGrid(GuiEditor editor)
public static void convertToVerticalGrid(GuiEditor editor)
public static void convertToHorizontalGrid(GuiEditor editor)
public static void convertToGrid(GuiEditor editor)
public static Couple<java.lang.Integer> layoutInGrid(int[] x, int[] y, int[] rowSpans, int[] colSpans)
x
- array of X
coordinates of components that should be layed out in a grid.
This is input/output parameter.y
- array of Y
coordinates of components that should be layed out in a grid.
This is input/output parameter.rowSpans
- output parameter.colSpans
- output parameter.