Examples of widthProperty()


Examples of com.eagerlogic.cubee.client.components.Label.widthProperty()

        root.getChildren().add(pnlName);
       
        // TODO make styleable
        Label lblName = new Label();
        lblName.textProperty().set(attribute.getName());
        lblName.widthProperty().bind(pnlName.clientWidthProperty());
        lblName.maxWidthProperty().bind(pnlName.clientWidthProperty());
        lblName.translateYProperty().bind(new AlignMiddleExp(pnlName, lblName));
        lblName.textOverflowProperty().set(ETextOverflow.ELLIPSIS);
        pnlName.getChildren().add(lblName);
       
View Full Code Here

Examples of com.eagerlogic.cubee.client.components.Label.widthProperty()

        pnlValue.getChildren().clear();
       
        // TODO make styleable
        Label lblValue = new Label();
        lblValue.textProperty().set(attribute.getStringValue());
        lblValue.widthProperty().bind(pnlName.clientWidthProperty());
        lblValue.maxWidthProperty().bind(pnlName.clientWidthProperty());
        lblValue.translateYProperty().bind(new AlignMiddleExp(pnlValue, lblValue));
        lblValue.textOverflowProperty().set(ETextOverflow.ELLIPSIS);
        lblValue.handlePointerProperty().set(false);
        pnlValue.getChildren().add(lblValue);
View Full Code Here

Examples of com.eagerlogic.cubee.client.components.Panel.widthProperty()

            root.getChildren().add(collapseLabel);
           
            root.addEmptyCell(2);
           
            Panel pnlSep = new Panel();
            pnlSep.widthProperty().bind(clientWidthProperty());
            // TODO set styleable
            pnlSep.heightProperty().set(1);
            // TODO set styleable
            pnlSep.backgroundProperty().set(new ColorBackground(Color.BLACK));
            root.getChildren().add(pnlSep);
View Full Code Here

Examples of com.eagerlogic.cubee.client.components.ScrollPanel.widthProperty()

       
        this.widthProperty().set(250);
        this.heightProperty().set(300);
       
        ScrollPanel sp = new ScrollPanel();
        sp.widthProperty().bind(this.clientWidthProperty());
        sp.heightProperty().bind(this.clientHeightProperty());
        this.getChildren().add(sp);
       
        VBox root = new VBox();
        sp.setContent(root);
View Full Code Here

Examples of javafx.scene.Scene.widthProperty()

        }

        private Scene createJfxScene() {
            Group jfxComponentGroup = new Group();
            Scene scene = new Scene(jfxComponentGroup);
            webView.prefWidthProperty().bind(scene.widthProperty());
            webView.prefHeightProperty().bind(scene.heightProperty());
            jfxComponentGroup.getChildren().add(webView);
            return scene;
        }
View Full Code Here

Examples of javafx.scene.Scene.widthProperty()

    classMemberList.prefHeightProperty().bind(scene.heightProperty());
    attributeTableView.prefHeightProperty().bind(scene.heightProperty());

    classTree = new ClassTree(this, getConfig());
    classTree.prefWidthProperty().bind(scene.widthProperty());

    SplitPane spMain = new SplitPane();
    spMain.setOrientation(Orientation.VERTICAL);

    SplitPane spCentre = new SplitPane();
View Full Code Here

Examples of javafx.scene.Scene.widthProperty()

        vbox.getChildren().add(hbox);
        vbox.getChildren().add(canvas);

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

        canvas.widthProperty().bind(scene.widthProperty());
        canvas.heightProperty().bind(scene.heightProperty().subtract(30));

        setTitle("JITWatch Histogram");
       
        histo = histoVisitable.buildHistogram();
View Full Code Here

Examples of javafx.scene.Scene.widthProperty()

    Scene scene = new Scene(borderPane, JITWatchUI.WINDOW_WIDTH, JITWatchUI.WINDOW_HEIGHT);

    tableView = SuggestionTableUtil.buildTableSuggestion(obList);
   
    filter.prefWidthProperty().bind(scene.widthProperty());

    vbox.getChildren().add(tableView);

    tableView.prefHeightProperty().bind(scene.heightProperty());
View Full Code Here

Examples of javafx.scene.layout.HBox.widthProperty()

    protected void draw() {
      // skin approach uses more resources to manage
      final HBox textView = new HBox(TEXT_SPACING);
      textView.setCache(true);
      textView.setCacheHint(CacheHint.SPEED);
      textView.widthProperty().addListener(new ChangeListener<Number>() {
      @Override
      public void changed(ObservableValue<? extends Number> observable,
          Number oldValue, Number newValue) {
        final Bounds textViewBounds = textView.getBoundsInLocal();
        mainRec.setX(textViewBounds.getMinX());
View Full Code Here

Examples of javafx.scene.layout.HBox.widthProperty()

    HBox hBoxTextAreas = new HBox();

    hBoxTextAreas.getChildren().add(taLineNumbers);
    hBoxTextAreas.getChildren().add(taSource);

    taSource.prefWidthProperty().bind(hBoxTextAreas.widthProperty());

    getChildren().add(hBoxTitle);
    getChildren().add(hBoxTextAreas);

    hBoxTitle.prefWidthProperty().bind(widthProperty());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.