|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataSource
Method Summary | |
---|---|
void |
addOutput(DataSink sink)
|
DataElement |
getElement(int i)
Returns the specified data element for this source. |
int |
getNumElements()
Returns the number of data elements that this source has in it. |
int |
getNumOutputs()
|
int |
getNumParameters()
|
int |
getNumValues()
|
DataSink |
getOutput(int which)
|
java.lang.String |
getParameterDescription(int which)
Tells you what a particular parameter is used for. |
java.lang.String |
getValueDescription(int which)
Tells you what a particular value is used for. |
void |
removeOutput(DataSink sink)
|
Methods inherited from interface edu.swri.swiftvis.GraphElement |
---|
clearData, copy, drawNode, getBounds, getDescription, getPropertiesPanel, redo, relink, translate |
Method Detail |
---|
void addOutput(DataSink sink)
void removeOutput(DataSink sink)
int getNumOutputs()
DataSink getOutput(int which)
int getNumElements()
DataElement getElement(int i)
i
- Which data element to return. Should be between 0 and getNumElements()-1.
java.lang.ArrayIndexOutOfBoundsException
- if the provided index is out of bounds.int getNumParameters()
java.lang.String getParameterDescription(int which)
int getNumValues()
java.lang.String getValueDescription(int which)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |