public abstract class DimensionInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LayoutState |
myLayoutState |
Constructor and Description |
---|
DimensionInfo(LayoutState layoutState,
int gap) |
Modifier and Type | Method and Description |
---|---|
boolean |
componentBelongsCell(int componentIndex,
int cellIndex) |
static java.awt.Container |
findAlignedChild(java.awt.Component child,
GridConstraints c) |
int |
getCell(int componentIndex) |
abstract int |
getCellCount() |
int |
getCellSizePolicy(int cellIndex) |
java.awt.Component |
getComponent(int componentIndex) |
int |
getComponentCount() |
GridConstraints |
getConstraints(int componentIndex) |
abstract DimensionInfo |
getDimensionInfo(GridLayoutManager grid) |
int |
getGap() |
protected java.awt.Dimension |
getMinimumSize(int componentIndex) |
abstract int |
getMinimumWidth(int componentIndex) |
protected abstract int |
getOriginalCell(GridConstraints constraints) |
protected abstract int |
getOriginalSpan(GridConstraints constraints) |
protected java.awt.Dimension |
getPreferredSize(int componentIndex) |
abstract int |
getPreferredWidth(int componentIndex) |
int |
getSpan(int componentIndex) |
int |
getStretch(int cellIndex) |
protected final LayoutState myLayoutState
public DimensionInfo(LayoutState layoutState, int gap)
public final int getComponentCount()
public final java.awt.Component getComponent(int componentIndex)
public final GridConstraints getConstraints(int componentIndex)
public abstract int getCellCount()
public abstract int getPreferredWidth(int componentIndex)
public abstract int getMinimumWidth(int componentIndex)
public abstract DimensionInfo getDimensionInfo(GridLayoutManager grid)
public final int getCell(int componentIndex)
public final int getSpan(int componentIndex)
public final int getStretch(int cellIndex)
protected abstract int getOriginalCell(GridConstraints constraints)
protected abstract int getOriginalSpan(GridConstraints constraints)
public final int getGap()
public boolean componentBelongsCell(int componentIndex, int cellIndex)
public final int getCellSizePolicy(int cellIndex)
public static java.awt.Container findAlignedChild(java.awt.Component child, GridConstraints c)
protected final java.awt.Dimension getPreferredSize(int componentIndex)
protected final java.awt.Dimension getMinimumSize(int componentIndex)