Search in sources :

Example 91 with BorderPane

use of javafx.scene.layout.BorderPane in project Gargoyle by callakrsos.

the class AgendaSample1 method start.

/* (non-Javadoc)
	 * @see javafx.application.Application#start(javafx.stage.Stage)
	 */
@Override
public void start(Stage primaryStage) throws Exception {
    BorderPane root = new BorderPane(agenda);
    root.setTop(this.agendaSkinSwitcher);
    primaryStage.setScene(new Scene(root));
    primaryStage.show();
}
Also used : BorderPane(javafx.scene.layout.BorderPane) Scene(javafx.scene.Scene)

Example 92 with BorderPane

use of javafx.scene.layout.BorderPane in project Gargoyle by callakrsos.

the class PMDCheckExam method start.

/* (non-Javadoc)
	 * @see javafx.application.Application#start(javafx.stage.Stage)
	 */
@Override
public void start(Stage primaryStage) throws Exception {
    //		SwingNode swingContainerSplitPane = new SwingNode();
    //		SwingNode swingMenuBar = new SwingNode();
    File file = new File("./src/main/java/com/kyj/fx/voeditor/visual/util/ValueUtil.java");
    BorderPane root = new PMDCheckComposite(file);
    //		root.setBottom(new Label("javafx"));
    //		createSwingContent(swingContainerSplitPane, );
    //		createSwingContent(swingMenuBar, designerFx.getJMenuBar());
    Scene value = new Scene(root, 1200, 800);
    primaryStage.setScene(value);
    primaryStage.show();
}
Also used : BorderPane(javafx.scene.layout.BorderPane) PMDCheckComposite(com.kyj.fx.voeditor.visual.component.pmd.PMDCheckComposite) Scene(javafx.scene.Scene) File(java.io.File)

Example 93 with BorderPane

use of javafx.scene.layout.BorderPane in project jgnash by ccavanaugh.

the class TabViewPane method addTab.

public Tab addTab(final Node node, final String description) {
    BorderPane borderPane = new BorderPane();
    TitledPane titledPane = new TitledPane(description, null);
    titledPane.setCollapsible(false);
    titledPane.setExpanded(false);
    titledPane.setFocusTraversable(false);
    titledPane.getStyleClass().add(VIEW_TITLE);
    borderPane.setTop(titledPane);
    borderPane.setCenter(node);
    Tab tab = new Tab();
    tab.setText(description);
    tab.setContent(borderPane);
    getTabs().add(tab);
    return tab;
}
Also used : TitledPane(javafx.scene.control.TitledPane) BorderPane(javafx.scene.layout.BorderPane) Tab(javafx.scene.control.Tab)

Aggregations

BorderPane (javafx.scene.layout.BorderPane)93 Scene (javafx.scene.Scene)56 Button (javafx.scene.control.Button)19 Label (javafx.scene.control.Label)16 FXMLLoader (javafx.fxml.FXMLLoader)14 Stage (javafx.stage.Stage)13 StackPane (javafx.scene.layout.StackPane)12 IOException (java.io.IOException)11 Parameter (aima.gui.fx.framework.Parameter)10 SimulationPaneBuilder (aima.gui.fx.framework.SimulationPaneBuilder)10 File (java.io.File)10 HashMap (java.util.HashMap)8 TableView (javafx.scene.control.TableView)8 HBox (javafx.scene.layout.HBox)8 Insets (javafx.geometry.Insets)7 TextField (javafx.scene.control.TextField)7 Map (java.util.Map)6 MenuItem (javafx.scene.control.MenuItem)6 TableColumn (javafx.scene.control.TableColumn)6 FXML (javafx.fxml.FXML)5