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