Package org.openfaces.util

Examples of org.openfaces.util.StyleGroup


            prevColumnIndexVarValue = requestMap.put(columnIndexVar, columnIndex);
        if (columnIdVar != null)
            prevColumnIdVarValue = requestMap.put(columnIdVar, columnId);

        Integer customCellIndex = (Integer) getAttributes().get(TableBody.CUSTOM_CELL_INDEX_ATTRIBUTE);
        StyleGroup styleGroup = customCellIndex != null
                ? StyleGroup.regularStyleGroup(2 + customCellIndex) : StyleGroup.regularStyleGroup();
        String result = Styles.getCSSClass(context, table, getStyle(), styleGroup, getStyleClass());
        if (columnIndexVar != null)
            requestMap.put(columnIndexVar, prevColumnIndexVarValue);
        if (columnIdVar != null)
View Full Code Here


    }

    public String getStyleClassForRow(FacesContext context, AbstractTable table) {
        boolean applicable = getCondition();
        Integer customRowIndex = (Integer) getAttributes().get(TableBody.CUSTOM_ROW_INDEX_ATTRIBUTE);
        StyleGroup styleGroup = customRowIndex != null
                ? StyleGroup.regularStyleGroup(1 + customRowIndex)
                : StyleGroup.regularStyleGroup();
        String result = applicable
                ? Styles.getCSSClass(context, table, getStyle(), styleGroup, getStyleClass(), getDefaultStyleClass())
                : null;
View Full Code Here

TOP

Related Classes of org.openfaces.util.StyleGroup

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.