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:
Notmoo-PC\Notmoo 2017-11-04 20:01:23 +01:00
parent eb6f37f9d3
commit 4cc9d53742
18 changed files with 32 additions and 51 deletions

View File

@ -1,22 +1,7 @@
package com.pqt.client;
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.Platform;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
public class Main extends Application{

View File

@ -1,15 +1,15 @@
package com.pqt.client.gui;
import com.pqt.client.gui.main_frame.MainFrame;
import com.pqt.client.gui.main_frame.listeners.IMainFrameModelListener;
import com.pqt.client.gui.frames.main_frame.MainFrame;
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.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.strings.GUIStringTool;
import com.pqt.client.gui.startup_frame.StartupFrame;
import com.pqt.client.gui.startup_frame.listeners.frame.IStartupFrameModelListener;
import com.pqt.client.gui.frames.startup_frame.StartupFrame;
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
import com.pqt.client.module.ClientBackEndModuleManager;
import javafx.application.Platform;
import javafx.stage.Stage;

View File

@ -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.ressources.components.generics.IFXComponent;
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 javafx.scene.layout.Pane;

View File

@ -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.core.entities.user_account.AccountLevel;

View File

@ -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.listeners.IAccountListener;
import com.pqt.core.entities.user_account.Account;
import javax.swing.event.EventListenerList;
import java.util.Arrays;
import java.util.Collection;
class MainFrameModel {

View File

@ -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.others.SideBar;

View File

@ -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;

View File

@ -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.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.network.NetworkService;
import javafx.scene.layout.Pane;

View File

@ -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.startup_frame.listeners.frame.IStartupFrameModelListener;
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
public class StartupFrameController implements IStartupFrameModelListener {

View File

@ -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.startup_frame.listeners.frame.IStartupFrameModelListener;
import com.pqt.client.gui.startup_frame.listeners.frame.SimpleStartupFrameModelEventFirerer;
import com.pqt.client.gui.startup_frame.listeners.procedure.IStartupProcedureListener;
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelEventFirerer;
import com.pqt.client.gui.frames.startup_frame.listeners.frame.IStartupFrameModelListener;
import com.pqt.client.gui.frames.startup_frame.listeners.frame.SimpleStartupFrameModelEventFirerer;
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.IStartupProcedureListener;
import com.pqt.client.module.account.AccountService;
import com.pqt.client.module.network.NetworkService;

View File

@ -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.strings.GUIStringTool;

View File

@ -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.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.IStartupProcedureEventFirerer;
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.IStartupProcedureListener;
import com.pqt.client.gui.frames.startup_frame.listeners.procedure.SimpleStartupProcedureEventFirerer;
import com.pqt.client.module.account.AccountService;
import com.pqt.client.module.account.listeners.AccountListenerAdapter;
import com.pqt.client.module.account.listeners.IAccountListener;

View File

@ -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 {
void fireStartupValidated();

View File

@ -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;

View File

@ -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 java.util.Arrays;

View File

@ -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 {

View File

@ -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;

View File

@ -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 java.util.Arrays;