@Override public int getMinHeight(int width) { int minHeight = 0; for (LineRenderer col : cols) { minHeight = Math.max(minHeight, col.getMinHeight(width)); } return minHeight; }
int getMinHeight(int[] widths) { int minHeight; switch (table.overflow) { case HIDDEN: minHeight = 1; break; case WRAP: minHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); minHeight = Math.max(minHeight, col.getMinHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { minHeight++; } if (hasBottom()) { minHeight++; } return minHeight; }
@Override public int getMinHeight(int width) { int minHeight = 0; for (LineRenderer col : cols) { minHeight = Math.max(minHeight, col.getMinHeight(width)); } return minHeight; }
@Override public int getMinHeight(int width) { int minHeight = 0; for (LineRenderer col : cols) { minHeight = Math.max(minHeight, col.getMinHeight(width)); } return minHeight; }
int getMinHeight(int[] widths) { int minHeight; switch (table.overflow) { case HIDDEN: minHeight = 1; break; case WRAP: minHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); minHeight = Math.max(minHeight, col.getMinHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { minHeight++; } if (hasBottom()) { minHeight++; } return minHeight; }
int getMinHeight(int[] widths) { int minHeight; switch (table.overflow) { case HIDDEN: minHeight = 1; break; case WRAP: minHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); minHeight = Math.max(minHeight, col.getMinHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { minHeight++; } if (hasBottom()) { minHeight++; } return minHeight; }