public void addField ( String label , Element field ) { if ( label == null ) label = "&nbsp;" ; else label = "<b>" + label + ":</b>" ; if ( extendRow ) { column . add ( field ) ; extendRow = false ; } else { column . newRow ( ) ; column . addCell ( label ) ; column . cell ( ) . right ( ) ; if ( fieldAttributes != null ) { column . addCell ( field , fieldAttributes ) ; fieldAttributes = null ; } else column . addCell ( field ) ; } }
Add an arbitrary element to the table .