|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.apps.optionable.SaveableOptions
SaveableOptions.java This class is used to initilise and save all of the necessary options required. This class is fully synchronized Created: Tue Feb 02 16:40:27 1999
Field Summary |
Fields inherited from interface uk.ac.man.bioinf.apps.systemevents.SystemListener |
NO_VETO, VETO_DUE_TO_ERROR, VETO_DUE_TO_USER_REQUEST |
Constructor Summary | |
SaveableOptions(SystemEventProducer producer,
OptionableExceptionHandler exHandler)
|
Method Summary | |
void |
addOptionable(Optionable optionable)
Add an optionable object. |
protected OptionableExceptionHandler |
getExceptionHandler()
|
abstract InputStream |
getLoadStream()
|
abstract OutputStream |
getSaveStream()
|
protected void |
loadOptions()
|
void |
removeOptionable(Optionable optionable)
Remove the following optionable object from the list |
void |
requestOptionUpdate(Optionable optionable)
Request that the optionable object set the the options of the optionable object via its setOptions method. |
void |
systemEventOccured(SystemEvent event)
This is an event listener for system events. |
int |
systemListenerPriority()
Some events (particularly shut downs) have to happen in a very specific order. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SaveableOptions(SystemEventProducer producer, OptionableExceptionHandler exHandler)
Method Detail |
protected OptionableExceptionHandler getExceptionHandler()
public void systemEventOccured(SystemEvent event)
SystemListener
systemEventOccured
in interface SystemListener
event
- the system event occuringpublic int systemListenerPriority()
SystemListener
systemListenerPriority
in interface SystemListener
public abstract OutputStream getSaveStream() throws IOException
IOException
public abstract InputStream getLoadStream() throws IOException
IOException
protected void loadOptions()
public void addOptionable(Optionable optionable)
OptionHandler
addOptionable
in interface OptionHandler
public void removeOptionable(Optionable optionable)
OptionHandler
removeOptionable
in interface OptionHandler
optionable
- public void requestOptionUpdate(Optionable optionable)
OptionHandler
requestOptionUpdate
in interface OptionHandler
optionable
- the optionable objectOptionable.setOptions(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |