Examples of Pane


Examples of com.volantis.mcs.layouts.Pane

        sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMN_COUNT, "3");
        sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_ROWS, "fixed");
        sfi2.setAttribute(SpatialFormatIterator.SPATIAL_ITERATOR_COLUMNS, "fixed");
        sfi2.setName("spatial2");

        Format format2 = new Pane(canvasLayout);
        format2.setName("pane2");
        pageContext.addPaneMapping((Pane)format2);
        format2.setParent(sfi2);

        grid.setRows(1);
        grid.setColumns(2);
        grid.setParent(sfi);
        grid.insertChildAt(format, 0);
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

        TemporalFormatIterator tfi = new TemporalFormatIterator(canvasLayout);
        tfi.setAttribute(TemporalFormatIterator.TEMPORAL_ITERATOR_CELL_COUNT, "4");
        tfi.setAttribute(TemporalFormatIterator.TEMPORAL_ITERATOR_CELLS, "variable");
        tfi.setName("temporal");

        Format format2 = new Pane(canvasLayout);
        format2.setName("pane2");
        pageContext.addPaneMapping((Pane)format2);

        Format format3 = new Pane(canvasLayout);
        format3.setName("pane3");
        pageContext.addPaneMapping((Pane)format3);
        format3.setParent(tfi);

        Grid grid2 = new Grid(canvasLayout);
        grid2.setName("grid2");      
        grid2.setRows(2);
        grid2.setColumns(1);
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

        TestMarinerPageContext context = new TestMarinerPageContext();
        context.pushRequestContext(requestContext);
        protocol.setMarinerPageContext(context);
        DOMOutputBuffer buffer = new TestDOMOutputBuffer();
        context.setCurrentOutputBuffer(buffer);
        context.setCurrentPane(new Pane(new CanvasLayout()));

        CanvasLayout canvasLayout = new CanvasLayout();

        Pane pane = new Pane(canvasLayout);
        pane.setWidth("100");
        pane.setWidthUnits("pixels");

        ImageAttributes attributes = new ImageAttributes();
        attributes.setStyles(StylesBuilder.getDeprecatedStyles());
       
        attributes.setSrc("/path/to/image.gif");
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

            menuAttrs.addItem(item);
        }

        menuAttrs.setTagName("menu");

        menuAttrs.setPane(new Pane(new CanvasLayout()));
        return menuAttrs;
    }
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

            protocol.initialisePageHead();
        }
        context.setProtocol(protocol);

        TestDeviceLayoutContext dlc = new TestDeviceLayoutContext();
        Pane pane = new Pane(layout);
        FormFragmentInstance ffInstance = new FormFragmentInstance(
                NDimensionalIndex.ZERO_DIMENSIONS) {
            protected boolean isEmptyImpl() {
                return false;
            }

        };
        pane.setName("pane");

        // Activate the device layout.
        RuntimeDeviceLayout runtimeDeviceLayout =
                RuntimeDeviceLayoutTestHelper.activate(layout);
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

        DOMOutputBuffer buffer = new TestDOMOutputBuffer();
        PageHead pageHead = new PageHead();
        TestDeviceLayoutContext dlc = new TestDeviceLayoutContext();
        OutputBufferFactory factory = new TestDOMOutputBufferFactory();
        CanvasLayout canvasLayout = new CanvasLayout();
        Pane pane = new Pane(canvasLayout);
        PaneInstance paneInstance = new TestPaneInstance();

        protocol.setMarinerPageContext(context);
        context.setProtocol(protocol);
        context.setVolantis(volantis);

        buffer.initialise();

        context.setCurrentOutputBuffer(buffer);
        testable.setPageHead(pageHead);
        testable.setCurrentBuffer(null, buffer);

//        pageHead.setMarinerPageContext(context);
        pageHead.setOutputBufferFactory(factory);

        pane.setName("pane");

        // Activate the device layout.
        RuntimeDeviceLayout runtimeDeviceLayout =
                RuntimeDeviceLayoutTestHelper.activate(canvasLayout);
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

    /**
     * Private setup.
     */
    private void privateSetUp() {
        canvasLayout = new CanvasLayout();
        pane = new Pane(canvasLayout);
        pane.setName(PANE_NAME);
        pane.setInstance(0);

        // Activate the device layout.
        RuntimeDeviceLayout runtimeDeviceLayout =
View Full Code Here

Examples of com.volantis.mcs.layouts.Pane

     * todo XDIME-CP
     */
    public void notestOpenPaneUseDiv() throws Exception {
        privateSetUp();
        DOMOutputBuffer dom = new DOMOutputBuffer();
        Pane pane = new Pane(null);
        pane.setName(PANE_NAME);

        dom.initialise();

        PaneAttributes attributes = new PaneAttributes();
        attributes.setStyles(StylesBuilder.getStyles(
View Full Code Here

Examples of javafx.scene.layout.Pane

     for (int i = 0; i < 5; i++)
          {
              Button bt = new Button("Button " + (i+1));
              Button bt2 = new Button("Button " + (i+1)); // unfortunately thereĀ“s no "clone" or "copy" method
              Button bt3 = new Button("Button " + (i+1));
              Pane hb = new Pane();
              HBox hb1 = new HBox();
              hb1.getChildren().add(bt2);
              hb.getChildren().add(hb1);
              vbox1.getChildren().add(bt);
              vbox2.getChildren().add(hb);
              vbox3.getChildren().add(bt3);
          }
     hbox.getChildren().addAll(vbox1, vbox2, vbox3);
View Full Code Here

Examples of javafx.scene.layout.Pane

 
  private void showMessage(final String message, final Throwable e, final Color backColor, final ImageView icon, final Runnable okOnAction){
    Platform.runLater(new Runnable() {
      @Override
      public void run() {
        final Pane backShadow = new Pane();
        backShadow.setStyle("-fx-background-color: "+CSSHelper.toCssColor(backColor)+";");
        target.getChildren().add(backShadow);
       
        String blackOrWhiteDependingFromBack ="ladder("+CSSHelper.toCssColor(backColor)+", white 49%, black 50%);";
       
        final VBox back = new VBox(3);
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.