public final class Util
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INDENT |
Constructor and Description |
---|
Util() |
Modifier and Type | Method and Description |
---|---|
static void |
adjustSize(java.awt.Component component,
GridConstraints constraints,
java.awt.Dimension size) |
static int |
eliminate(int[] cellIndices,
int[] spans,
java.util.ArrayList elimitated) |
static java.awt.Dimension |
getMaximumSize(GridConstraints constraints,
boolean addIndent) |
static java.awt.Dimension |
getMinimumSize(java.awt.Component component,
GridConstraints constraints,
boolean addIndent) |
static java.awt.Dimension |
getPreferredSize(java.awt.Component component,
GridConstraints constraints,
boolean addIndent) |
public static final int DEFAULT_INDENT
public static java.awt.Dimension getMinimumSize(java.awt.Component component, GridConstraints constraints, boolean addIndent)
public static java.awt.Dimension getMaximumSize(GridConstraints constraints, boolean addIndent)
public static java.awt.Dimension getPreferredSize(java.awt.Component component, GridConstraints constraints, boolean addIndent)
public static void adjustSize(java.awt.Component component, GridConstraints constraints, java.awt.Dimension size)
public static int eliminate(int[] cellIndices, int[] spans, java.util.ArrayList elimitated)
elimitated
- output parameter; will be filled indices (Integers) of eliminated cells. May be null.