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