int getActualHeight(int width) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = row.getActualHeight(width); break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }
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 getActualHeight(int[] widths) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); actualHeight = Math.max(actualHeight, col.getActualHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }
int getActualHeight(int width) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = row.getActualHeight(width); break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }
int getActualHeight(int width) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = row.getActualHeight(width); break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }
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; }
int getActualHeight(int[] widths) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); actualHeight = Math.max(actualHeight, col.getActualHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }
int getActualHeight(int[] widths) { int actualHeight; switch (table.overflow) { case HIDDEN: actualHeight = 1; break; case WRAP: actualHeight = 0; for (int i = 0;i < widths.length;i++) { LineRenderer col = row.getCols().get(i); actualHeight = Math.max(actualHeight, col.getActualHeight(widths[i])); } break; default: throw new AssertionError(); } if (hasTop()) { actualHeight++; } if (hasBottom()) { actualHeight++; } return actualHeight; }