Examples of startStyleable()


Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        }

        // Get the styles associated with the fragment.
        FormatStylingEngine formatStylingEngine =
                formatRendererContext.getFormatStylingEngine();
        Styles styles = formatStylingEngine.startStyleable(source, styleClass);
        a.setStyles(styles);

        if (pageContext.getPageTagId() != null) {
            a.setId(pageContext.getPageTagId());
        }
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        TableLayers layers = new TableLayers();

        // Style the grid, and then style all of its columns.
        FormatStylingEngine formatStylingEngine =
                context.getFormatStylingEngine();
        Styles formatStyles = formatStylingEngine.startStyleable(
                grid, grid.getStyleClass());
        layers.setLayer(TableLayers.TABLE, formatStyles);

        attributes.setStyles(formatStyles);
        attributes.setLayers(layers);
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        // Style the group of columns. This is to simply group the grid columns
        // together within a single element to simplify the use of those
        // selectors that rely on the position of an element within its parent,
        // e.g. nth-child().
        Styles columnGroupStyles = formatStylingEngine.startStyleable(
                SyntheticStyleableFormat.GRID_COLUMNS,
                null);
        layers.setLayer(TableLayers.COLUMN_GROUP, columnGroupStyles);

        Styles[] columnStyles = getColumnStyles(grid, formatStylingEngine,
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        // Open the grid, even if no rows are written
        attributes.setFormat(grid);
        module.writeOpenGrid(attributes);

        // Style the group of rows. See the comment in getColumnStyles().
        Styles bodyStyles = formatStylingEngine.startStyleable(
                SyntheticStyleableFormat.GRID_BODY, null);
        layers.setLayer(TableLayers.ROW_GROUP, bodyStyles);

        // Write out children
        for (int r = 0; r < grid.getRows(); r++) {
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        Row row = grid.getRow(rowPosition);

        FormatStylingEngine formatStylingEngine =
                context.getFormatStylingEngine();
        Styles rowStyles = formatStylingEngine.startStyleable(
                row, row.getStyleClass());
        layers.setLayer(TableLayers.ROW, rowStyles);

        GridRowAttributes rowAttributes = gridInstance.getRowAttributes();
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

                context.getFormatStylingEngine();

        layers.setLayer(TableLayers.COLUMN, columnStyles[column]);

        // Get the styles for the child.
        Styles childStyles = formatStylingEngine.startStyleable(
                SyntheticStyleableFormat.GRID_CELL, null);
        layers.setLayer(TableLayers.CELL, childStyles);

        layers.mergeColumnStylesIntoCellStyles(
                childStyles, row == 0, column == 0);
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

                // Style the format.
                String styleClass = paneInstance.getStyleClass();
                FormatStylingEngine formatStylingEngine =
                        context.getFormatStylingEngine();
                Styles formatStyles = formatStylingEngine.startStyleable(
                        pane, styleClass);
                attributes.setStyles(formatStyles);
                attributes.setPane(pane);

                renderPaneInstance(context, paneInstance);
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

                instance.getFormat();

        // Start styling
        FormatStylingEngine formatStylingEngine =
                context.getFormatStylingEngine();
        Styles formatStyles = formatStylingEngine.startStyleable(
                spatial, spatial.getStyleClass());

        CoordinateConverter converter = chooseCoordinateConverter(
                context, instance, spatial, formatStyles);
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        // Style the group of columns. This simply groups the spatial columns
        // together within a single element to simplify the use of those
        // selectors that rely on the position of an element within its parent,
        // e.g. nth-child().
        Styles groupStyles = formatStylingEngine.startStyleable(
                SyntheticStyleableFormat.SPATIAL_COLUMNS,
                null);
        setDisplayStyle(groupStyles, DisplayKeywords.TABLE_ROW_GROUP);
        spatialLayers.setLayer(TableLayers.COLUMN_GROUP, groupStyles);
View Full Code Here

Examples of com.volantis.mcs.runtime.layouts.styling.FormatStylingEngine.startStyleable()

        formatStylingEngine.endStyleable(
                SyntheticStyleableFormat.SPATIAL_COLUMNS);

        // Style the group of rows. See the comment in getColumnStyles().
        Styles spatialBodyStyles = formatStylingEngine.startStyleable(
                SyntheticStyleableFormat.SPATIAL_BODY,
                null);
        setDisplayStyle(spatialBodyStyles, DisplayKeywords.TABLE_ROW_GROUP);
        spatialLayers.setLayer(TableLayers.ROW_GROUP, spatialBodyStyles);
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.