Package javafx.scene.layout

Examples of javafx.scene.layout.Pane



    // ******************** Constructors **************************************
    public TButtonSkin(final TButton CONTROL) {
        super(CONTROL);
        pane = new Pane();
        init();
        initGraphics();
        registerListeners();
    }
View Full Code Here


    public SquareMatrixSegmentSkin(final SquareMatrixSegment CONTROL) {
        super(CONTROL);
        aspectRatio = 1.0;
        dotMap      = new HashMap<>(35);
        highlights  = new ArrayList<>(35);
        pane        = new Pane();
        init();
        initGraphics();
        registerListeners();
    }
View Full Code Here

        ctxBkg    = canvasBkg.getGraphicsContext2D();

        canvasFg  = new Canvas(PREFERRED_WIDTH, PREFERRED_HEIGHT);
        ctxFg     = canvasFg.getGraphicsContext2D();

        pane      = new Pane();
        pane.getChildren().setAll(canvasBkg, canvasFg);

        getChildren().setAll(pane);
        resize();
        drawBackground();
View Full Code Here

        FLIP_FINISHED         = new FlipEvent(this, getSkinnable(), FlipEvent.FLIP_FINISHED);
        selectedSet           = getSkinnable().getSelectedSet();
        currentSelectionIndex = getSkinnable().getSelectedSet().indexOf(getSkinnable().getText());
        nextSelectionIndex    = currentSelectionIndex + 1 > getSkinnable().getSelectedSet().size() ? 0 : currentSelectionIndex + 1;
        aspectRatio           = PREFERRED_HEIGHT / PREFERRED_WIDTH;
        pane                  = new Pane();
        rotateFlap            = new Rotate();
        rotateFlap.setAxis(Rotate.X_AXIS);
        rotateFlap.setAngle(0);
        flapHeight            = 0.49206349206349204 * PREFERRED_HEIGHT;
        timeline              = new Timeline();
View Full Code Here

    public MatrixSegmentSkin(final MatrixSegment CONTROL) {
        super(CONTROL);
        aspectRatio = PREFERRED_HEIGHT / PREFERRED_WIDTH;
        dotMap      = new HashMap<>(35);
        highlights  = new ArrayList<>(35);
        pane        = new Pane();
        init();
        initGraphics();
        registerListeners();
    }
View Full Code Here

        thumb = new Region();
        thumb.getStyleClass().setAll("thumb");
        thumb.setMouseTransparent(true);
        thumb.setStyle("-thumb-color: " + Util.colorToCss((Color) getSkinnable().getThumbColor()) + ";");

        pane = new Pane(background, selectedText, deselectedText, thumb);
        pane.getStyleClass().setAll("on-off-switch");

        moveToDeselected = new TranslateTransition(Duration.millis(180), thumb);
        moveToSelected = new TranslateTransition(Duration.millis(180), thumb);
View Full Code Here

        thumb = new Region();
        thumb.getStyleClass().setAll("thumb");
        thumb.setStyle("-thumb-color: " + Util.colorToCss((Color) getSkinnable().getThumbColor()) + ";");
        thumb.setMouseTransparent(true);

        pane = new Pane(background, symbol, text, thumb);
        pane.getStyleClass().setAll("icon-switch");

        moveToDeselected = new TranslateTransition(Duration.millis(180), thumb);
        moveToSelected = new TranslateTransition(Duration.millis(180), thumb);
View Full Code Here

    // ******************** Constructors **************************************
    public SevenSegmentSkin(final SevenSegment CONTROL) {
        super(CONTROL);
        aspectRatio = PREFERRED_HEIGHT / PREFERRED_WIDTH;
        pane        = new Pane();
        segmentMap  = new HashMap<>(8);
        init();
        initGraphics();
        registerListeners();
    }
View Full Code Here

    // ******************** Constructors **************************************
    public PushButtonSkin(final PushButton CONTROL) {
        super(CONTROL);
        aspectRatio  = PREFERRED_HEIGHT / PREFERRED_WIDTH;
        pane         = new Pane();
        init();
        initGraphics();
        registerListeners();
    }
View Full Code Here

            tab_border_pane.setCenter(__table);

            tab_lbl_tot = (Label) Utility.getFromCacheNode("tab_lbl_tot");
            tab_lbl_tot.setId("ge_label_yellow");

            Pane tab_acc_table_bot = (Pane) Utility.getFromCacheNode("tab_acc_table_bot");
            tab_acc_table_bot.setId("back_gray_def");

            setLblNumAccount(data_table.size());

            __table.setOnMouseClicked((mouseEvent) -> {
View Full Code Here

TOP

Related Classes of javafx.scene.layout.Pane

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.