Package uk.ac.starlink.util.gui
Interface StoreSource
-
public interface StoreSource
An interface for component configurations that can be serialised to XML and subsequently stored and restored to a backing store using aStoreControlFrame
.- Version:
- $Id$
- Author:
- Peter W. Draper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getApplicationName()
Return a name for this application.java.lang.String
getStoreName()
Return a name for the configuration store (without any directory information).java.lang.String
getTagName()
Get a name for the top-level element associated with this configuration.void
restoreState(org.w3c.dom.Element rootElement)
Restore a previously saved configuration created by thesaveState(org.w3c.dom.Element)
method.void
saveState(org.w3c.dom.Element rootElement)
Save the configuration with the given Element as the root of the document.
-
-
-
Method Detail
-
saveState
void saveState(org.w3c.dom.Element rootElement)
Save the configuration with the given Element as the root of the document.
-
restoreState
void restoreState(org.w3c.dom.Element rootElement)
Restore a previously saved configuration created by thesaveState(org.w3c.dom.Element)
method.
-
getApplicationName
java.lang.String getApplicationName()
Return a name for this application. This is used to create a directory for the configuration store.
-
getStoreName
java.lang.String getStoreName()
Return a name for the configuration store (without any directory information).
-
getTagName
java.lang.String getTagName()
Get a name for the top-level element associated with this configuration.
-
-