public class ImageNodeModel extends Object
Constructor and Description |
---|
ImageNodeModel(String ID)
Default constructor using the ID of this Node
|
Modifier and Type | Method and Description |
---|---|
void |
addData(DataSet newData)
Add a
DataSet to this node. |
Collection<NodeData> |
getData()
Get all
NodeData associated with this Node. |
boolean |
isValid()
Check whether this node still has associated DataSets.
|
void |
removeData(DataSet oldData)
Remove a
DataSet from this node |
public ImageNodeModel(String ID)
ID
- the id of the model.public void removeData(DataSet oldData)
DataSet
from this nodeoldData
- the dataset to removepublic void addData(DataSet newData)
DataSet
to this node.newData
- the DataSet to add to the nodepublic Collection<NodeData> getData()
NodeData
associated with this Node.NodeData
associated with this imagenodepublic boolean isValid()
Copyright © 2018. All rights reserved.