public class StringTupleLoader extends TupleLoader<java.lang.String>
Constructor and Description |
---|
StringTupleLoader() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
dataMatches(java.lang.String data,
prefuse.data.Tuple tuple)
Determine whether the given data and tuple represent the same data
|
java.lang.String |
getData(prefuse.data.Tuple tuple)
Find the original data element which matches the provided tuple.
|
void |
loadData(java.lang.String data,
prefuse.data.Tuple tuple)
Load data from the data element into the tuple.
|
addData, findTuple, getLabelField, getTable, setLabelField, setTable
protected boolean dataMatches(java.lang.String data, prefuse.data.Tuple tuple)
dataMatches
in class TupleLoader<java.lang.String>
data
- the data elementtuple
- the tuplepublic java.lang.String getData(prefuse.data.Tuple tuple)
getData
in class TupleLoader<java.lang.String>
tuple
- the Tuple to matchpublic void loadData(java.lang.String data, prefuse.data.Tuple tuple)
loadData
in class TupleLoader<java.lang.String>
data
- the data elementtuple
- the tuple to load