package com.ecep.contract.manager.ui; import com.ecep.contract.manager.ds.other.model.IdentityEntity; import com.ecep.contract.manager.ds.other.vo.IdentityViewModel; import javafx.fxml.FXML; import javafx.scene.control.Button; import javafx.scene.control.Label; import javafx.scene.control.TextField; import javafx.scene.layout.HBox; import javafx.stage.WindowEvent; public abstract class AbstManagerWindowController, Skin extends ManagerSkin> extends AbstEntityBasedController { // searcher @FXML public TextField searchKeyField; @FXML public Button searchBtn; @FXML public HBox footer; // paging @FXML public Button previousPageBtn; @FXML public Button nextPageBtn; @FXML public TextField currentPageNumberField; @Override public void onShown(WindowEvent windowEvent) { // fixed fx:include uninitialized issue previousPageBtn = (Button) footer.lookup("#previousPageBtn"); nextPageBtn = (Button) footer.lookup("#nextPageBtn"); currentPageNumberField = (TextField) footer.lookup("#currentPageNumberField"); leftStatusLabel = (Label) footer.lookup("#leftStatusLabel"); // super.onShown(windowEvent); } }