mirror of
https://github.com/klmp200/PQT_Gestionnaire_vente_stock.git
synced 2024-11-22 16:23:20 +00:00
Module Client : ajout du packg "com.pqt.client.gui.frames" qui contient les clss pour les différentes frames (MainFrame et StartupFrame)
This commit is contained in:
parent
eb6f37f9d3
commit
4cc9d53742
@ -1,22 +1,7 @@
|
|||||||
package com.pqt.client;
|
package com.pqt.client;
|
||||||
|
|
||||||
import com.pqt.client.gui.FrameManager;
|
import com.pqt.client.gui.FrameManager;
|
||||||
import com.pqt.client.gui.main_frame.MainFrame;
|
|
||||||
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
|
|
||||||
import com.pqt.client.gui.modules.account_screen.AccountScreen;
|
|
||||||
import com.pqt.client.gui.modules.sale_screen.SaleScreen;
|
|
||||||
import com.pqt.client.gui.modules.stat_screen.StatScreen;
|
|
||||||
import com.pqt.client.gui.modules.stock_screen.StockScreen;
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.toast.ToastFactory;
|
|
||||||
import com.pqt.client.gui.ressources.css.GUICssTool;
|
|
||||||
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
|
||||||
import com.pqt.client.gui.startup_frame.StartupFrame;
|
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
|
||||||
import com.pqt.client.module.ClientBackEndModuleManager;
|
|
||||||
import javafx.application.Application;
|
import javafx.application.Application;
|
||||||
import javafx.application.Platform;
|
|
||||||
import javafx.scene.Scene;
|
|
||||||
import javafx.scene.layout.Pane;
|
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
|
||||||
public class Main extends Application{
|
public class Main extends Application{
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
package com.pqt.client.gui;
|
package com.pqt.client.gui;
|
||||||
|
|
||||||
import com.pqt.client.gui.main_frame.MainFrame;
|
import com.pqt.client.gui.frames.main_frame.MainFrame;
|
||||||
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
|
import com.pqt.client.gui.frames.main_frame.listeners.IMainFrameModelListener;
|
||||||
import com.pqt.client.gui.modules.account_screen.AccountScreen;
|
import com.pqt.client.gui.modules.account_screen.AccountScreen;
|
||||||
import com.pqt.client.gui.modules.sale_screen.SaleScreen;
|
import com.pqt.client.gui.modules.sale_screen.SaleScreen;
|
||||||
import com.pqt.client.gui.modules.stat_screen.StatScreen;
|
import com.pqt.client.gui.modules.stat_screen.StatScreen;
|
||||||
import com.pqt.client.gui.modules.stock_screen.StockScreen;
|
import com.pqt.client.gui.modules.stock_screen.StockScreen;
|
||||||
import com.pqt.client.gui.ressources.components.generics.toast.ToastFactory;
|
import com.pqt.client.gui.ressources.components.generics.toast.ToastFactory;
|
||||||
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
||||||
import com.pqt.client.gui.startup_frame.StartupFrame;
|
import com.pqt.client.gui.frames.startup_frame.StartupFrame;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
|
||||||
import com.pqt.client.module.ClientBackEndModuleManager;
|
import com.pqt.client.module.ClientBackEndModuleManager;
|
||||||
import javafx.application.Platform;
|
import javafx.application.Platform;
|
||||||
import javafx.stage.Stage;
|
import javafx.stage.Stage;
|
||||||
|
@ -1,10 +1,8 @@
|
|||||||
package com.pqt.client.gui.main_frame;
|
package com.pqt.client.gui.frames.main_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
|
import com.pqt.client.gui.frames.main_frame.listeners.IMainFrameModelListener;
|
||||||
import com.pqt.client.gui.modules.IGuiModule;
|
import com.pqt.client.gui.modules.IGuiModule;
|
||||||
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.frames.IFXFrame;
|
import com.pqt.client.gui.ressources.components.generics.frames.IFXFrame;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
|
||||||
import com.pqt.client.module.account.AccountService;
|
import com.pqt.client.module.account.AccountService;
|
||||||
import javafx.scene.layout.Pane;
|
import javafx.scene.layout.Pane;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.pqt.client.gui.main_frame;
|
package com.pqt.client.gui.frames.main_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
|
import com.pqt.client.gui.frames.main_frame.listeners.IMainFrameModelListener;
|
||||||
import com.pqt.client.gui.modules.IGuiModule;
|
import com.pqt.client.gui.modules.IGuiModule;
|
||||||
import com.pqt.core.entities.user_account.AccountLevel;
|
import com.pqt.core.entities.user_account.AccountLevel;
|
||||||
|
|
@ -1,13 +1,12 @@
|
|||||||
package com.pqt.client.gui.main_frame;
|
package com.pqt.client.gui.frames.main_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
|
import com.pqt.client.gui.frames.main_frame.listeners.IMainFrameModelListener;
|
||||||
import com.pqt.client.module.account.AccountService;
|
import com.pqt.client.module.account.AccountService;
|
||||||
import com.pqt.client.module.account.listeners.IAccountListener;
|
import com.pqt.client.module.account.listeners.IAccountListener;
|
||||||
import com.pqt.core.entities.user_account.Account;
|
import com.pqt.core.entities.user_account.Account;
|
||||||
|
|
||||||
import javax.swing.event.EventListenerList;
|
import javax.swing.event.EventListenerList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
import java.util.Collection;
|
|
||||||
|
|
||||||
class MainFrameModel {
|
class MainFrameModel {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.main_frame;
|
package com.pqt.client.gui.frames.main_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
||||||
import com.pqt.client.gui.ressources.components.generics.others.SideBar;
|
import com.pqt.client.gui.ressources.components.generics.others.SideBar;
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.main_frame.listeners;
|
package com.pqt.client.gui.frames.main_frame.listeners;
|
||||||
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
@ -1,8 +1,7 @@
|
|||||||
package com.pqt.client.gui.startup_frame;
|
package com.pqt.client.gui.frames.startup_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.frames.IFXFrame;
|
import com.pqt.client.gui.ressources.components.generics.frames.IFXFrame;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
|
||||||
import com.pqt.client.module.account.AccountService;
|
import com.pqt.client.module.account.AccountService;
|
||||||
import com.pqt.client.module.network.NetworkService;
|
import com.pqt.client.module.network.NetworkService;
|
||||||
import javafx.scene.layout.Pane;
|
import javafx.scene.layout.Pane;
|
@ -1,7 +1,7 @@
|
|||||||
package com.pqt.client.gui.startup_frame;
|
package com.pqt.client.gui.frames.startup_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
|
||||||
|
|
||||||
public class StartupFrameController implements IStartupFrameModelListener {
|
public class StartupFrameController implements IStartupFrameModelListener {
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
package com.pqt.client.gui.startup_frame;
|
package com.pqt.client.gui.frames.startup_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelEventFirerer;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelEventFirerer;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.frame.SimpleStartupFrameModelEventFirerer;
|
import com.pqt.client.gui.frames.startup_frame.listeners.frame.SimpleStartupFrameModelEventFirerer;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.procedure.IStartupProcedureListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.IStartupProcedureListener;
|
||||||
import com.pqt.client.module.account.AccountService;
|
import com.pqt.client.module.account.AccountService;
|
||||||
import com.pqt.client.module.network.NetworkService;
|
import com.pqt.client.module.network.NetworkService;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame;
|
package com.pqt.client.gui.frames.startup_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
import com.pqt.client.gui.ressources.components.generics.IFXComponent;
|
||||||
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
import com.pqt.client.gui.ressources.strings.GUIStringTool;
|
@ -1,8 +1,8 @@
|
|||||||
package com.pqt.client.gui.startup_frame;
|
package com.pqt.client.gui.frames.startup_frame;
|
||||||
|
|
||||||
import com.pqt.client.gui.startup_frame.listeners.procedure.IStartupProcedureEventFirerer;
|
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.IStartupProcedureEventFirerer;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.procedure.IStartupProcedureListener;
|
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.IStartupProcedureListener;
|
||||||
import com.pqt.client.gui.startup_frame.listeners.procedure.SimpleStartupProcedureEventFirerer;
|
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.SimpleStartupProcedureEventFirerer;
|
||||||
import com.pqt.client.module.account.AccountService;
|
import com.pqt.client.module.account.AccountService;
|
||||||
import com.pqt.client.module.account.listeners.AccountListenerAdapter;
|
import com.pqt.client.module.account.listeners.AccountListenerAdapter;
|
||||||
import com.pqt.client.module.account.listeners.IAccountListener;
|
import com.pqt.client.module.account.listeners.IAccountListener;
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.frame;
|
package com.pqt.client.gui.frames.startup_frame.listeners.frame;
|
||||||
|
|
||||||
public interface IStartupFrameModelEventFirerer {
|
public interface IStartupFrameModelEventFirerer {
|
||||||
void fireStartupValidated();
|
void fireStartupValidated();
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.frame;
|
package com.pqt.client.gui.frames.startup_frame.listeners.frame;
|
||||||
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.frame;
|
package com.pqt.client.gui.frames.startup_frame.listeners.frame;
|
||||||
|
|
||||||
import javax.swing.event.EventListenerList;
|
import javax.swing.event.EventListenerList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.procedure;
|
package com.pqt.client.gui.frames.startup_frame.listeners.procedure;
|
||||||
|
|
||||||
public interface IStartupProcedureEventFirerer {
|
public interface IStartupProcedureEventFirerer {
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.procedure;
|
package com.pqt.client.gui.frames.startup_frame.listeners.procedure;
|
||||||
|
|
||||||
import java.util.EventListener;
|
import java.util.EventListener;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.pqt.client.gui.startup_frame.listeners.procedure;
|
package com.pqt.client.gui.frames.startup_frame.listeners.procedure;
|
||||||
|
|
||||||
import javax.swing.event.EventListenerList;
|
import javax.swing.event.EventListenerList;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
Loading…
Reference in New Issue
Block a user