public class SystemManager extends java.lang.Object implements ListManager<Processor>, IOUserInterfaceableObject, Resettable, Memorizable, REpiceaShowableUIWithParent, REpiceaGUIPermissionProvider
| Modifier and Type | Field and Description |
|---|---|
protected SystemManagerDialog |
guiInterface |
| Constructor and Description |
|---|
SystemManager() |
SystemManager(REpiceaGUIPermission permission) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkForEndlessLoops() |
javax.swing.filechooser.FileFilter |
getFileFilter()
This method returns the appropriate FileFilter instance for this class.
|
java.lang.String |
getFilename()
This method returns the filename of the parameters.
|
REpiceaGUIPermission |
getGUIPermission()
This method returns the Permission instance associated with the object.
|
java.util.List<Processor> |
getList()
This method returns the list of UserInterfaceableObject-derived instance
|
MemorizerPackage |
getMemorizerPackage()
This method creates a MemorizerPackage instance that can be sent in turn to the TemporaryMemorizer instance for serialization.
|
java.lang.String |
getName() |
java.util.List<Processor> |
getPrimaryProcessors()
This method returns the list of primary processors, ie.
|
SystemManagerDialog |
getUI(java.awt.Container parent)
This method returns the GUI interface of the class that implements this interface.
|
boolean |
isVisible()
This method returns true if the GUI is visible.
|
void |
load(java.lang.String filename)
This method makes it possible to load information from a file.
|
static void |
main(java.lang.String[] args) |
void |
registerObject(Processor process)
This method add the UserInterfaceableObject-derived instance to the list.
|
void |
removeObject(Processor process)
This method remove the UserInterfaceableObject-derived instance from the list.
|
void |
reset()
This method reinitializes some fields of the instance that implements this interface.
|
void |
save(java.lang.String filename)
This method saves the records in a file denominated by the filename parameter.
|
void |
showUI(java.awt.Window parent)
This method shows the GUI interface of the class that implements this interface.
|
void |
unpackMemorizerPackage(MemorizerPackage wasMemorized)
This method unpacks the MemorizerPackage instance retrieved by the TemporaryMemorizer class.
|
protected transient SystemManagerDialog guiInterface
public SystemManager(REpiceaGUIPermission permission)
public SystemManager()
public java.util.List<Processor> getList()
ListManagergetList in interface ListManager<Processor>public void registerObject(Processor process)
ListManagerregisterObject in interface ListManager<Processor>process - a UserInterfaceableObject-derived instancepublic void removeObject(Processor process)
ListManagerremoveObject in interface ListManager<Processor>process - a UserInterfaceableObject-derived instancepublic SystemManagerDialog getUI(java.awt.Container parent)
REpiceaUIObjectWithParentgetUI in interface REpiceaUIObjectWithParentparent - a parent Container instance (can be null)public void showUI(java.awt.Window parent)
REpiceaShowableUIWithParentshowUI in interface REpiceaShowableUIWithParentparent - the parent Window instance (can be null)public void load(java.lang.String filename)
throws java.io.IOException
Loadablepublic void save(java.lang.String filename)
throws java.io.IOException
Saveablepublic java.util.List<Processor> getPrimaryProcessors()
public javax.swing.filechooser.FileFilter getFileFilter()
IOUserInterfaceableObjectgetFileFilter in interface IOUserInterfaceableObjectpublic java.lang.String getFilename()
IOUserInterfaceableObjectgetFilename in interface IOUserInterfaceableObjectpublic java.lang.String getName()
public void reset()
Resettablereset in interface Resettablepublic REpiceaGUIPermission getGUIPermission()
REpiceaGUIPermissionProvidergetGUIPermission in interface REpiceaGUIPermissionProviderpublic MemorizerPackage getMemorizerPackage()
MemorizablegetMemorizerPackage in interface Memorizablepublic void unpackMemorizerPackage(MemorizerPackage wasMemorized)
MemorizableunpackMemorizerPackage in interface MemorizablewasMemorized - a MemorizerPackage instancepublic boolean isVisible()
REpiceaUIObjectWithParentisVisible in interface REpiceaUIObjectWithParentprotected void checkForEndlessLoops()
public static void main(java.lang.String[] args)