Examples of PseudoStyleEntity


Examples of com.volantis.styling.PseudoStyleEntity

        output(styles.getPropertyValues());
        StringBuffer propertyValues = emptyDebugBuffer();
        Iterator iterator = styles.iterator();
        while (iterator.hasNext()) {
            NestedStyles nestedStyles = (NestedStyles) iterator.next();
            PseudoStyleEntity entity = nestedStyles.getPseudoStyleEntity();
            debug.append(" ");
            output(indent +
                    DebugHelper.getIndent(entityRepresentation.length() + 1),
                    entityRepresentation + entity.getCSSRepresentation(),
                    nestedStyles, parent);
        }
        if (debug.length() > 0 || current.length() > 0) {
            propertyValues.insert(0, '{');
            propertyValues.append('}');
View Full Code Here

Examples of com.volantis.styling.PseudoStyleEntity

    // Javadoc inherited.
    public IterationAction next(NestedStyles nestedStyles) {

        MutablePropertyValues values = nestedStyles.getPropertyValues();

        PseudoStyleEntity entity = nestedStyles.getPseudoStyleEntity();
        if (entity instanceof PseudoElement) {
            // Pseudo elements inherit from their superior parent just as
            // elements inherit from their parent.
            inheriter.inherit(values, inheritableValues);
        } else {
View Full Code Here

Examples of com.volantis.styling.PseudoStyleEntity

            // Iterate over the styles nested inside the provided styles. The
            // order should be preserved in order to render correctly.
            for (Iterator i = styles.iterator(); i.hasNext(); ) {
                NestedStyles nestedStyles = (NestedStyles) i.next();
                final PseudoStyleEntity pseudoStyleEntity =
                         nestedStyles.getPseudoStyleEntity();
                Link link = null;
                if (pseudoStyleEntity.equals(PseudoElements.MCS_NEXT)) {
                    link = createLink(nestedStyles,
                            URLConstants.NEXT_FORM_FRAGMENT);
                } else if (pseudoStyleEntity.equals(PseudoElements.MCS_PREVIOUS)) {
                    link = createLink(nestedStyles,
                            URLConstants.PREV_FORM_FRAGMENT);
                } else if (pseudoStyleEntity.equals(PseudoElements.MCS_RESET)) {
                    link = createLink(nestedStyles,
                            URLConstants.RESET_FORM_FRAGMENT);
                }
                if (link != null) {
                    links.add(link);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.