public interface MutableCompositeComponent<C extends ModelComponent> extends CompositeComponent
CompositeComponent.NavpanelDisplayModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibility| Modifier and Type | Method and Description |
|---|---|
boolean |
add(C comp)
Adds a component to this MutableCompositeComponent.
|
void |
addComponents(ModelComponent[] comps,
int[] indices,
int num)
Adds a set of components to this MutableCompositeComponent.
|
boolean |
isEditable()
Queries whether or not this component is editable from the ArtiSynth
GUI.
|
boolean |
remove(java.lang.Object comp)
Removes a component from this MutableCompositeComponent, returning true if the
componet was in fact found and removed.
|
void |
removeComponents(ModelComponent[] comps,
int[] indices,
int num)
Removes a set of components from this MutableCompositeComponent.
|
componentChanged, findComponent, get, get, getByNumber, getNavpanelDisplay, getNumberLimit, hierarchyContainsReferences, indexOf, numComponents, recursivelyFind, updateNameMapconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, getSoftReferences, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable, updateReferencesgetAllPropertyInfo, getPropertygetChildren, hasChildrenpostscanisWritable, writeboolean add(C comp)
comp - component to be addetrue if the component was actually addedvoid addComponents(ModelComponent[] comps, int[] indices, int num)
indices is not
null, it specified the index locations at which the components should be
added. It is up to the caller to insure that the specified index values
make sense; in particular, they must not exceed the final size of the
component and no two specified indices can be the same.comps - list of components to be addedindices - (optional) index locations of componentsnum - number of components to be addedboolean remove(java.lang.Object comp)
comp - component to be addedvoid removeComponents(ModelComponent[] comps, int[] indices, int num)
indices is
not null, it is used to return the indices where the components were
located.comps - components to be removedindices - (optional) stores the indices of the removed componentsnum - number of components to be removedboolean isEditable()
false,
it should not be possible to use the GUU to delete child components.true if this component can be edited from the GUI.