Package com.volantis.mcs.protocols.forms

Examples of com.volantis.mcs.protocols.forms.XFormGroup


    // Javadoc inherited.
    public void pushGroup(Styles styles, MarinerPageContext pageContext) {
        updateFormFragmentationState(pageContext);
        String inclusionPath = pageContext.getDeviceLayoutContext().
                getInclusionPath();
        final XFormGroup group = new XFormGroup(styles, inclusionPath);

        // Add a new fragment if this group is not nested and either there are
        // no fragments or the last one caused fragmentation.
        final FormFragmentData current = getCurrentFormFragment();
        if (groups.size() == 0 &&
View Full Code Here


        groups.push(group);
    }

    // Javadoc inherited.
    public void popGroup() {
        XFormGroup group = (XFormGroup) groups.pop();
        // Add a new fragment if the popped group is nested and causes
        // fragmentation.
        if (groups.size() > 0 && group.causesFragmentation()) {
            addNextFormFragment((XFormGroup) groups.peek());
        }
    }
View Full Code Here

    }

    // Javadoc inherited.
    public void setGroupLabel(String label) {
        if (!groups.isEmpty()) {
            final XFormGroup current = (XFormGroup) groups.peek();
            current.setLabel(label);
        }
    }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.forms.XFormGroup

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.