artisynth.core.mechmodels
Class ExcitationSourceList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<ExcitationSource>
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
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 |
ExcitationSourceList
public ExcitationSourceList()
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)