Package esmska
Class Context
- java.lang.Object
-
- esmska.Context
-
public class Context extends java.lang.ObjectMain program context. References to important class instances are accessible here.
-
-
Field Summary
Fields Modifier and Type Field Description static MainFramemainFrameInstance of MainFrame.static PersistenceManagerpersistenceManagerInstance of PersistenceManager.
-
Constructor Summary
Constructors Constructor Description Context()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)static booleaneverythingLoaded()Whether all user data were already loaded.static booleangatewaysLoaded()Whether all gateways were already loaded.static voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)static voidsetEverythingLoaded(boolean everythingLoaded)static voidsetGatewaysLoaded(boolean gatewaysLoaded)
-
-
-
Field Detail
-
persistenceManager
public static PersistenceManager persistenceManager
Instance of PersistenceManager. Never null after main program inicialization.
-
mainFrame
public static MainFrame mainFrame
Instance of MainFrame. Never null after MainFrame inicialization.
-
-
Method Detail
-
addPropertyChangeListener
public static void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
-
removePropertyChangeListener
public static void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
-
gatewaysLoaded
public static boolean gatewaysLoaded()
Whether all gateways were already loaded.
-
setGatewaysLoaded
public static void setGatewaysLoaded(boolean gatewaysLoaded)
-
everythingLoaded
public static boolean everythingLoaded()
Whether all user data were already loaded.
-
setEverythingLoaded
public static void setEverythingLoaded(boolean everythingLoaded)
-
-