Package javafx.geometry

Examples of javafx.geometry.Orientation


      HBox hbox = new HBox();
      hbox.setAlignment(Pos.CENTER);
      hbox.setSpacing(3);
      buttonsPane=hbox;
    }
    Orientation orientation = verticalRightButton?Orientation.HORIZONTAL:Orientation.VERTICAL;

    buttonsPane.getChildren().addAll(resultForm.getController().getContributedButtons(messageProvider));   
    buttonsPane.getChildren().add(new Separator(orientation));
   
    MenuButton defaultFilterButton = new MenuButton("",new ImageView(new Image(getClass().getResourceAsStream("/de/scoopgmbh/copper/gui/icon/filter.png"))));
View Full Code Here


        double range = getSkinnable().getMaxValue() - getSkinnable().getMinValue();
        double minPosition;
        double maxPosition;
        double stepSize;
        Orientation orientation = getSkinnable().getOrientation();
        if (Orientation.VERTICAL == orientation) {
            minPosition = (1 - 0.67143) * height * 0.5;
            maxPosition = (1 - 0.67143) * height * 0.5 + 0.67143 * height;
            stepSize    = Math.abs(0.67143 * height / range);
        } else {
View Full Code Here

TOP

Related Classes of javafx.geometry.Orientation

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.