Package com.volantis.mcs.protocols.menu.model

Examples of com.volantis.mcs.protocols.menu.model.ElementDetails


            // Create the anchor attributes
            attributes = new AnchorAttributes();

            // Stylistic properties
            ElementDetails elementDetails = item.getElementDetails();
            if (elementDetails != null && outer) {
                attributes.setElementDetails(elementDetails);
            }

            // Events
View Full Code Here


            throws RendererException {

        try {
            // Get the information from the menu item to output
            SpanAttributes attributes = null;
            final ElementDetails elementDetails =
                    item.getLabel().getText().getElementDetails();
            // If the style information exists we will need to output a "span"
            // around the text in order to apply style
            if (elementDetails != null) {
                // Set up the span attributes to be applied here and after the
View Full Code Here

    public MenuRenderer selectMenuRenderer(Menu menu)
            throws RendererException {

        // Sort out the styles from the menu
        ElementDetails elementDetails = menu.getElementDetails();

        // Get the menu link style
        StyleValue menuLinkStyle = elementDetails.getStyles()
                .getPropertyValues().getComputedValue(
                StylePropertyDetails.MCS_MENU_LINK_STYLE);

        // See if numeric shortcuts were specified in the style
        if (menuLinkStyle == MCSMenuLinkStyleKeywords.NUMERIC_SHORTCUT) {
View Full Code Here

     * @throws BuilderException if the menu label is not correctly configured
     */
    private void checkLabel(MenuLabel label,
                            boolean belongsToItem) throws BuilderException {
        if (label != null) {
            final ElementDetails elementDetails = label.getElementDetails();

            if (belongsToItem) {
                if (elementDetails != null) {
                    reportTypeNotAllowed(ElementDetails.class);
                }
View Full Code Here

TOP

Related Classes of com.volantis.mcs.protocols.menu.model.ElementDetails

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.