stella.parameter
Interface StatePreserving

All Superinterfaces:
ExitCleaning, Initializable, Parameter, Preserving, PropertySupplying
All Known Implementing Classes:
AlarmWatch, CountDownTrigger, CountDownWatch, CountingTrigger, ExposureCount, ExposureTimeLeft, FocusQuality, IntegerId, RollOverWatch, StopWatch, TrackTime, Unique

public interface StatePreserving
extends Parameter, Preserving

A state preserving parameter saves its current state on exit and restores it during init. Normally, this means that it serializes itself to a file, but the concrete mechanism is hidden from the interface definition.


Field Summary
 
Fields inherited from interface util.PropertySupplying
CONFIG, KEY_CLASS
 
Method Summary
 
Methods inherited from interface stella.Parameter
get, getFormatted, getName, getString, set
 
Methods inherited from interface util.PropertySupplying
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties
 
Methods inherited from interface util.Initializable
init
 
Methods inherited from interface util.Preserving
preserve, restore
 
Methods inherited from interface util.ExitCleaning
exit