Examples of SplitPane


Examples of javafx.scene.control.SplitPane

    pojoBox.getChildren().addAll(lbl, new Label("Name:"), pojoNameTF,
        pojoNameBtn, new Separator(),
        updateListView(langBox, "Language"),
        updateListView(hobbyBox, "Hobby"), new Separator(),
        new Label("POJO Dump:"), pojoTA);
    SplitPane pojoSplit = new SplitPane();
    pojoSplit.getItems().addAll(beanPane, pojoBox);
    VBox beanBox = new VBox(10);
    beanBox.getChildren().addAll(toolBar, pojoSplit);
    return beanBox;
  }
View Full Code Here

Examples of javafx.scene.control.SplitPane

        EventStreams.valuesOf(textArea.textProperty())
                .successionEnds(Duration.ofMillis(500))
                .subscribe(html -> engine.loadContent(html));

        SplitPane root = new SplitPane();
        root.getItems().addAll(textArea, webView);
        Scene scene = new Scene(root);
        primaryStage.setScene(scene);
        primaryStage.show();
    }
View Full Code Here

Examples of javafx.scene.control.SplitPane

      Control createShowFormButton = form.createShowFormButton();
      createShowFormButton.setDisable(!form.isEnabled());
      createShowFormButton.setTooltip(form.getTooltip());
     
      if (!form.isEnabled()){/*workaround disabled button must be wrapped in split pane to show tooltip https://javafx-jira.kenai.com/browse/RT-28850*/
        SplitPane wrapper = new SplitPane();
        wrapper.getItems().add(createShowFormButton);
        createShowFormButton = wrapper;
        wrapper.setTooltip(form.getTooltip());
      }
     
      result.add(createShowFormButton);
    }
    return result;
View Full Code Here

Examples of javafx.scene.control.SplitPane

//            public void changed(ObservableValue<? extends Packet> ov, Packet old_val, Packet new_val) {
//                packetDisplay.updateData(new_val);
//            }
//
//        });
        SplitPane splitPane = new SplitPane();
        splitPane.setOrientation(Orientation.VERTICAL);
        splitPane.getItems().addAll(packetsTableView, packetDisplay);
        BorderPane borderPane = (BorderPane) scene.getRoot();
        borderPane.setCenter(splitPane);
        borderPane.setTop(toolBar);
    }
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

        this.setMaximizable(false);
        this.setKeystrokeListener(this.createKeyStrokeListener());
        this.setPostOnEnterKey(true);
        this.setCancelOnEscKey(true);

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(45));

        this.add(spMain);
        spMain.add(initPnButtons());

        pnMain = new JbsContentPane();
        spMain.add(pnMain);
    }
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

        super.createControls();
        this.setPnMainCustomers(new PnHierarchyCustomerListPart(this,false));
        this.setPnSubCustomers(new PnHierarchyCustomerListPart(this,true));
        this.getPnSubCustomers().setSearchable(false);
       
        this.setSpTables(new SplitPane());
        this.getSpTables().setOrientation(SplitPane.ORIENTATION_VERTICAL);
        this.getSpTables().setSeparatorPosition(new JbsExtent(350,JbsExtent.PX));
        this.getSpTables().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
    }
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

    protected void initWizard() {
        this.setLastDirection(JbsWizard.WZDIR_NONE);
        this.setPages(new ArrayList<JbsWizardPage>());
        this.setKeystrokeListener(this.createKeyStrokeListener());
       
        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(50));
       
        this.add(spMain);
        spMain.add(createPnButtons());

        pnMain = new ContainerEx();
        //pnMain.add(new Label("hallo"));
        spMain.add(pnMain);
        this.setPageIndex(0);
    }
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

    protected void initPanel() {
        pnContent = new ContentPane();
        pnPageTree = new ContentPane();

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_HORIZONTAL, new JbsExtent(175));
        spMain.setSeparatorWidth(new JbsExtent(1, JbsExtent.PX));
        this.add(spMain);

        spMain.add(pnPageTree);
        spMain.add(pnContent);

        createTree();

        JbsButton btnTest = new JbsButton("Test");
        pnContent.add(btnTest);
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

       
    /**
     * Create your controls here.
     */
    protected void createControls() throws Exception {
        this.setSpMain(new SplitPane());
        this.getSpMain().setOrientation(SplitPane.ORIENTATION_HORIZONTAL_RIGHT_LEFT);
        this.getSpMain().setSeparatorPosition(new JbsExtent(this.STD_TOOLPANEWIDTH,JbsExtent.PX));
        this.getSpMain().setSeparatorWidth(new JbsExtent(1,JbsExtent.PX));
       
        this.setToolPane(this.createToolPane());
View Full Code Here

Examples of nextapp.echo2.app.SplitPane

    protected void initForm() {
        super.initForm();
        this.setMinimizable(false);
        this.setMaximizable(false);

        SplitPane spMain = new SplitPane(SplitPane.ORIENTATION_VERTICAL_BOTTOM_TOP, new JbsExtent(45));

        this.add(spMain);
        spMain.add(initPnButtons());
       
        pnMain = new ContentPane();
       
        //textArea = new TextArea();
        //JbsGrid grdText = new JbsGrid(1);
        //grdText.add(textArea);
       
        colText = new Column();
        pnMain.add(colText);
        spMain.add(pnMain);
    }
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.