Class JJazzUndoManagerFinder

java.lang.Object
org.jjazz.undomanager.api.JJazzUndoManagerFinder

public class JJazzUndoManagerFinder extends Object
Stores JJazzUndoManager instances, e.g. one per song.
  • Method Details

    • getDefault

      public static JJazzUndoManagerFinder getDefault()
    • put

      public void put(Object key, JJazzUndoManager um)
      Store a JJazzUndoManager and associate it to a specified object key.
      Parameters:
      um -
      key -
    • remove

      public void remove(Object key)
    • get

      public JJazzUndoManager get(Object key)
      Retrieve the JJazzUndoManager associated to key.
      Parameters:
      key -
      Returns:
    • getDefaultUndoManager

      public JJazzUndoManager getDefaultUndoManager()