public interface IlvMutableSDMNode extends IlvSDMNode
IlvMutableSDMNode
is a
data object whose properties can be set.IlvDefaultSDMModel
Modifier and Type | Method and Description |
---|---|
void |
addChild(IlvMutableSDMNode child,
IlvMutableSDMNode before)
Adds a child to this object's submodel.
|
String[] |
getDependentProperties(String property)
Returns the set of properties that may be affected by a change to the
given property.
|
void |
removeChild(IlvMutableSDMNode child)
Removes a child from this object's submodel.
|
void |
setID(String id)
Sets the identifier of the object.
|
void |
setParent(IlvMutableSDMNode parent)
Sets the parent of this data object,
that is, the object to which the submodel
containing this object is attached.
|
void |
setProperty(String property,
Object value)
Sets a property of the data object.
|
getChildren, getID, getParent, getProperty, getPropertyNames, getTag
void setID(String id)
id
- The new object ID.void addChild(IlvMutableSDMNode child, IlvMutableSDMNode before)
child
- The child to add.before
- The object before which the new child must
be inserted, or null
if the new child must
be appended to the list of children.void removeChild(IlvMutableSDMNode child)
child
- The child to remove.void setParent(IlvMutableSDMNode parent)
parent
- The new parent node.void setProperty(String property, Object value)
property
- The name of the property.value
- The value of the property.String[] getDependentProperties(String property)
In other words, setProperty(property, value)
may affect the results of
getProperty(dependentProperty)
only if dependentProperty
is contained in
getDependentProperties(property)
.
Note: Dependencies of property values between different objects are not
handled by this method; rather, they have to be implemented through
notifications in the model's setObjectProperty
method.
property
- The name of the property whose value is being changed.property
's change, or
null
for none.setProperty(String, Object)
© Copyright 2024 Rogue Wave Software, Inc., a Perforce company.. All Rights Reserved.