public Cell createCell ( SimpleCell rowAttributes ) throws BadElementException { Cell cell = new Cell ( ) ; cell . cloneNonPositionParameters ( rowAttributes ) ; cell . softCloneNonPositionParameters ( this ) ; cell . setColspan ( colspan ) ; cell . setHorizontalAlignment ( horizontalAlignment ) ; cell . setVerticalAlignment ( verticalAlignment ) ; cell . setUseAscender ( useAscender ) ; cell . setUseBorderPadding ( useBorderPadding ) ; cell . setUseDescender ( useDescender ) ; Element element ; for ( Iterator i = content . iterator ( ) ; i . hasNext ( ) ; ) { element = ( Element ) i . next ( ) ; cell . addElement ( element ) ; } return cell ; }
Creates a Cell with these attributes .