artisynth.core.mechmodels
Class ExcitationSourceList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<ExcitationSource>
              extended by artisynth.core.mechmodels.ExcitationSourceList
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable<ExcitationSource>, java.util.Collection<ExcitationSource>, java.util.List<ExcitationSource>, java.util.RandomAccess

public class ExcitationSourceList
extends java.util.ArrayList<ExcitationSource>

See Also:
Serialized Form

Constructor Summary
ExcitationSourceList()
           
 
Method Summary
 void add(ExcitationComponent ex)
           
 void add(ExcitationComponent ex, double gain)
           
 boolean contains(ExcitationComponent ex)
           
 ExcitationSource get(ExcitationComponent ex)
           
 double getGain(ExcitationComponent ex)
           
 void getSoftReferences(java.util.List<ModelComponent> refs)
           
 int indexOf(ExcitationComponent ex)
           
 void postscan(java.util.Deque<ScanToken> tokens, CompositeComponent ancestor)
           
 boolean remove(ExcitationComponent ex)
           
 boolean setGain(ExcitationComponent ex, double gain)
           
 ListRemove<ExcitationSource> updateReferences(ModelComponent host, java.lang.Object undoInfo)
           
 void write(java.io.PrintWriter pw, java.lang.String name, NumberFormat fmt, CompositeComponent ancestor)
           
 
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize
 
Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList
 
Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList
 

Constructor Detail

ExcitationSourceList

public ExcitationSourceList()
Method Detail

add

public void add(ExcitationComponent ex)

add

public void add(ExcitationComponent ex,
                double gain)

indexOf

public int indexOf(ExcitationComponent ex)

remove

public boolean remove(ExcitationComponent ex)

get

public ExcitationSource get(ExcitationComponent ex)

contains

public boolean contains(ExcitationComponent ex)

getGain

public double getGain(ExcitationComponent ex)

setGain

public boolean setGain(ExcitationComponent ex,
                       double gain)

getSoftReferences

public void getSoftReferences(java.util.List<ModelComponent> refs)

write

public void write(java.io.PrintWriter pw,
                  java.lang.String name,
                  NumberFormat fmt,
                  CompositeComponent ancestor)
           throws java.io.IOException
Throws:
java.io.IOException

postscan

public void postscan(java.util.Deque<ScanToken> tokens,
                     CompositeComponent ancestor)
              throws java.io.IOException
Throws:
java.io.IOException

updateReferences

public ListRemove<ExcitationSource> updateReferences(ModelComponent host,
                                                     java.lang.Object undoInfo)