fi.helsinki.dacopan.scenario
Interface Saveable

All Known Implementing Classes:
AnimationSequence, GeneralSettings, GlobalSettingsMSC, NoteManager

public interface Saveable

Any object that wishes to save its state to the scenario file should implement this interface.

Version:
$Id: Saveable.java,v 1.2 2004/05/04 14:30:16 aarniala-dacopan Exp $

Method Summary
 java.lang.Object getData()
          Returns the data that should be saved in the scenario file.
 void setData(java.lang.Object o)
          Sets the data loaded from the scenario file.
 

Method Detail

getData

java.lang.Object getData()
Returns the data that should be saved in the scenario file.

Returns:
arbitrary data (might be null)

setData

void setData(java.lang.Object o)
Sets the data loaded from the scenario file.

Parameters:
o - loaded object


© Dacopan2 team, 2005-