/** * Sets the top padding for all cells in the table. * @param paddingTop new padding, ignored if smaller than 0 * @return this to allow chaining */ public AsciiTable setPaddingTop(int paddingTop) { for(AT_Row row : this.rows){ if(row.getType()==TableRowType.CONTENT){ row.setPaddingTop(paddingTop); } } return this; }
/** * Sets the top padding for all cells in the table. * @param paddingTop new padding, ignored if smaller than 0 * @return this to allow chaining */ public AsciiTable setPaddingTop(int paddingTop) { for(AT_Row row : this.rows){ if(row.getType()==TableRowType.CONTENT){ row.setPaddingTop(paddingTop); } } return this; }