Package javafx.scene.text

Examples of javafx.scene.text.Font


        hbox_pwd.setSpacing(1);
        prog_pwd = new ProgressBar();
        prog_pwd.setProgress(0.0);
        prog_pwd.setOpacity(0.7f);
        vpwd_lbl = new Label("");
        vpwd_lbl.setFont(new Font("Arial", 10));
        vpwd_lbl.setOpacity(0.7f);
        vpwd_lbl.setAlignment(Pos.TOP_RIGHT);
        vpwd_lbl.setPrefSize(40.0, 10.0);

        setSensiblePreferedWidth(264.0);
View Full Code Here


        if (h_message == null) {
            return this;
        }
        header = new Label();
        header.setAlignment(Pos.CENTER);
        header.setFont(new Font("Arial", 16));
        if (h_message.length() > 48) {
            h_message = h_message.substring(0, 48);
        }
        header.setText(RBLoader.ll(h_message));
        EffectFX.dropShadowEffect(header, 1, 1);
View Full Code Here

            return this;
        }
        content = new Label();
        content.setWrapText(true);
        content.setTextAlignment(TextAlignment.JUSTIFY);
        content.setFont(new Font("Arial", 14));
        content.setText(RBLoader.ll(center_message));
        return this;
    }
View Full Code Here

            return this;
        }
        content = new Label();
        content.setWrapText(true);
        content.setTextAlignment(ta);
        content.setFont(new Font("Arial", 14));
        content.setText(RBLoader.ll(center_message));
        return this;
    }
View Full Code Here

        return this;
    }

    public InternalPopupMessage setDoNotAskAgain() {
        check_box = new CheckBox(RBLoader.ll("Don't show again."));
        check_box.setFont(new Font("Arial", 16));
        check_box.setPrefSize(185, 25);
        check_box.setSelected(false);
        return this;
    }
View Full Code Here

        stage.setTitle("Table View Sample");
        //stage.setWidth(850);
        //stage.setHeight(550);

        final Label label = new Label("Address Book");
        label.setFont(new Font("Arial", 20));

        table.setEditable(false);
        Callback<TableColumn, TableCell> cellFactory
                = new Callback<TableColumn, TableCell>()
        {
View Full Code Here

    Scene scene = new Scene(root, width, height);

    canvas.widthProperty().bind(root.widthProperty());
    canvas.heightProperty().bind(root.heightProperty());

    gc.setFont(new Font("monospace", 10));

    root.getChildren().add(canvas);

    setTitle("JITWatch Compilations Timeline");
View Full Code Here

      double lastCX = graphGapLeft + normaliseX(minX);
      double lastCY = graphGapTop + normaliseY(getFreeCodeCacheFromTag(firstTag));

      gc.setStroke(Color.BLACK);
      gc.setFont(new Font("monospace", 10));

      Color colourLine = Color.BLUE;

      gc.setFill(colourLine);
      gc.setStroke(colourLine);
View Full Code Here

            minY = 0;
            maxY = histo.getMaxCount();

            gc.setStroke(Color.BLACK);
            gc.setFont(new Font("monospace", 10));

            drawAxes();

            Color colourLine = Color.RED;
View Full Code Here

    }

   
    // ******************** Methods *******************************************
    public static Font bebasNeue(final double SIZE) {
        return new Font(BEBAS_NEUE_NAME, SIZE);
    }
View Full Code Here

TOP

Related Classes of javafx.scene.text.Font

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.