Examples of RuntimeLayoutFactory


Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

        return writer.toString();
    }

    public RuntimeDeviceLayout createDeviceLayout(boolean inTemporal)
            throws LayoutException {
        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());
        builder.createLayout(LayoutType.CANVAS);
        if(inTemporal){
            builder.pushFormat(FormatType.TEMPORAL_FORMAT_ITERATOR.getTypeName(),0);
            builder.setAttribute(FormatConstants.NAME_ATTRIBUTE, "temporal");
            builder.setAttribute(TemporalFormatIterator.TEMPORAL_ITERATOR_CELLS,
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

         // todo: later: layout builder is from the pre-xdime accessors.
         // We probably should not be using it. We can read one in from internal
         // xml file in a static initialiser the same way we load default
         // stylesheets.
         LayoutBuilder builder = new LayoutBuilder(
                 new RuntimeLayoutFactory());

         // here the anonymous layout device name is being used to specifically
         // identify the region as the anonymous one. This is then used when
         // creating the anonymous region to allow it not to specify a name.
         builder.createLayout(LayoutType.CANVAS);
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

        extends TestCaseAbstract {

    protected RuntimeDeviceLayout createRuntimeDeviceLayout()
        throws Exception {

        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());

        // Create the layout.
        builder.createLayout(LayoutType.CANVAS);

        // Push spatial
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

public class GridRuleBuilderTestCase
    extends FormatRuleBuilderTestAbstract {

    public void testStyling() throws Exception {

        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());

        // Create the layout.
        builder.createLayout(LayoutType.CANVAS);

        // Push grid
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

     *
     */
    protected RuntimeDeviceLayout createDeviceLayout()
            throws RepositoryException {

        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());

        builder.createLayout(LayoutType.CANVAS);

        builder.pushFormat("Pane", 0);

View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

    protected RuntimeDeviceLayout createDeviceLayout()
            throws RepositoryException {

        RuntimeDeviceLayout result = null;

        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());

        builder.createLayout(LayoutType.CANVAS);

        builder.pushFormat("Pane", 0);
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

        // todo: later: layout builder is from the pre-xdime accessors.
        // We probably should not be using it. We can read one in from internal
        // xml file in a static initialiser the same way we load default
        // stylesheets.
        LayoutBuilder builder = new LayoutBuilder(
                new RuntimeLayoutFactory());

        // here the anonymous layout device name is being used to specifically
        // identify the region as the anonymous one. This is then used when
        // creating the anonymous region to allow it not to specify a name.
        builder.createLayout(LayoutType.CANVAS);
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

        // todo: later: layout builder is from the pre-xdime accessors.
        // We probably should not be using it. We can read one in from internal
        // xml file in a static initialiser the same way we load default
        // stylesheets.
        LayoutBuilder builder = new LayoutBuilder(
                new RuntimeLayoutFactory());

        // here the anonymous layout device name is being used to specifically
        // identify the region as the anonymous one. This is then used when
        // creating the anonymous region to allow it not to specify a name.
        builder.createLayout(LayoutType.CANVAS);
View Full Code Here

Examples of com.volantis.mcs.layouts.RuntimeLayoutFactory

     */
    protected CanvasLayout createDeviceLayout(String name,
                                              String deviceName)
        throws RepositoryException {

        LayoutBuilder builder = new LayoutBuilder(new RuntimeLayoutFactory());

        builder.createLayout(LayoutType.CANVAS);

        builder.pushFormat("Pane", 0);

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.