Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow components to extend from Node #68

Merged
merged 5 commits into from
Mar 24, 2024
Merged

Conversation

LeStegii
Copy link
Collaborator

@LeStegii LeStegii commented Mar 12, 2024

Components can now use a Node as their view to be more inline with FXML. When displaying a controller/component as a root of a scene (e.g. using show/modals), it still has to provide a Parent as its view as the root of a scene has to be a Parent.

TODO:

  • More type checking and edge cases (e.g. in the processor)
  • Fix history

Closes #65

LeStegii and others added 5 commits March 12, 2024 17:22
Controllers can now use a Node as their view to be more inline with JavaFX.
When displaying a controller/component as a root of a scene (e.g. using show/modals), it still has to provide a Parent as its view as the root of a scene has to be a Parent.

TODO: More type checking and edge cases (e.g. in the processor)
# Conflicts:
#	framework/src/main/java/org/fulib/fx/util/ControllerUtil.java
@LeStegii LeStegii marked this pull request as ready for review March 24, 2024 15:49
@LeStegii LeStegii requested a review from Clashsoft March 24, 2024 15:49
@LeStegii LeStegii merged commit 879cac6 into master Mar 24, 2024
5 checks passed
@Clashsoft Clashsoft deleted the feat/node-components branch March 24, 2024 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for Node components
2 participants