拆分模块

This commit is contained in:
2025-09-03 20:56:44 +08:00
parent 08cc2c29a5
commit a2f5e4864b
939 changed files with 14227 additions and 9607 deletions

View File

@@ -0,0 +1,44 @@
package com.ecep.contract.controller;
import com.ecep.contract.model.IdentityEntity;
import com.ecep.contract.vm.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<T extends IdentityEntity, TV extends IdentityViewModel<T>, Skin extends ManagerSkin>
extends AbstEntityBasedController<T, TV, Skin> {
// 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);
}
}