artisynth.core.modelbase
Class ReferenceList
java.lang.Object
artisynth.core.modelbase.ModelComponentBase
artisynth.core.modelbase.ComponentList<ReferenceComponent>
artisynth.core.modelbase.ReferenceList
- All Implemented Interfaces:
- ComponentChangeListener, ComponentListView<ReferenceComponent>, CompositeComponent, IndexedComponentList, ModelComponent, MutableCompositeComponent<ReferenceComponent>, ParameterizedClass, java.lang.Cloneable, java.lang.Iterable<ReferenceComponent>, java.util.Collection<ReferenceComponent>, HasProperties, HierarchyNode, ListView<ReferenceComponent>, Scannable
public class ReferenceList
- extends ComponentList<ReferenceComponent>
Methods inherited from class artisynth.core.modelbase.ComponentList |
add, add, addAll, addComponents, addFixed, addNumbered, clear, clone, componentChanged, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getShortName, getTypeParameter, hasChildren, hierarchyContainsReferences, indexOf, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, retainAll, scan, setNavpanelDisplay, setNumberingStartAtOne, setShortName, size, toArray, toArray, updateNameMap |
Methods inherited from class artisynth.core.modelbase.ModelComponentBase |
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasState, isFixed, isMarked, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setSelected, updateReferences, write |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface artisynth.core.modelbase.ModelComponent |
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, updateReferences |
Methods inherited from interface java.util.Collection |
equals, hashCode |
myProps
public static PropertyList myProps
ReferenceList
public ReferenceList()
ReferenceList
public ReferenceList(java.lang.String name)
getAllPropertyInfo
public PropertyList getAllPropertyInfo()
- Description copied from interface:
HasProperties
- Returns a list giving static information about all properties exported by
this object.
- Specified by:
getAllPropertyInfo
in interface HasProperties
- Overrides:
getAllPropertyInfo
in class ComponentList<ReferenceComponent>
- Returns:
- static information for all exported properties
hasParameterizedType
public boolean hasParameterizedType()
- Description copied from interface:
ParameterizedClass
- Returns true if this class explicitly utilizes a parameterized type.
- Specified by:
hasParameterizedType
in interface ParameterizedClass
- Overrides:
hasParameterizedType
in class ComponentList<ReferenceComponent>
addReference
public void addReference(ModelComponent ref)
addReferences
public void addReferences(java.util.Collection<ModelComponent> refs)
getReference
public ModelComponent getReference(int idx)
containsReference
public boolean containsReference(ModelComponent ref)
indexOfReference
public int indexOfReference(ModelComponent ref)
getReferences
public void getReferences(java.util.Collection<ModelComponent> col)
removeReference
public boolean removeReference(ModelComponent ref)
removeReferences
public boolean removeReferences(java.util.Collection<ModelComponent> refs)