Package javafx.scene.control

Examples of javafx.scene.control.ScrollPane


    final InnerShadow helpTextEffect = new InnerShadow();
    helpTextEffect.setRadius(10d);
    final Timeline helpTextTimeline = GuiUtil.createShadowColorIndicatorTimeline(
        helpTextEffect, ATTENTION_COLOR, Color.BLACK.brighter(),
        HELP_TEXT_COLOR_CHANGE_CYCLE_COUNT);
    helpTextPane = new ScrollPane();
    helpTextPane.getStyleClass().add("text-area-help");
    //helpTextPane.setPrefHeight(40d);
    helpTextPane.setPrefWidth(300d);
    helpTextPane.setEffect(helpTextEffect);
    helpText = new Label(RS.rbLabel(UGateUtil.HELP_TEXT_DEFAULT_KEY));
View Full Code Here


        SimplePane messagePane = new SimplePane(true);
        messagePane.setStyle("-fx-background-color:red");
        messagePane.getChildren().add(indexPane);
        messagePane.getChildren().add(dataPane);
        //
        ScrollPane scrollPane = new ScrollPane();
        scrollPane.setContent(messagePane);
        getItems().addAll(scrollPane, packetTreeView);
        //
        packetTreeView.getSelectionModel().selectedItemProperty().addListener(new InvalidationListener() {

            @Override
View Full Code Here

  private VBox vBox;
  private BorderPane borderPane = new BorderPane();
 
  public Node getNotificationNode() {
    if (this.scrollPane == null) {
      this.scrollPane = new ScrollPane();
      this.scrollPane.setFitToWidth(true);
      this.scrollPane.setFitToHeight(true);
     
      this.borderPane.setCenter(this.getNodeParent());
     
View Full Code Here

    initialiseProblemTypeParameters(jcgp, gui);
   
    createControls(gui);
   
    // prepare the scroll pane
    ScrollPane scroll = new ScrollPane();
    scroll.setFitToWidth(true);
    scroll.setContent(mainContainer);
    scroll.setStyle("-fx-background-color: #FFFFFF");
   
    // anchor the scroll pane to itself, bearing in mind the resize margin
    AnchorPane.setTopAnchor(scroll, 0.0);
    AnchorPane.setBottomAnchor(scroll, 0.0);
    AnchorPane.setRightAnchor(scroll, 0.0);
View Full Code Here

    private static final String ID2 = "ID2";

    @Override
    protected Parent getRootNode() {
        ScrollPane sp = new ScrollPane();
        VBox vb = new VBox();
        sp.setContent(vb);
        sp.setVmax(IMAGE_HEIGHT * 2);
        ImageView img1 = new ImageView(new Image(getClass()
                .getResourceAsStream(IMAGE_RESOURCE)));
        img1.setId(ID1);
        ImageView img2 = new ImageView(new Image(getClass()
                .getResourceAsStream(IMAGE_RESOURCE)));
        img2.setId(ID2);
        vb.getChildren().add(img1);
        vb.getChildren().add(img2);
        sp.setPrefWidth(IMAGE_WIDTH);
        sp.setPrefHeight(IMAGE_HEIGHT - 50);
        return sp;
    }
View Full Code Here

  {
    initStyle(StageStyle.DECORATED);

    this.rootNode = root;

    scrollPane = new ScrollPane();
    pane = new Pane();

    scrollPane.setContent(pane);

    Scene scene = new Scene(scrollPane, JITWatchUI.WINDOW_WIDTH, JITWatchUI.WINDOW_HEIGHT);
View Full Code Here

      {
        setScrollBar();
      }
    });

    scrollPane = new ScrollPane();
    scrollPane.setContent(vBoxRows);
    scrollPane.setStyle("-fx-background:white");

    scrollPane.setFitToHeight(true);
View Full Code Here

            });
           
            StacktraceExtractor extractor = new StacktraceExtractor();
            stage.stacktrace = extractor.extract(t);

            stage.scrollPane = new ScrollPane();
            stage.scrollPane.setContent(stage.stackTraceLabel);
           
            stage.viewStacktraceButton.setOnAction(new EventHandler<ActionEvent>() {

                public void handle(ActionEvent t) {
View Full Code Here

TOP

Related Classes of javafx.scene.control.ScrollPane

Copyright © 2018 www.massapicom. 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.