Uses jpms where possible
This commit is contained in:
@@ -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>
|
||||
9
loader/src/main/java/module-info.java
Normal file
9
loader/src/main/java/module-info.java
Normal 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;
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/java/com/github/gtache/fxml/compiler/impl/ControlsController.java
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/java/com/github/gtache/fxml/compiler/impl/IncludesController.java
|
||||
@@ -0,0 +1,489 @@
|
||||
package com.github.gtache.fxml.compiler.parsing.listener;
|
||||
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.image.ImageView;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.media.MediaView;
|
||||
import javafx.scene.paint.Color;
|
||||
import javafx.scene.web.HTMLEditor;
|
||||
import javafx.scene.web.WebView;
|
||||
|
||||
public class ControlsController {
|
||||
@FXML
|
||||
GridPane gridPane;
|
||||
@FXML
|
||||
Button button;
|
||||
@FXML
|
||||
CheckBox checkBox;
|
||||
@FXML
|
||||
ChoiceBox<String> choiceBox;
|
||||
@FXML
|
||||
ColorPicker colorPicker;
|
||||
@FXML
|
||||
ComboBox comboBox;
|
||||
@FXML
|
||||
DatePicker datePicker;
|
||||
@FXML
|
||||
HTMLEditor htmlEditor;
|
||||
@FXML
|
||||
Hyperlink hyperlink;
|
||||
@FXML
|
||||
ImageView imageView;
|
||||
@FXML
|
||||
Label label;
|
||||
@FXML
|
||||
ListView<Label> listView;
|
||||
@FXML
|
||||
MediaView mediaView;
|
||||
@FXML
|
||||
MenuBar menuBar;
|
||||
@FXML
|
||||
MenuButton menuButton;
|
||||
@FXML
|
||||
Pagination pagination;
|
||||
@FXML
|
||||
PasswordField passwordField;
|
||||
@FXML
|
||||
ProgressBar progressBar;
|
||||
@FXML
|
||||
ProgressIndicator progressIndicator;
|
||||
@FXML
|
||||
RadioButton radioButton;
|
||||
@FXML
|
||||
ScrollBar scrollBarH;
|
||||
@FXML
|
||||
ScrollBar scrollBarV;
|
||||
@FXML
|
||||
Separator separatorH;
|
||||
@FXML
|
||||
Separator separatorV;
|
||||
@FXML
|
||||
Slider sliderH;
|
||||
@FXML
|
||||
Slider sliderV;
|
||||
@FXML
|
||||
Spinner<Double> spinner;
|
||||
@FXML
|
||||
SplitMenuButton splitMenuButton;
|
||||
@FXML
|
||||
TableView<TextArea> tableView;
|
||||
@FXML
|
||||
TextArea textArea;
|
||||
@FXML
|
||||
TextField textField;
|
||||
@FXML
|
||||
TreeTableView<TreeItem<String>> treeTableView;
|
||||
@FXML
|
||||
TreeView<String> treeView;
|
||||
@FXML
|
||||
TreeTableColumn<TreeItem<String>, String> treeTableColumn1;
|
||||
@FXML
|
||||
TreeTableColumn<TreeItem<String>, Integer> treeTableColumn2;
|
||||
@FXML
|
||||
TableColumn<TextArea, Float> tableColumn1;
|
||||
@FXML
|
||||
TableColumn<TextArea, String> tableColumn2;
|
||||
@FXML
|
||||
WebView webView;
|
||||
@FXML
|
||||
MenuItem item1;
|
||||
@FXML
|
||||
MenuItem item2;
|
||||
@FXML
|
||||
Menu menu1;
|
||||
@FXML
|
||||
MenuItem menuItem1;
|
||||
@FXML
|
||||
Color color;
|
||||
|
||||
@FXML
|
||||
void inputMethodTextChanged(final javafx.scene.input.InputMethodEvent inputMethodEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void keyPressed() {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void keyReleased(final javafx.scene.input.KeyEvent keyEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void keyTyped(final javafx.scene.input.KeyEvent keyEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragDetected(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragDone(final javafx.scene.input.DragEvent dragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragDropped(final javafx.scene.input.DragEvent dragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragEntered(final javafx.scene.input.DragEvent dragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragExited(final javafx.scene.input.DragEvent dragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void dragOver(final javafx.scene.input.DragEvent dragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseDragEntered(final javafx.scene.input.MouseDragEvent mouseDragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseDragExited(final javafx.scene.input.MouseDragEvent mouseDragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseDragOver(final javafx.scene.input.MouseDragEvent mouseDragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseDragReleased(final javafx.scene.input.MouseDragEvent mouseDragEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void contextMenuRequested(final javafx.scene.input.ContextMenuEvent contextMenuEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseClicked() {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseDragged(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseEntered(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseExited(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseMoved(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mousePressed(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void mouseReleased(final javafx.scene.input.MouseEvent mouseEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onScroll(final javafx.scene.input.ScrollEvent scrollEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onScrollFinished(final javafx.scene.input.ScrollEvent scrollEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onScrollStarted(final javafx.scene.input.ScrollEvent scrollEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onZoom(final javafx.scene.input.ZoomEvent zoomEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onZoomFinished(final javafx.scene.input.ZoomEvent zoomEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onZoomStarted(final javafx.scene.input.ZoomEvent zoomEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onAction(final javafx.event.ActionEvent actionEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onRotate(final javafx.scene.input.RotateEvent rotateEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onRotationFinished(final javafx.scene.input.RotateEvent rotateEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onRotationStarted(final javafx.scene.input.RotateEvent rotateEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onEditCancel(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onEditCommit(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onEditStart(final TreeTableColumn.CellEditEvent<TreeItem<String>, String> cellEditEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onSwipeDown(final javafx.scene.input.SwipeEvent swipeEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onSwipeLeft(final javafx.scene.input.SwipeEvent swipeEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onSwipeRight(final javafx.scene.input.SwipeEvent swipeEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onSwipeUp(final javafx.scene.input.SwipeEvent swipeEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onTouchMoved(final javafx.scene.input.TouchEvent touchEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onTouchPressed(final javafx.scene.input.TouchEvent touchEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onTouchReleased(final javafx.scene.input.TouchEvent touchEvent) {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void onTouchStationary(final javafx.scene.input.TouchEvent touchEvent) {
|
||||
|
||||
}
|
||||
|
||||
void initialize() {
|
||||
}
|
||||
|
||||
public void setGridPane(final GridPane gridPane) {
|
||||
this.gridPane = gridPane;
|
||||
}
|
||||
|
||||
public void setButton(final Button button) {
|
||||
this.button = button;
|
||||
}
|
||||
|
||||
public void setCheckBox(final CheckBox checkBox) {
|
||||
this.checkBox = checkBox;
|
||||
}
|
||||
|
||||
public void setChoiceBox(final ChoiceBox<String> choiceBox) {
|
||||
this.choiceBox = choiceBox;
|
||||
}
|
||||
|
||||
public void setColorPicker(final ColorPicker colorPicker) {
|
||||
this.colorPicker = colorPicker;
|
||||
}
|
||||
|
||||
public void setComboBox(final ComboBox comboBox) {
|
||||
this.comboBox = comboBox;
|
||||
}
|
||||
|
||||
public void setDatePicker(final DatePicker datePicker) {
|
||||
this.datePicker = datePicker;
|
||||
}
|
||||
|
||||
public void setHtmlEditor(final HTMLEditor htmlEditor) {
|
||||
this.htmlEditor = htmlEditor;
|
||||
}
|
||||
|
||||
public void setHyperlink(final Hyperlink hyperlink) {
|
||||
this.hyperlink = hyperlink;
|
||||
}
|
||||
|
||||
public void setImageView(final ImageView imageView) {
|
||||
this.imageView = imageView;
|
||||
}
|
||||
|
||||
public void setLabel(final Label label) {
|
||||
this.label = label;
|
||||
}
|
||||
|
||||
public void setListView(final ListView<Label> listView) {
|
||||
this.listView = listView;
|
||||
}
|
||||
|
||||
public void setMediaView(final MediaView mediaView) {
|
||||
this.mediaView = mediaView;
|
||||
}
|
||||
|
||||
public void setMenuBar(final MenuBar menuBar) {
|
||||
this.menuBar = menuBar;
|
||||
}
|
||||
|
||||
public void setMenuButton(final MenuButton menuButton) {
|
||||
this.menuButton = menuButton;
|
||||
}
|
||||
|
||||
public void setPagination(final Pagination pagination) {
|
||||
this.pagination = pagination;
|
||||
}
|
||||
|
||||
public void setPasswordField(final PasswordField passwordField) {
|
||||
this.passwordField = passwordField;
|
||||
}
|
||||
|
||||
public void setProgressBar(final ProgressBar progressBar) {
|
||||
this.progressBar = progressBar;
|
||||
}
|
||||
|
||||
public void setProgressIndicator(final ProgressIndicator progressIndicator) {
|
||||
this.progressIndicator = progressIndicator;
|
||||
}
|
||||
|
||||
public void setRadioButton(final RadioButton radioButton) {
|
||||
this.radioButton = radioButton;
|
||||
}
|
||||
|
||||
public void setScrollBarH(final ScrollBar scrollBarH) {
|
||||
this.scrollBarH = scrollBarH;
|
||||
}
|
||||
|
||||
public void setScrollBarV(final ScrollBar scrollBarV) {
|
||||
this.scrollBarV = scrollBarV;
|
||||
}
|
||||
|
||||
public void setSeparatorH(final Separator separatorH) {
|
||||
this.separatorH = separatorH;
|
||||
}
|
||||
|
||||
public void setSeparatorV(final Separator separatorV) {
|
||||
this.separatorV = separatorV;
|
||||
}
|
||||
|
||||
public void setSliderH(final Slider sliderH) {
|
||||
this.sliderH = sliderH;
|
||||
}
|
||||
|
||||
public void setSliderV(final Slider sliderV) {
|
||||
this.sliderV = sliderV;
|
||||
}
|
||||
|
||||
public void setSpinner(final Spinner<Double> spinner) {
|
||||
this.spinner = spinner;
|
||||
}
|
||||
|
||||
public void setSplitMenuButton(final SplitMenuButton splitMenuButton) {
|
||||
this.splitMenuButton = splitMenuButton;
|
||||
}
|
||||
|
||||
public void setTableView(final TableView<TextArea> tableView) {
|
||||
this.tableView = tableView;
|
||||
}
|
||||
|
||||
public void setTextArea(final TextArea textArea) {
|
||||
this.textArea = textArea;
|
||||
}
|
||||
|
||||
public void setTextField(final TextField textField) {
|
||||
this.textField = textField;
|
||||
}
|
||||
|
||||
public void setTreeTableView(final TreeTableView<TreeItem<String>> treeTableView) {
|
||||
this.treeTableView = treeTableView;
|
||||
}
|
||||
|
||||
public void setTreeView(final TreeView<String> treeView) {
|
||||
this.treeView = treeView;
|
||||
}
|
||||
|
||||
public void setTreeTableColumn1(final TreeTableColumn<TreeItem<String>, String> treeTableColumn1) {
|
||||
this.treeTableColumn1 = treeTableColumn1;
|
||||
}
|
||||
|
||||
public void setTreeTableColumn2(final TreeTableColumn<TreeItem<String>, Integer> treeTableColumn2) {
|
||||
this.treeTableColumn2 = treeTableColumn2;
|
||||
}
|
||||
|
||||
public void setTableColumn1(final TableColumn<TextArea, Float> tableColumn1) {
|
||||
this.tableColumn1 = tableColumn1;
|
||||
}
|
||||
|
||||
public void setTableColumn2(final TableColumn<TextArea, String> tableColumn2) {
|
||||
this.tableColumn2 = tableColumn2;
|
||||
}
|
||||
|
||||
public void setWebView(final WebView webView) {
|
||||
this.webView = webView;
|
||||
}
|
||||
|
||||
public void setItem1(final MenuItem item1) {
|
||||
this.item1 = item1;
|
||||
}
|
||||
|
||||
public void setItem2(final MenuItem item2) {
|
||||
this.item2 = item2;
|
||||
}
|
||||
|
||||
public void setMenu1(final Menu menu1) {
|
||||
this.menu1 = menu1;
|
||||
}
|
||||
|
||||
public void setMenuItem1(final MenuItem menuItem1) {
|
||||
this.menuItem1 = menuItem1;
|
||||
}
|
||||
|
||||
public void setColor(final Color color) {
|
||||
this.color = color;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
package com.github.gtache.fxml.compiler.parsing.listener;
|
||||
|
||||
import javafx.event.ActionEvent;
|
||||
import javafx.fxml.FXML;
|
||||
import javafx.scene.Group;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.ColumnConstraints;
|
||||
import javafx.scene.layout.FlowPane;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.HBox;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.layout.StackPane;
|
||||
import javafx.scene.layout.TilePane;
|
||||
import javafx.scene.layout.VBox;
|
||||
import javafx.scene.text.TextFlow;
|
||||
|
||||
public class IncludesController {
|
||||
@FXML
|
||||
StackPane stackPane;
|
||||
@FXML
|
||||
Slider volumeSlider;
|
||||
@FXML
|
||||
Label volumeValueLabel;
|
||||
@FXML
|
||||
Button playButton;
|
||||
@FXML
|
||||
Label playLabel;
|
||||
@FXML
|
||||
Slider playSlider;
|
||||
|
||||
@FXML
|
||||
ControlsController controlsController;
|
||||
@FXML
|
||||
VBox vbox;
|
||||
@FXML
|
||||
ToolBar toolBar;
|
||||
@FXML
|
||||
TitledPane titledPane;
|
||||
@FXML
|
||||
TilePane tilePane;
|
||||
@FXML
|
||||
TextFlow textFlow;
|
||||
@FXML
|
||||
TabPane tabPane;
|
||||
@FXML
|
||||
Tab tab;
|
||||
@FXML
|
||||
SplitPane splitPane;
|
||||
@FXML
|
||||
ScrollPane scrollPane;
|
||||
@FXML
|
||||
Pane pane;
|
||||
@FXML
|
||||
HBox hbox;
|
||||
@FXML
|
||||
Group group;
|
||||
@FXML
|
||||
GridPane gridPane;
|
||||
@FXML
|
||||
ColumnConstraints columnConstraints;
|
||||
@FXML
|
||||
FlowPane flowPane;
|
||||
@FXML
|
||||
DialogPane dialogPane;
|
||||
@FXML
|
||||
ButtonBar buttonBar;
|
||||
@FXML
|
||||
AnchorPane anchorPane;
|
||||
|
||||
@FXML
|
||||
void initialize() {
|
||||
|
||||
}
|
||||
|
||||
@FXML
|
||||
void playPressed(final ActionEvent actionEvent) {
|
||||
}
|
||||
|
||||
public void setStackPane(final StackPane stackPane) {
|
||||
this.stackPane = stackPane;
|
||||
}
|
||||
|
||||
public void setVolumeSlider(final Slider volumeSlider) {
|
||||
this.volumeSlider = volumeSlider;
|
||||
}
|
||||
|
||||
public void setVolumeValueLabel(final Label volumeValueLabel) {
|
||||
this.volumeValueLabel = volumeValueLabel;
|
||||
}
|
||||
|
||||
public void setPlayButton(final Button playButton) {
|
||||
this.playButton = playButton;
|
||||
}
|
||||
|
||||
public void setPlayLabel(final Label playLabel) {
|
||||
this.playLabel = playLabel;
|
||||
}
|
||||
|
||||
public void setPlaySlider(final Slider playSlider) {
|
||||
this.playSlider = playSlider;
|
||||
}
|
||||
|
||||
public void setIncludeController(final ControlsController controlsController) {
|
||||
this.controlsController = controlsController;
|
||||
}
|
||||
|
||||
public void setVbox(final VBox vbox) {
|
||||
this.vbox = vbox;
|
||||
}
|
||||
|
||||
public void setToolBar(final ToolBar toolBar) {
|
||||
this.toolBar = toolBar;
|
||||
}
|
||||
|
||||
public void setTitledPane(final TitledPane titledPane) {
|
||||
this.titledPane = titledPane;
|
||||
}
|
||||
|
||||
public void setTilePane(final TilePane tilePane) {
|
||||
this.tilePane = tilePane;
|
||||
}
|
||||
|
||||
public void setTextFlow(final TextFlow textFlow) {
|
||||
this.textFlow = textFlow;
|
||||
}
|
||||
|
||||
public void setTabPane(final TabPane tabPane) {
|
||||
this.tabPane = tabPane;
|
||||
}
|
||||
|
||||
public void setTab(final Tab tab) {
|
||||
this.tab = tab;
|
||||
}
|
||||
|
||||
public void setSplitPane(final SplitPane splitPane) {
|
||||
this.splitPane = splitPane;
|
||||
}
|
||||
|
||||
public void setScrollPane(final ScrollPane scrollPane) {
|
||||
this.scrollPane = scrollPane;
|
||||
}
|
||||
|
||||
public void setPane(final Pane pane) {
|
||||
this.pane = pane;
|
||||
}
|
||||
|
||||
public void setHbox(final HBox hbox) {
|
||||
this.hbox = hbox;
|
||||
}
|
||||
|
||||
public void setGroup(final Group group) {
|
||||
this.group = group;
|
||||
}
|
||||
|
||||
public void setGridPane(final GridPane gridPane) {
|
||||
this.gridPane = gridPane;
|
||||
}
|
||||
|
||||
public void setColumnConstraints(final ColumnConstraints columnConstraints) {
|
||||
this.columnConstraints = columnConstraints;
|
||||
}
|
||||
|
||||
public void setFlowPane(final FlowPane flowPane) {
|
||||
this.flowPane = flowPane;
|
||||
}
|
||||
|
||||
public void setDialogPane(final DialogPane dialogPane) {
|
||||
this.dialogPane = dialogPane;
|
||||
}
|
||||
|
||||
public void setButtonBar(final ButtonBar buttonBar) {
|
||||
this.buttonBar = buttonBar;
|
||||
}
|
||||
|
||||
public void setAnchorPane(final AnchorPane anchorPane) {
|
||||
this.anchorPane = anchorPane;
|
||||
}
|
||||
}
|
||||
@@ -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();
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/ControlsBundle.properties
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/IncludesBundle.properties
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/controlsView.fxml
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/includesView.fxml
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../../../../core/src/test/resources/com/github/gtache/fxml/compiler/impl/style.css
|
||||
@@ -0,0 +1 @@
|
||||
include.label=Label
|
||||
@@ -0,0 +1 @@
|
||||
media.volume.label=Volume
|
||||
@@ -0,0 +1,189 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.geometry.Point3D?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.Cursor?>
|
||||
<?import javafx.scene.effect.Bloom?>
|
||||
<?import javafx.scene.image.ImageView?>
|
||||
<?import javafx.scene.layout.*?>
|
||||
<?import javafx.scene.media.MediaView?>
|
||||
<?import javafx.scene.paint.Color?>
|
||||
<?import javafx.scene.web.HTMLEditor?>
|
||||
<?import javafx.scene.web.WebView?>
|
||||
<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.parsing.listener.ControlsController">
|
||||
<rowConstraints>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
<RowConstraints/>
|
||||
</rowConstraints>
|
||||
<columnConstraints>
|
||||
<ColumnConstraints/>
|
||||
<ColumnConstraints/>
|
||||
<ColumnConstraints minWidth="10.0" prefWidth="100.0"/>
|
||||
</columnConstraints>
|
||||
<children>
|
||||
<Button fx:id="button" mnemonicParsing="false" text="Button"/>
|
||||
<CheckBox fx:id="checkBox" indeterminate="true" mnemonicParsing="false" text="CheckBox"
|
||||
GridPane.columnIndex="1"/>
|
||||
<ChoiceBox fx:id="choiceBox" cacheShape="false" centerShape="false" disable="true" focusTraversable="false"
|
||||
prefWidth="150.0"
|
||||
scaleShape="false" visible="false" GridPane.rowIndex="1"/>
|
||||
<ColorPicker fx:id="colorPicker" nodeOrientation="LEFT_TO_RIGHT" opacity="0.5" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="1">
|
||||
<value>
|
||||
<Color fx:id="color" red="0.7894737124443054" green="0.08771929889917374" blue="0.08771929889917374"/>
|
||||
</value>
|
||||
<opaqueInsets>
|
||||
<Insets bottom="3.0" left="2.0" right="4.0" top="5.0"/>
|
||||
</opaqueInsets>
|
||||
</ColorPicker>
|
||||
<ComboBox fx:id="comboBox" editable="true" prefWidth="150.0" promptText="Text" visibleRowCount="5"
|
||||
GridPane.rowIndex="2">
|
||||
<cursor>
|
||||
<Cursor fx:constant="CLOSED_HAND"/>
|
||||
</cursor>
|
||||
<effect>
|
||||
<Bloom/>
|
||||
</effect>
|
||||
</ComboBox>
|
||||
<DatePicker fx:id="datePicker" showWeekNumbers="true" style="-fx-background-color: #ffffff;"
|
||||
GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="2"/>
|
||||
<HTMLEditor fx:id="htmlEditor"
|
||||
htmlText="<html><head></head><body contenteditable="true"></body></html>"
|
||||
prefHeight="200.0" prefWidth="506.0" styleClass="clazz" stylesheets="@style.css"
|
||||
GridPane.rowIndex="3"/>
|
||||
<Hyperlink fx:id="hyperlink" text="Hyperlink" GridPane.columnIndex="1" GridPane.rowIndex="3"/>
|
||||
<ImageView fx:id="imageView" fitHeight="150.0" fitWidth="200.0" pickOnBounds="true" preserveRatio="true"
|
||||
GridPane.rowIndex="4"/>
|
||||
<Label fx:id="label" accessibleHelp="TTTTT" accessibleText="TTT" blendMode="ADD" cache="true"
|
||||
cacheHint="QUALITY"
|
||||
depthTest="ENABLE" mnemonicParsing="true" mouseTransparent="true" text="%include.label"
|
||||
GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="4"/>
|
||||
<ListView fx:id="listView" fixedCellSize="20.0" nodeOrientation="RIGHT_TO_LEFT" orientation="HORIZONTAL"
|
||||
prefHeight="200.0"
|
||||
prefWidth="200.0" GridPane.rowIndex="5"/>
|
||||
<MediaView fx:id="mediaView" fitHeight="200.0" fitWidth="200.0" GridPane.columnIndex="1" GridPane.columnSpan="2"
|
||||
GridPane.rowIndex="5" GridPane.rowSpan="2"/>
|
||||
<MenuBar fx:id="menuBar" GridPane.halignment="RIGHT" GridPane.hgrow="ALWAYS" GridPane.rowIndex="7"
|
||||
GridPane.valignment="BASELINE" GridPane.vgrow="SOMETIMES">
|
||||
<menus>
|
||||
<Menu fx:id="menu1" mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem fx:id="menuItem1" mnemonicParsing="false" text="Close"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Edit">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Delete"/>
|
||||
</items>
|
||||
</Menu>
|
||||
<Menu mnemonicParsing="false" text="Help">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="About"/>
|
||||
</items>
|
||||
</Menu>
|
||||
</menus>
|
||||
</MenuBar>
|
||||
<MenuButton fx:id="menuButton" mnemonicParsing="false" text="MenuButton" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="7">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="Action 1"/>
|
||||
<MenuItem mnemonicParsing="false" text="Action 2"/>
|
||||
</items>
|
||||
<GridPane.margin>
|
||||
<Insets bottom="3.0" left="2.0" right="4.0" top="5.0"/>
|
||||
</GridPane.margin>
|
||||
</MenuButton>
|
||||
<Pagination fx:id="pagination" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="8">
|
||||
<padding>
|
||||
<Insets bottom="3.0" left="2.0" right="4.0" top="5.0"/>
|
||||
</padding>
|
||||
</Pagination>
|
||||
<PasswordField fx:id="passwordField" maxHeight="6.0" maxWidth="5.0" minHeight="2.0" minWidth="1.0"
|
||||
prefColumnCount="7"
|
||||
prefHeight="4.0" prefWidth="3.0" GridPane.columnIndex="1" GridPane.rowIndex="8"/>
|
||||
<ProgressBar fx:id="progressBar" layoutX="10.0" layoutY="20.0" prefWidth="200.0" progress="0.0"
|
||||
GridPane.rowIndex="9"/>
|
||||
<ProgressIndicator fx:id="progressIndicator" progress="0.0" rotate="2.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="9">
|
||||
<rotationAxis>
|
||||
<Point3D x="4.0" y="5.0" z="6.0"/>
|
||||
</rotationAxis>
|
||||
</ProgressIndicator>
|
||||
<RadioButton fx:id="radioButton" mnemonicParsing="false" scaleX="7.0" scaleY="2.0" scaleZ="3.0"
|
||||
text="RadioButton" translateX="4.0"
|
||||
translateY="5.0" translateZ="6.0" GridPane.rowIndex="10"/>
|
||||
<ScrollBar fx:id="scrollBarH" GridPane.columnIndex="1" GridPane.rowIndex="10"/>
|
||||
<ScrollBar fx:id="scrollBarV" orientation="VERTICAL" GridPane.rowIndex="11"/>
|
||||
<Separator fx:id="separatorH" onDragDetected="#dragDetected" onDragDone="#dragDone" onDragDropped="#dragDropped"
|
||||
onDragEntered="#dragEntered" onDragExited="#dragExited" onDragOver="#dragOver"
|
||||
onMouseDragEntered="#mouseDragEntered" onMouseDragExited="#mouseDragExited"
|
||||
onMouseDragOver="#mouseDragOver" onMouseDragReleased="#mouseDragReleased" prefWidth="200.0"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="11"/>
|
||||
<Separator fx:id="separatorV" orientation="VERTICAL" prefHeight="200.0" GridPane.rowIndex="12"/>
|
||||
<Slider fx:id="sliderH" onContextMenuRequested="#contextMenuRequested" onMouseClicked="#mouseClicked"
|
||||
onMouseDragged="#mouseDragged" onMouseEntered="#mouseEntered" onMouseExited="#mouseExited"
|
||||
onMouseMoved="#mouseMoved" onMousePressed="#mousePressed" onMouseReleased="#mouseReleased"
|
||||
onScroll="#onScroll" onScrollFinished="#onScrollFinished" onScrollStarted="#onScrollStarted"
|
||||
GridPane.columnIndex="1" GridPane.rowIndex="12"/>
|
||||
<Slider fx:id="sliderV" onZoom="#onZoom" onZoomFinished="#onZoomFinished" onZoomStarted="#onZoomStarted"
|
||||
orientation="VERTICAL"
|
||||
GridPane.rowIndex="13"/>
|
||||
<Spinner fx:id="spinner" GridPane.columnIndex="1" GridPane.rowIndex="13"/>
|
||||
<SplitMenuButton fx:id="splitMenuButton" mnemonicParsing="false" text="SplitMenuButton" GridPane.rowIndex="14">
|
||||
<items>
|
||||
<MenuItem fx:id="item1" mnemonicParsing="false" text="Action 1"/>
|
||||
<MenuItem fx:id="item2" mnemonicParsing="false" text="Action 2"/>
|
||||
</items>
|
||||
</SplitMenuButton>
|
||||
<TableView fx:id="tableView" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="14">
|
||||
<columns>
|
||||
<TableColumn fx:id="tableColumn1" prefWidth="75.0" text="C1"/>
|
||||
<TableColumn fx:id="tableColumn2" prefWidth="75.0" text="C2"/>
|
||||
</columns>
|
||||
</TableView>
|
||||
<TextArea fx:id="textArea" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="15"/>
|
||||
<TextField fx:id="textField" GridPane.columnIndex="1" GridPane.rowIndex="15"/>
|
||||
<ToggleButton mnemonicParsing="false" onAction="#onAction" onRotate="#onRotate"
|
||||
onRotationFinished="#onRotationFinished" onRotationStarted="#onRotationStarted"
|
||||
text="ToggleButton" GridPane.rowIndex="16"/>
|
||||
<TreeTableView fx:id="treeTableView" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="16">
|
||||
<columns>
|
||||
<TreeTableColumn fx:id="treeTableColumn1" onEditCancel="#onEditCancel" onEditCommit="#onEditCommit"
|
||||
onEditStart="#onEditStart"
|
||||
prefWidth="75.0" text="C1"/>
|
||||
<TreeTableColumn fx:id="treeTableColumn2" prefWidth="75.0" sortType="DESCENDING" text="C2"/>
|
||||
</columns>
|
||||
</TreeTableView>
|
||||
<TreeView fx:id="treeView" onSwipeDown="#onSwipeDown" onSwipeLeft="#onSwipeLeft" onSwipeRight="#onSwipeRight"
|
||||
onSwipeUp="#onSwipeUp" prefHeight="200.0" prefWidth="200.0" GridPane.rowIndex="17"/>
|
||||
<WebView fx:id="webView" onTouchMoved="#onTouchMoved" onTouchPressed="#onTouchPressed"
|
||||
onTouchReleased="#onTouchReleased"
|
||||
onTouchStationary="#onTouchStationary" prefHeight="200.0" prefWidth="200.0" GridPane.columnIndex="1"
|
||||
GridPane.rowIndex="17"/>
|
||||
</children>
|
||||
</GridPane>
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -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 {
|
||||
@@ -0,0 +1,141 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<?import javafx.geometry.Insets?>
|
||||
<?import javafx.scene.control.*?>
|
||||
<?import javafx.scene.Group?>
|
||||
<?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.parsing.listener.IncludesController">
|
||||
<bottom>
|
||||
<VBox BorderPane.alignment="CENTER">
|
||||
<children>
|
||||
<HBox alignment="CENTER" spacing="10.0">
|
||||
<children>
|
||||
<Slider fx:id="playSlider" HBox.hgrow="ALWAYS">
|
||||
<padding>
|
||||
<Insets left="10.0"/>
|
||||
</padding>
|
||||
</Slider>
|
||||
<Label fx:id="playLabel" text="Label">
|
||||
<padding>
|
||||
<Insets right="10.0"/>
|
||||
</padding>
|
||||
</Label>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
<HBox alignment="CENTER" spacing="10.0">
|
||||
<children>
|
||||
<Button fx:id="playButton" mnemonicParsing="false" onAction="#playPressed">
|
||||
<HBox.margin>
|
||||
<Insets right="20.0"/>
|
||||
</HBox.margin>
|
||||
</Button>
|
||||
<Label text="%media.volume.label"/>
|
||||
<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/parsing/listener/ControlsBundle"/>
|
||||
</children>
|
||||
<padding>
|
||||
<Insets bottom="10.0" left="10.0" right="10.0" top="10.0"/>
|
||||
</padding>
|
||||
</HBox>
|
||||
</children>
|
||||
</VBox>
|
||||
</bottom>
|
||||
<center>
|
||||
<VBox fx:id="vbox">
|
||||
<children>
|
||||
<ToolBar fx:id="toolBar">
|
||||
<items>
|
||||
<TitledPane fx:id="titledPane">
|
||||
<content>
|
||||
<TilePane fx:id="tilePane">
|
||||
<children>
|
||||
<TextFlow fx:id="textFlow">
|
||||
<children>
|
||||
<TabPane fx:id="tabPane">
|
||||
<tabs>
|
||||
<Tab fx:id="tab">
|
||||
<content>
|
||||
<StackPane fx:id="stackPane">
|
||||
<children>
|
||||
<SplitPane fx:id="splitPane">
|
||||
<items>
|
||||
<ScrollPane fx:id="scrollPane">
|
||||
<content>
|
||||
<Pane fx:id="pane">
|
||||
<children>
|
||||
<HBox fx:id="hbox">
|
||||
<children>
|
||||
<Group fx:id="group">
|
||||
<children>
|
||||
<GridPane
|
||||
fx:id="gridPane">
|
||||
<columnConstraints>
|
||||
<ColumnConstraints
|
||||
fx:id="columnConstraints"
|
||||
hgrow="SOMETIMES"
|
||||
minWidth="10.0"/>
|
||||
</columnConstraints>
|
||||
<rowConstraints>
|
||||
<RowConstraints
|
||||
minHeight="10.0"
|
||||
vgrow="SOMETIMES"/>
|
||||
</rowConstraints>
|
||||
<children>
|
||||
<FlowPane
|
||||
fx:id="flowPane">
|
||||
<children>
|
||||
<DialogPane
|
||||
fx:id="dialogPane">
|
||||
<content>
|
||||
<ButtonBar
|
||||
fx:id="buttonBar">
|
||||
<buttons>
|
||||
<AnchorPane
|
||||
fx:id="anchorPane">
|
||||
<children>
|
||||
<Label managed="false"/>
|
||||
</children>
|
||||
</AnchorPane>
|
||||
</buttons>
|
||||
</ButtonBar>
|
||||
</content>
|
||||
</DialogPane>
|
||||
</children>
|
||||
</FlowPane>
|
||||
</children>
|
||||
</GridPane>
|
||||
</children>
|
||||
</Group>
|
||||
</children>
|
||||
</HBox>
|
||||
</children>
|
||||
</Pane>
|
||||
</content>
|
||||
</ScrollPane>
|
||||
</items>
|
||||
</SplitPane>
|
||||
</children>
|
||||
</StackPane>
|
||||
</content>
|
||||
</Tab>
|
||||
</tabs>
|
||||
</TabPane>
|
||||
</children>
|
||||
</TextFlow>
|
||||
</children>
|
||||
</TilePane>
|
||||
</content>
|
||||
</TitledPane>
|
||||
</items>
|
||||
</ToolBar>
|
||||
</children>
|
||||
</VBox>
|
||||
</center>
|
||||
</BorderPane>
|
||||
@@ -0,0 +1,3 @@
|
||||
.clazz {
|
||||
-fx-font-weight: bold;
|
||||
}
|
||||
Reference in New Issue
Block a user