Search in sources :

Example 1 with DynamicLabelItem

use of com.kyj.fx.voeditor.visual.component.grid.DynamicLabelItem in project Gargoyle by callakrsos.

the class DynamicListViewExample method start.

@Override
public void start(Stage primaryStage) throws Exception {
    DynamicItemListView dynamicListView = new DynamicItemListView();
    dynamicListView.getItems().add(new DynamicLabelItem("테스트"));
    dynamicListView.getItems().add(new DynamicImageViewItem("C:\\Users\\KYJ\\Pictures\\98.jpg"));
    BorderPane root = new BorderPane(dynamicListView);
    root.setPrefSize(800, 600);
    Scene value = new Scene(root, 800, 600);
    primaryStage.setScene(value);
    primaryStage.show();
}
Also used : BorderPane(javafx.scene.layout.BorderPane) DynamicImageViewItem(com.kyj.fx.voeditor.visual.component.grid.DynamicImageViewItem) DynamicLabelItem(com.kyj.fx.voeditor.visual.component.grid.DynamicLabelItem) DynamicItemListView(com.kyj.fx.voeditor.visual.component.grid.DynamicItemListView) Scene(javafx.scene.Scene)

Aggregations

DynamicImageViewItem (com.kyj.fx.voeditor.visual.component.grid.DynamicImageViewItem)1 DynamicItemListView (com.kyj.fx.voeditor.visual.component.grid.DynamicItemListView)1 DynamicLabelItem (com.kyj.fx.voeditor.visual.component.grid.DynamicLabelItem)1 Scene (javafx.scene.Scene)1 BorderPane (javafx.scene.layout.BorderPane)1