public class AutoTableLayout extends TableLayout
Constructor and Description |
---|
AutoTableLayout(TableRenderer table) |
Modifier and Type | Method and Description |
---|---|
LayoutLengths |
applyPreferredLogicalWidthQuirks(float minWidth,
float maxWidth) |
float |
calcEffectiveLogicalWidth() |
LayoutLengths |
computeIntrinsicLogicalWidths(float base) |
void |
fullRecalc(float base) |
void |
insertSpanCell(TableCellRenderer cell) |
RStatus |
layout(Renderer.ReflowPhase phase,
Context context) |
void |
postRecalcColumn(int effCol,
float base) |
void |
recalcColumn(int effCol,
float base) |
void |
resetColumn(int effCol) |
void |
resetColumnLayouts() |
int |
scaledWidthFromPercentColumns() |
static boolean |
shouldScaleColumnsForParent(TableRenderer table) |
static boolean |
shouldScaleColumnsForSelf(TableRenderer table) |
String |
toString() |
dispose
public AutoTableLayout(TableRenderer table)
public static boolean shouldScaleColumnsForParent(TableRenderer table)
public static boolean shouldScaleColumnsForSelf(TableRenderer table)
public int scaledWidthFromPercentColumns()
scaledWidthFromPercentColumns
in class TableLayout
public void recalcColumn(int effCol, float base) throws ForcedTerminationException
ForcedTerminationException
public void postRecalcColumn(int effCol, float base) throws ForcedTerminationException
ForcedTerminationException
public void resetColumn(int effCol)
public void fullRecalc(float base) throws ForcedTerminationException
fullRecalc
in class TableLayout
ForcedTerminationException
public LayoutLengths computeIntrinsicLogicalWidths(float base) throws ForcedTerminationException
computeIntrinsicLogicalWidths
in class TableLayout
ForcedTerminationException
public LayoutLengths applyPreferredLogicalWidthQuirks(float minWidth, float maxWidth)
applyPreferredLogicalWidthQuirks
in class TableLayout
public float calcEffectiveLogicalWidth() throws ForcedTerminationException
ForcedTerminationException
public void insertSpanCell(TableCellRenderer cell)
public void resetColumnLayouts()
resetColumnLayouts
in class TableLayout
public RStatus layout(Renderer.ReflowPhase phase, Context context) throws ForcedTerminationException
layout
in class TableLayout
ForcedTerminationException
Revision 4.0.15 / 20220727-0149