Package javafx.scene.control

Examples of javafx.scene.control.Label.textProperty()


    }

    private Node createTitleNode() {
        Label label = new Label();
        label.getStyleClass().add("form-title");
        label.textProperty().bind(fxForm.titleProperty());
        return label;
    }

    private GridPane gridPane;
    int row = 0;
View Full Code Here


    }

    private Node createTitleNode() {
        Label label = new AutoHidableLabel();
        label.getStyleClass().add("form-title");
        label.textProperty().bind(fxForm.titleProperty());
        return label;
    }

    protected GridPane gridPane;
    protected int row = 0;
View Full Code Here

public class AutoHidableLabelFactory implements Callback<Void, FXFormNode> {

    public FXFormNode call(Void aVoid) {
        final Label label = new AutoHidableLabel();
        label.setWrapText(true);
        return new FXFormNodeWrapper(label, label.textProperty());
    }

}
View Full Code Here

    public FXFormNode call(Void aVoid) {
        final Label label = new Label();
        label.setMinWidth(Label.USE_PREF_SIZE);
        label.setMaxWidth(Label.USE_PREF_SIZE);
        return new FXFormNodeWrapper(label, label.textProperty(), false);
    }

}
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.