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() |
disposepublic AutoTableLayout(TableRenderer table)
public static boolean shouldScaleColumnsForParent(TableRenderer table)
public static boolean shouldScaleColumnsForSelf(TableRenderer table)
public int scaledWidthFromPercentColumns()
scaledWidthFromPercentColumns in class TableLayoutpublic void recalcColumn(int effCol,
float base)
throws ForcedTerminationException
ForcedTerminationExceptionpublic void postRecalcColumn(int effCol,
float base)
throws ForcedTerminationException
ForcedTerminationExceptionpublic void resetColumn(int effCol)
public void fullRecalc(float base)
throws ForcedTerminationException
fullRecalc in class TableLayoutForcedTerminationExceptionpublic LayoutLengths computeIntrinsicLogicalWidths(float base) throws ForcedTerminationException
computeIntrinsicLogicalWidths in class TableLayoutForcedTerminationExceptionpublic LayoutLengths applyPreferredLogicalWidthQuirks(float minWidth, float maxWidth)
applyPreferredLogicalWidthQuirks in class TableLayoutpublic float calcEffectiveLogicalWidth()
throws ForcedTerminationException
ForcedTerminationExceptionpublic void insertSpanCell(TableCellRenderer cell)
public void resetColumnLayouts()
resetColumnLayouts in class TableLayoutpublic RStatus layout(Renderer.ReflowPhase phase, Context context) throws ForcedTerminationException
layout in class TableLayoutForcedTerminationExceptionRevision 4.0.15 / 20220727-0149