|
||||||||||
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 |
getParameterName(int which,
int paramVal)
Tells you the text that should be used to describe a particular value of a given parameter. |
java.lang.String |
getValueDescription(int which)
Tells you what a particular value is used for. |
void |
removeOutput(DataSink sink)
|
boolean |
useParameterNameString(int which)
If this returns true then the value of a parameter for this type should be listed as the strong value returned by getParameterName. |
Methods inherited from interface edu.swri.swiftvis.GraphElement |
---|
clearData, copy, getBounds, getDescription, getPaint, getPropertiesPanel, relink, setBounds |
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)
boolean useParameterNameString(int which)
java.lang.String getParameterName(int which, int paramVal)
int getNumValues()
java.lang.String getValueDescription(int which)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |