functional/ControlsTests/src/javafx/scene/control/test/separator/SeparatorApp.java

Print this page

        

*** 71,81 **** } @Override final protected void prepareScene() { pane = new Pane(); ! testedSeparator = SeparatorBuilder.create().id(TESTED_SEPARATOR_ID).build(); tb = new PropertiesTable(testedSeparator); PropertyTablesFactory.explorePropertiesList(testedSeparator, tb); pane.setMinSize(220, 220); --- 71,82 ---- } @Override final protected void prepareScene() { pane = new Pane(); ! testedSeparator = new Separator(); ! testedSeparator.setId(TESTED_SEPARATOR_ID); tb = new PropertiesTable(testedSeparator); PropertyTablesFactory.explorePropertiesList(testedSeparator, tb); pane.setMinSize(220, 220);
*** 88,98 **** HBox hb = (HBox) getRoot(); hb.setPadding(new Insets(5, 5, 5, 5)); hb.setStyle("-fx-border-color : green;"); ! Button resetButton = ButtonBuilder.create().id(RESET_BUTTON_ID).text("Reset").build(); resetButton.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { HBox hb = (HBox) getRoot(); hb.getChildren().clear(); prepareScene(); --- 89,100 ---- HBox hb = (HBox) getRoot(); hb.setPadding(new Insets(5, 5, 5, 5)); hb.setStyle("-fx-border-color : green;"); ! Button resetButton = new Button("Reset"); ! resetButton.setId(RESET_BUTTON_ID); resetButton.setOnAction(new EventHandler<ActionEvent>() { public void handle(ActionEvent t) { HBox hb = (HBox) getRoot(); hb.getChildren().clear(); prepareScene();