uk.org.toot.control.automation
Interface SnapshotAutomation

All Known Implementing Classes:
MidiFileSnapshotAutomation

public interface SnapshotAutomation

The contract for snapshot automation of controls. recall() and store() are suitable for user snapshots. It is intended that as well as user snapshots a project will have a default snapshot. configure() is intended for use with this default project snapshot and should be called prior to recall() in this case. configure() should modify the control structure to suit the snapshot.


Method Summary
 void configure(java.lang.String name)
          Modify the controls structure to suit the named snapshot.
 java.lang.String[] list()
          List stored snapshot names.
 void recall(java.lang.String name)
          Recall a controls snapshot.
 void store(java.lang.String name)
          Store a controls snapshot.
 

Method Detail

configure

void configure(java.lang.String name)
Modify the controls structure to suit the named snapshot. Not intended for use by user snapshots, just project snapshots. Intended to be called prior to recall() for project snapshots.


recall

void recall(java.lang.String name)
Recall a controls snapshot. Does not modify the controls structure, use configure() to do that.


store

void store(java.lang.String name)
Store a controls snapshot.


list

java.lang.String[] list()
List stored snapshot names.

Returns:
an array of name Strings


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.