@Deprecated public abstract class AbstractDesigner<C> extends java.lang.Object implements Workspaceable, Resettable, Parameterizable, Memorizable, java.io.Serializable, IOUserInterfaceableObject
| Constructor and Description |
|---|
AbstractDesigner()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
fireDesignerChangeEvent()
Deprecated.
|
abstract java.util.List<C> |
getContent()
Deprecated.
This method returns a Collection of UserInterfaceableObject instances that are to be set in the different tabs of the dialog.
|
abstract javax.swing.filechooser.FileFilter |
getFileFilter()
Deprecated.
This method returns the appropriate FileFilter instance for this class.
|
java.lang.String |
getFilename()
Deprecated.
This method returns the filename of the parameters.
|
MemorizerPackage |
getMemorizerPackage()
Deprecated.
This method creates a MemorizerPackage instance that can be sent in turn to the TemporaryMemorizer instance for serialization.
|
java.lang.String |
getName()
Deprecated.
This method returns a name that defines the parameters.
|
java.lang.String |
getWorkspace()
Deprecated.
This method returns the workspace directory.
|
abstract boolean |
isValid()
Deprecated.
This method determines whether the designer is valid or not
|
static boolean |
isWorkSpaceChangeableInGUI()
Deprecated.
This method returns true if the set workspace option is enabled or
false otherwise.
|
void |
load(java.lang.String filename)
Deprecated.
This method makes it possible to load information from a file.
|
protected void |
loadFrom(AbstractDesigner<C> designer)
Deprecated.
|
void |
loadFromFile(java.lang.String filename)
Deprecated.
This method reads the parameters of the instance in a file.
|
abstract void |
reset()
Deprecated.
This method reinitializes some fields of the instance that implements this interface.
|
void |
save(java.lang.String filename)
Deprecated.
This method saves the records in a file denominated by the filename parameter.
|
void |
setName(java.lang.String managerName)
Deprecated.
This method sets the name of the designer.
|
void |
setWorkspace(java.lang.String workspace)
Deprecated.
This method sets the workspace
|
static void |
setWorkSpaceChangeableInGUI(boolean b)
Deprecated.
This method enables or disables the set workspace option in the
UI of the designer.
|
void |
unpackMemorizerPackage(MemorizerPackage wasMemorized)
Deprecated.
This method unpacks the MemorizerPackage instance retrieved by the TemporaryMemorizer class.
|
public java.lang.String getWorkspace()
WorkspaceablegetWorkspace in interface Workspaceablepublic void setWorkspace(java.lang.String workspace)
WorkspaceablesetWorkspace in interface Workspaceableworkspace - a String instancepublic java.lang.String getFilename()
ParameterizablegetFilename in interface IOUserInterfaceableObjectgetFilename in interface Parameterizablepublic abstract javax.swing.filechooser.FileFilter getFileFilter()
ParameterizablegetFileFilter in interface IOUserInterfaceableObjectgetFileFilter in interface Parameterizablepublic abstract boolean isValid()
public abstract void reset()
Resettablereset in interface Resettablepublic void setName(java.lang.String managerName)
managerName - a Stringpublic java.lang.String getName()
getName in interface Parameterizablepublic static void setWorkSpaceChangeableInGUI(boolean b)
b - a booleanpublic static boolean isWorkSpaceChangeableInGUI()
public abstract java.util.List<C> getContent()
public void loadFromFile(java.lang.String filename)
throws java.io.IOException
ParameterizableloadFromFile in interface Parameterizablefilename - the path of the filejava.io.IOExceptionpublic MemorizerPackage getMemorizerPackage()
MemorizablegetMemorizerPackage in interface Memorizablepublic void unpackMemorizerPackage(MemorizerPackage wasMemorized)
MemorizableunpackMemorizerPackage in interface MemorizablewasMemorized - a MemorizerPackage instanceprotected void loadFrom(AbstractDesigner<C> designer)
public void load(java.lang.String filename)
throws java.io.IOException
Loadableprotected abstract void fireDesignerChangeEvent()
public void save(java.lang.String filename)
throws java.io.IOException
Saveable