Package org.openfaces.component.table

Examples of org.openfaces.component.table.SeveralLevelsExpanded


            } catch (NumberFormatException e) {
                throw new IllegalArgumentException("Invalid level specified in expansionState attribute. Integer number expected, but was: " + remainder);
            }
            if (level < 0)
                throw new IllegalArgumentException("Invalid level specified in expansionState attribute. The number should be zero or a positive number: " + level);
            expansionStateObj = new SeveralLevelsExpanded(level);
        } else {
            throw new IllegalArgumentException("Invalid value specified for expansionState attribute: " + expansionState + " . It should be one of the following: " + ALL_EXPANDED_MODE + ", " + ALL_COLLAPSED_MODE + " or " + LEVELS_EXPANDED_MODE + "NUMBER");
        }
        component.getAttributes().put(propertyName, expansionStateObj);
    }
View Full Code Here


    public void setForumExpansionLevel(int forumExpansionLevel) {
        this.forumExpansionLevel = forumExpansionLevel;
    }

    public void forumExpandUpToLevel() {
        forumTreeTableExpansionState = new SeveralLevelsExpanded(forumExpansionLevel);
    }
View Full Code Here

TOP

Related Classes of org.openfaces.component.table.SeveralLevelsExpanded

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.