public class ReferenceListBase<C extends ModelComponent,R extends ReferenceComp<C>> extends ComponentList<R>
CompositeComponent.NavpanelDisplay
ModelComponent.NavpanelVisibility
Modifier and Type | Field and Description |
---|---|
static PropertyList |
myProps |
DEFAULT_NAVPANEL_DISPLAY
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
Constructor and Description |
---|
ReferenceListBase() |
ReferenceListBase(java.lang.Class<R> clazz,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
R |
addReference(C ref) |
void |
addReferences(java.util.Collection<C> refs) |
boolean |
containsReference(C ref) |
PropertyList |
getAllPropertyInfo()
Returns a list giving static information about all properties exported by
this object.
|
C |
getReference(int idx) |
void |
getReferences(java.util.Collection<C> col) |
int |
indexOfReference(C ref) |
boolean |
removeReference(C ref) |
boolean |
removeReferences(java.util.Collection<C> refs) |
add, add, addAll, addComponents, addFixed, addNumbered, clear, clone, componentChanged, contains, contains, containsAll, copy, ensureCapacity, findComponent, get, get, getByNumber, getChildren, getNavpanelDisplay, getNumberLimit, getOneBasedNumbering, getParameterType, getShortName, hasChildren, hasParameterizedType, hierarchyContainsReferences, indexOf, invalidateNumbers, isEditable, isEmpty, iterator, nextComponentNumber, numComponents, postscan, remove, remove, removeAll, removeAll, removeComponents, resetNumbersToIndices, retainAll, scan, set, setEditable, setNavpanelDisplay, setNumbered, setOneBasedNumbering, setShortName, size, toArray, toArray, updateNameMap
checkFlag, checkName, checkNameUniqueness, clearFlag, connectToHierarchy, createTempFlag, disconnectFromHierarchy, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, getSoftReferences, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, updateReferences, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
equals, hashCode, parallelStream, removeIf, spliterator, stream
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferences
getProperty
isWritable, write
public static PropertyList myProps
public ReferenceListBase()
public ReferenceListBase(java.lang.Class<R> clazz, java.lang.String name)
public PropertyList getAllPropertyInfo()
HasProperties
getAllPropertyInfo
in interface HasProperties
getAllPropertyInfo
in class ComponentList<R extends ReferenceComp<C>>
public void addReferences(java.util.Collection<C> refs)
public C getReference(int idx)
public boolean containsReference(C ref)
public int indexOfReference(C ref)
public void getReferences(java.util.Collection<C> col)
public boolean removeReference(C ref)
public boolean removeReferences(java.util.Collection<C> refs)