Java 类javafx.scene.layout.FlowPaneBuilder 实例源码

项目:fxpoc    文件:SampleView.java   
/**
 * {@inheritDoc}
 */
@Override
protected void initView() {

    this.defaultCommand = new Button("Trigger a default Command into JIT");
    this.uiCommand = new Button("Trigger an UI Command into JAT");
    this.pooledCommand = new Button("Trigger a pooled Command into JTP");

    getRootNode().setCenter(
            LabelBuilder.create()
                    .text("JRebirth Sample")
                    .build()
            );

    getRootNode().setBottom(FlowPaneBuilder.create().children(
            this.defaultCommand,
            this.uiCommand,
            this.pooledCommand
            ).build());
}