protected static Styles getStyles ( UIData uiData ) { String rowClasses ; String columnClasses ; if ( uiData instanceof HtmlDataTable ) { rowClasses = ( ( HtmlDataTable ) uiData ) . getRowClasses ( ) ; columnClasses = ( ( HtmlDataTable ) uiData ) . getColumnClasses ( ) ; } else { rowClasses = ( String ) uiData . getAttributes ( ) . get ( JSFAttr . ROW_CLASSES_ATTR ) ; columnClasses = ( String ) uiData . getAttributes ( ) . get ( JSFAttr . COLUMN_CLASSES_ATTR ) ; } return new Styles ( rowClasses , columnClasses ) ; }
Gets styles for the specified component .