public void setAlign ( String align ) throws ApplicationException { align = StringUtil . toLowerCase ( align ) ; if ( align . equals ( "left" ) ) this . align = Table . ALIGN_LEFT ; else if ( align . equals ( "center" ) ) this . align = Table . ALIGN_CENTER ; else if ( align . equals ( "right" ) ) this . align = Table . ALIGN_RIGHT ; else throw new ApplicationException ( "value [" + align + "] of attribute align from tag col is invalid" , "valid values are [left, center, right]" ) ; }
set the value align Column alignment Left Right or Center .