Uses jpms where possible

This commit is contained in:
Guillaume Tâche
2024-11-18 23:10:39 +01:00
parent 16c6da51fe
commit fd145271a0
68 changed files with 568 additions and 541 deletions

View File

@@ -0,0 +1,10 @@
/**
* Core module for FXML compiler
*/
module com.github.gtache.fxml.compiler.core {
requires transitive com.github.gtache.fxml.compiler.api;
requires transitive javafx.graphics;
exports com.github.gtache.fxml.compiler.impl;
exports com.github.gtache.fxml.compiler.parsing.impl;
}

View File

@@ -44,19 +44,14 @@
</dependencies>
<build>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<!-- Enable filtering as workaround for symlink issue: https://issues.apache.org/jira/browse/MRESOURCES-237 -->
<filtering>true</filtering>
<includes>
<include>com/github/gtache/fxml/compiler/impl/*.properties</include>
<include>com/github/gtache/fxml/compiler/impl/*.fxml</include>
<include>com/github/gtache/fxml/compiler/impl/*.css</include>
<include>com/github/gtache/fxml/compiler/impl/*.txt</include>
<include>com/github/gtache/fxml/compiler/parsing/listener/*</include>
</includes>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<useModulePath>false</useModulePath>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,9 @@
/**
* FXML LoadListener module for FXML compiler
*/
module com.github.gtache.fxml.compiler.loader {
requires transitive com.github.gtache.fxml.compiler.core;
requires transitive javafx.fxml;
exports com.github.gtache.fxml.compiler.parsing.listener;
}

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/java/com/github/gtache/fxml/compiler/impl/ControlsController.java

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/java/com/github/gtache/fxml/compiler/impl/IncludesController.java

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import javafx.fxml.FXML;
import javafx.scene.control.*;
@@ -258,17 +258,17 @@ public class ControlsController {
}
@FXML
void onEditCancel(final javafx.scene.control.TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
void onEditCancel(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
}
@FXML
void onEditCommit(final javafx.scene.control.TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
void onEditCommit(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
}
@FXML
void onEditStart(final javafx.scene.control.TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
void onEditStart(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
}

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;

View File

@@ -1,8 +1,16 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import com.github.gtache.fxml.compiler.GenerationRequest;
import com.github.gtache.fxml.compiler.Generator;
import com.github.gtache.fxml.compiler.parsing.listener.ParsingLoadListener;
import com.github.gtache.fxml.compiler.impl.ControllerFieldInjectionTypes;
import com.github.gtache.fxml.compiler.impl.ControllerInfoImpl;
import com.github.gtache.fxml.compiler.impl.ControllerInjectionImpl;
import com.github.gtache.fxml.compiler.impl.ControllerMethodsInjectionType;
import com.github.gtache.fxml.compiler.impl.GenerationParametersImpl;
import com.github.gtache.fxml.compiler.impl.GenerationRequestImpl;
import com.github.gtache.fxml.compiler.impl.GeneratorImpl;
import com.github.gtache.fxml.compiler.impl.ResourceBundleInjectionImpl;
import com.github.gtache.fxml.compiler.impl.ResourceBundleInjectionTypes;
import javafx.application.Platform;
import javafx.fxml.FXMLLoader;
import org.junit.jupiter.api.BeforeAll;
@@ -64,7 +72,7 @@ class TestGeneratorImpl {
public void testGenerate(final String file, final ControllerFieldInjectionTypes field, final ControllerMethodsInjectionType method, final ResourceBundleInjectionTypes bundle) {
final var request = getRequest(file, field, method, bundle);
final var path = Paths.get(getPath(file, field, method, bundle));
try (final var in = getClass().getResourceAsStream("/com/github/gtache/fxml/compiler/impl/" + path)) {
try (final var in = getClass().getResourceAsStream("/com/github/gtache/fxml/compiler/parsing/listener/" + path)) {
final var expected = new String(in.readAllBytes(), StandardCharsets.UTF_8);
final var actual = generator.generate(request);
assertEquals(expected, actual);
@@ -111,8 +119,8 @@ class TestGeneratorImpl {
GENERIC_TYPES);
final var includesControllerInfo = new ControllerInfoImpl(Map.of(), Map.of());
final var controllerInfo = file.equals("Controls") ? controlsControllerInfo : includesControllerInfo;
final var resourceBundlePath = "com.github.gtache.fxml.compiler.impl." + file + "Bundle";
final var viewPath = "/com/github/gtache/fxml/compiler/impl/" + file + "View.fxml";
final var resourceBundlePath = "com.github.gtache.fxml.compiler.parsing.listener." + file + "Bundle";
final var viewPath = "/com/github/gtache/fxml/compiler/parsing/listener/" + file + "View.fxml";
final var listener = new ParsingLoadListener();
final var loader = new FXMLLoader(TestGeneratorImpl.class.getResource(viewPath));
loader.setLoadListener(listener);
@@ -125,17 +133,17 @@ class TestGeneratorImpl {
final var root = listener.root();
return new GenerationRequestImpl(
new GenerationParametersImpl(Map.of(
"com.github.gtache.fxml.compiler.impl.ControlsController", new ControllerInjectionImpl(field, method,
"com.github.gtache.fxml.compiler.impl.ControlsController"),
"com.github.gtache.fxml.compiler.impl.IncludesController", new ControllerInjectionImpl(field, method,
"com.github.gtache.fxml.compiler.impl.IncludesController")),
Map.of("controlsView.fxml", "com.github.gtache.fxml.compiler.impl.ControlsView"),
Map.of("controlsView.fxml", "com.github.gtache.fxml.compiler.impl.ControlsController"),
"com.github.gtache.fxml.compiler.parsing.listener.ControlsController", new ControllerInjectionImpl(field, method,
"com.github.gtache.fxml.compiler.parsing.listener.ControlsController"),
"com.github.gtache.fxml.compiler.parsing.listener.IncludesController", new ControllerInjectionImpl(field, method,
"com.github.gtache.fxml.compiler.parsing.listener.IncludesController")),
Map.of("controlsView.fxml", "com.github.gtache.fxml.compiler.parsing.listener.ControlsView"),
Map.of("controlsView.fxml", "com.github.gtache.fxml.compiler.parsing.listener.ControlsController"),
new ResourceBundleInjectionImpl(bundle, resourceBundlePath)
),
controllerInfo,
root,
"com.github.gtache.fxml.compiler.impl." + file + "Controller"
"com.github.gtache.fxml.compiler.parsing.listener." + file + "Controller"
);
}, Platform::runLater).join();
}

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/ControlsBundle.properties

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/IncludesBundle.properties

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/controlsView.fxml

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/includesView.fxml

View File

@@ -1 +0,0 @@
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/style.css

View File

@@ -15,7 +15,7 @@
<GridPane fx:id="gridPane" onInputMethodTextChanged="#inputMethodTextChanged" onKeyPressed="#keyPressed"
onKeyReleased="#keyReleased"
onKeyTyped="#keyTyped" xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.github.gtache.fxml.compiler.impl.ControlsController">
fx:controller="com.github.gtache.fxml.compiler.parsing.listener.ControlsController">
<rowConstraints>
<RowConstraints/>
<RowConstraints/>

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -415,7 +415,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -415,7 +415,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -414,7 +414,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -459,7 +459,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -459,7 +459,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.gridPane = object0;
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -458,7 +458,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -47,7 +47,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.GridPane();
fieldMap.put("gridPane", object0);
@@ -363,8 +363,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
object0.setOnKeyPressed(e -> controller.keyPressed());
object0.setOnKeyReleased(controller::keyReleased);
@@ -418,7 +418,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -47,7 +47,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.GridPane();
fieldMap.put("gridPane", object0);
@@ -363,8 +363,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
object0.setOnKeyPressed(e -> controller.keyPressed());
object0.setOnKeyReleased(controller::keyReleased);
@@ -418,7 +418,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -361,8 +361,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
object0.setOnKeyPressed(e -> controller.keyPressed());
object0.setOnKeyReleased(controller::keyReleased);
@@ -417,7 +417,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -51,7 +51,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.GridPane();
fieldMap.put("gridPane", object0);
@@ -367,8 +367,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
object0.setOnKeyPressed(e -> callMethod("keyPressed", e));
object0.setOnKeyReleased(e -> callMethod("keyReleased", e));
@@ -462,7 +462,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -51,7 +51,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.GridPane();
fieldMap.put("gridPane", object0);
@@ -367,8 +367,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
object0.setOnKeyPressed(e -> callMethod("keyPressed", e));
object0.setOnKeyReleased(e -> callMethod("keyReleased", e));
@@ -462,7 +462,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class ControlsController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of());
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class ControlsController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.ControlsController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -365,8 +365,8 @@ public final class ControlsController {
javafx.scene.layout.GridPane.setColumnIndex(object76, 1);
javafx.scene.layout.GridPane.setRowIndex(object76, 17);
object0.getChildren().addAll(object22, object23, object24, object25, object28, object31, object32, object33, object34, object35, object36, object37, object38, object45, object49, object51, object52, object53, object55, object56, object57, object58, object59, object60, object61, object62, object63, object66, object69, object70, object71, object72, object75, object76);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllerFactory.create(fieldMap);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
object0.setOnKeyPressed(e -> callMethod("keyPressed", e));
object0.setOnKeyReleased(e -> callMethod("keyReleased", e));
@@ -461,7 +461,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -424,7 +424,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -424,7 +424,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -423,7 +423,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -468,7 +468,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -468,7 +468,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
injectField("gridPane", object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -467,7 +467,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -415,7 +415,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -415,7 +415,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(controller::inputMethodTextChanged);
@@ -414,7 +414,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -459,7 +459,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -459,7 +459,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class ControlsController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.ControlsController controller;
private com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller;
/**
* Instantiates a new ControlsController with no nested controllers and no resource bundle
* @param controller The controller
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of());
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class ControlsController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public ControlsController(final com.github.gtache.fxml.compiler.impl.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.ControlsController.class, resourceBundle));
public ControlsController(final com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class ControlsController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.impl.ControlsController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.ControlsController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.ControlsController.class);
final var object0 = new javafx.scene.layout.GridPane();
controller.setGridPane(object0);
object0.setOnInputMethodTextChanged(e -> callMethod("inputMethodTextChanged", e));
@@ -458,7 +458,7 @@ public final class ControlsController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.ControlsController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.ControlsController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -172,7 +172,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -172,7 +172,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -84,9 +84,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -171,7 +171,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -216,7 +216,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -216,7 +216,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -88,9 +88,9 @@ public final class IncludesController {
controller.volumeValueLabel = object13;
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.controlsController = controller0;
@@ -215,7 +215,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -47,7 +47,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
@@ -85,9 +85,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -162,8 +162,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(controller::playPressed);
controller.initialize();
loaded = true;
@@ -175,7 +175,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -47,7 +47,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
@@ -85,9 +85,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -162,8 +162,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(controller::playPressed);
controller.initialize();
loaded = true;
@@ -175,7 +175,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -14,14 +14,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -29,8 +29,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -83,9 +83,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -160,8 +160,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(controller::playPressed);
object11.setText(controller.resources().getString("media.volume.label"));
controller.initialize();
@@ -174,7 +174,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -51,7 +51,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
@@ -89,9 +89,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -166,8 +166,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(e -> callMethod("playPressed", e));
try {
final var initialize = controller.getClass().getDeclaredMethod("initialize");
@@ -219,7 +219,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -51,7 +51,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
final var fieldMap = new HashMap<String, Object>();
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
@@ -89,9 +89,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -166,8 +166,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(e -> callMethod("playPressed", e));
try {
final var initialize = controller.getClass().getDeclaredMethod("initialize");
@@ -219,7 +219,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -18,14 +18,14 @@ public final class IncludesController {
private final Map<Class<?>, ControllerFactory<?>> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controllerFactory The controller factory
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of());
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of());
}
/**
@@ -33,8 +33,8 @@ public final class IncludesController {
* @param controllerFactory The controller factory
* @param resourceBundle The resource bundle
*/
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.impl.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final ControllerFactory<com.github.gtache.fxml.compiler.parsing.listener.IncludesController> controllerFactory, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controllerFactory), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -87,9 +87,9 @@ public final class IncludesController {
fieldMap.put("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
fieldMap.put("controlsController", controller0);
@@ -164,8 +164,8 @@ public final class IncludesController {
object17.getItems().addAll(object18);
object16.getChildren().addAll(object17);
object0.setCenter(object16);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllerFactory.create(fieldMap);
final var controllerFactory = controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllerFactory.create(fieldMap);
object9.setOnAction(e -> callMethod("playPressed", e));
object11.setText(controller.resources().getString("media.volume.label"));
try {
@@ -218,7 +218,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -181,7 +181,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -181,7 +181,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -84,9 +84,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -180,7 +180,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -225,7 +225,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -225,7 +225,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -88,9 +88,9 @@ public final class IncludesController {
injectField("volumeValueLabel", object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
injectField("controlsController", controller0);
@@ -224,7 +224,7 @@ private <T> void injectField(final String fieldName, final T object) {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -172,7 +172,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,8 +46,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -85,9 +85,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -172,7 +172,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -13,14 +13,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -28,8 +28,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -46,7 +46,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -84,9 +84,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -171,7 +171,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = resourceBundlesMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -216,7 +216,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,8 +50,8 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
final var bundle = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.IncludesBundle");
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -89,9 +89,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -216,7 +216,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -1,4 +1,4 @@
package com.github.gtache.fxml.compiler.impl;
package com.github.gtache.fxml.compiler.parsing.listener;
import java.util.Map;
import java.util.ResourceBundle;
@@ -17,14 +17,14 @@ public final class IncludesController {
private final Map<Class<?>, Object> controllersMap;
private final Map<Class<?>, ResourceBundle> resourceBundlesMap;
private boolean loaded;
private com.github.gtache.fxml.compiler.impl.IncludesController controller;
private com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller;
/**
* Instantiates a new IncludesController with no nested controllers and no resource bundle
* @param controller The controller
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of());
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of());
}
/**
@@ -32,8 +32,8 @@ public final class IncludesController {
* @param controller The controller
* @param resourceBundle The resource bundle
*/
public IncludesController(final com.github.gtache.fxml.compiler.impl.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.impl.IncludesController.class, resourceBundle));
public IncludesController(final com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller, final ResourceBundle resourceBundle) {
this(Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, controller), Map.of(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class, resourceBundle));
}
/**
@@ -50,7 +50,7 @@ public final class IncludesController {
if (loaded) {
throw new IllegalStateException("Already loaded");
}
controller = (com.github.gtache.fxml.compiler.impl.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.impl.IncludesController.class);
controller = (com.github.gtache.fxml.compiler.parsing.listener.IncludesController) controllersMap.get(com.github.gtache.fxml.compiler.parsing.listener.IncludesController.class);
final var object0 = new javafx.scene.layout.BorderPane();
final var object1 = new javafx.scene.layout.VBox();
javafx.scene.layout.BorderPane.setAlignment(object1, javafx.geometry.Pos.CENTER);
@@ -88,9 +88,9 @@ public final class IncludesController {
controller.setVolumeValueLabel(object13);
object13.setText("Label");
final var map0 = new HashMap<>(resourceBundlesMap);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.impl.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.impl.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.impl.ControlsView(controllersMap, map0);
final var bundle0 = ResourceBundle.getBundle("com.github.gtache.fxml.compiler.parsing.listener.ControlsBundle");
map0.put(com.github.gtache.fxml.compiler.parsing.listener.ControlsController, bundle0);
final var view0 = new com.github.gtache.fxml.compiler.parsing.listener.ControlsView(controllersMap, map0);
final var object14 = view0.load();
final var controller0 = view0.controller();
controller.setControlsController(controller0);
@@ -215,7 +215,7 @@ public final class IncludesController {
/**
* @return The controller
*/
public com.github.gtache.fxml.compiler.impl.IncludesController controller() {
public com.github.gtache.fxml.compiler.parsing.listener.IncludesController controller() {
if (loaded) {
return controller;
} else {

View File

@@ -6,7 +6,7 @@
<?import javafx.scene.layout.*?>
<?import javafx.scene.text.TextFlow?>
<BorderPane xmlns="http://javafx.com/javafx/22" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="com.github.gtache.fxml.compiler.impl.IncludesController">
fx:controller="com.github.gtache.fxml.compiler.parsing.listener.IncludesController">
<bottom>
<VBox BorderPane.alignment="CENTER">
<children>
@@ -38,7 +38,7 @@
<Slider fx:id="volumeSlider" value="100"/>
<Label fx:id="volumeValueLabel" text="Label"/>
<fx:include fx:id="controls" source="controlsView.fxml"
resources="com/github/gtache/fxml/compiler/impl/ControlsBundle"/>
resources="com/github/gtache/fxml/compiler/parsing/listener/ControlsBundle"/>
</children>
<padding>
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>

View File

@@ -16,5 +16,11 @@
<groupId>com.github.gtache</groupId>
<artifactId>fxml-compiler-core</artifactId>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>${javafx.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
</project>

View File

@@ -0,0 +1,6 @@
/**
* XML parsing module for FXML compiler (not implemented yet)
*/
module com.github.gtache.fxml.compiler.xml {
requires transitive com.github.gtache.fxml.compiler.core;
}