|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IPersistenceAwareWindow
Interface for JInternalWindow's subclasses (like NetworkWindow) which are aware of what file extension is to be used and what extensions should be used for file chooser's filter.
| Method Summary | |
|---|---|
JInternalFrame |
getInternalFrame()
Obtains the internal frame to be created by UnBBayes Swing core when a file listed within #getSupportedFileExtensions()
is opened by the user. |
BaseIO |
getIO()
Returns the I/O class that is responsible to open/save files of a extension declared in #getSupportedFileExtensions() |
Graph |
getPersistingGraph()
Obtains the graph to be persisted or is being edited by this window. |
String |
getSavingMessage()
Obtains a message to be shown to user while saving a net editted by a window implementing this interface. |
String[] |
getSupportedFileExtensions(boolean isLoadOnly)
Deprecated. use BaseIO.getSupportedFileExtensions(boolean) |
String |
getSupportedFilesDescription(boolean isLoadOnly)
Deprecated. use BaseIO.getSupportedFilesDescription(boolean) |
| Method Detail |
|---|
String[] getSupportedFileExtensions(boolean isLoadOnly)
BaseIO.getSupportedFileExtensions(boolean)
isLoadOnly - : if set to true, it should consider file extensions for file loading (input).
If set to false, it should consider both saving and loading. Note
that not every module/plugin can implement both loading and saving, and this parameter may separate such
special behaviors.
getIO()String getSupportedFilesDescription(boolean isLoadOnly)
BaseIO.getSupportedFilesDescription(boolean)
isLoadOnly - : if set to true, it should consider file extensions for file loading (input).
If set to false, it should consider both saving and loading. Note
that not every module/plugin can implement both loading and saving, and this parameter may separate such
special behaviors.getIO()String getSavingMessage()
JInternalFrame getInternalFrame()
#getSupportedFileExtensions()
is opened by the user.
JInternalFrameBaseIO getIO()
#getSupportedFileExtensions()
BaseIO#supportsExtension(String)Graph getPersistingGraph()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||