类javafx.scene.control.LabelBuilder源码实例Demo

下面列出了怎么用javafx.scene.control.LabelBuilder的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: marathonv5   文件: InsetTextSample.java
public InsetTextSample() {

        String insetTextCss = InsetTextSample.class.getResource("InsetText.css").toExternalForm();
        Label label = LabelBuilder.create().text("Label styled as a bar").id("label1").build();
        label.getStylesheets().add(insetTextCss);
        getChildren().add(label);
    }
 
源代码2 项目: marathonv5   文件: InsetTextSample.java
public InsetTextSample() {

        String insetTextCss = InsetTextSample.class.getResource("InsetText.css").toExternalForm();
        Label label = LabelBuilder.create().text("Label styled as a bar").id("label1").build();
        label.getStylesheets().add(insetTextCss);
        getChildren().add(label);
    }
 
 类所在包
 类方法
 同包方法