-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(framework): Generate reflective clearChildren if component does n…
…ot extend Pane Closes #113
- Loading branch information
Showing
4 changed files
with
40 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
framework/src/test/java/org/fulib/fx/app/controller/types/ListViewComponent.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.fulib.fx.app.controller.types; | ||
|
||
import javafx.scene.control.ListView; | ||
import org.fulib.fx.annotation.controller.Component; | ||
|
||
// https://github.com/fujaba/fulibFx/issues/113 | ||
@Component(view = "ListView.fxml") | ||
public class ListViewComponent<T> extends ListView<T> { | ||
} |
6 changes: 6 additions & 0 deletions
6
framework/src/test/resources/org/fulib/fx/app/controller/types/ListView.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
|
||
<?import javafx.scene.control.ListView?> | ||
<fx:root type="ListView" prefHeight="200.0" prefWidth="200.0" xmlns="http://javafx.com/javafx/22" | ||
xmlns:fx="http://javafx.com/fxml/1"/> |