net.sourceforge.geeboss.model.patch
Class PatchChain

java.lang.Object
  extended by net.sourceforge.geeboss.model.midi.memory.MemoryComponent
      extended by net.sourceforge.geeboss.model.midi.memory.MemoryObject
          extended by net.sourceforge.geeboss.model.patch.PatchChain
All Implemented Interfaces:
Referencing, Sysexable
Direct Known Subclasses:
Gt8PatchChain

public abstract class PatchChain
extends MemoryObject

A PatchChain in geeboos

Author:
Frederic BORRY

Field Summary
 
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryObject
mMemoryMap
 
Fields inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent
mAbsoluteAddress, mBaseAddress, mName, mParent, mSize
 
Constructor Summary
PatchChain(java.lang.String name, MemoryObject parent, long baseAddress, long size)
          Construc a new PatchChain
 
Method Summary
abstract  MemoryValue.NumberValue[] getChain()
          Returns implementation specific patch chain
abstract  java.util.Map<java.lang.String,java.lang.Integer> getEditorValues()
          Returns implementation specific editor values
 void setChain(java.util.List<Pedal> editors)
          Set the chain order
 
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryObject
addReference, fromSysex, getComponent, handleClassCastException, isValue, setup, toSysex
 
Methods inherited from class net.sourceforge.geeboss.model.midi.memory.MemoryComponent
getAbsoluteAddress, getBaseAddress, getName, getParent, getSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchChain

public PatchChain(java.lang.String name,
                  MemoryObject parent,
                  long baseAddress,
                  long size)
Construc a new PatchChain

Parameters:
parent - the parent memory object
name - the memory object name
baseAddress - the memory object base address
size - the memory object size
Method Detail

getChain

public abstract MemoryValue.NumberValue[] getChain()
Returns implementation specific patch chain

Returns:
implementation specific patch chain

getEditorValues

public abstract java.util.Map<java.lang.String,java.lang.Integer> getEditorValues()
Returns implementation specific editor values

Returns:
implementation specific editor values

setChain

public void setChain(java.util.List<Pedal> editors)
Set the chain order

Parameters:
editors - the list of editors in the new order


Copyright (c) 2005 The Geeboss team (http://geeboss.sourceforge.net). All Rights Reserved.