public final void addRule ( TableRowStyle style ) { Validate . notNull ( style ) ; Validate . validState ( style != TableRowStyle . UNKNOWN , "cannot add a rule of unknown style" ) ; this . rows . add ( AT_Row . createRule ( TableRowType . RULE , style ) ) ; }
Adds a rule row to the table with a given style .