| java.lang.Object prefuse.data.tuple.AbstractTupleSet prefuse.data.tuple.CompositeTupleSet
All known Subclasses: prefuse.data.Graph,
CompositeTupleSet | public class CompositeTupleSet extends AbstractTupleSet (Code) | | TupleSet implementation for treating a collection of tuple sets
as a single, composite tuple set. This composite does not take
overlap between contained TupleSets into account.
The
TupleSet.addTuple(Tuple) and
CompositeTupleSet.setTuple(Tuple) methods are not supported by this class, and calling these methods will
result in a UnsupportedOperationException. Instead, use the add or set
methods on the desired non-composite tuple set.
author: jeffrey heer |
CompositeTupleSet | public CompositeTupleSet()(Code) | | Create a new, empty CompositeTupleSet
|
CompositeTupleSet | protected CompositeTupleSet(boolean listen)(Code) | | |
addSet | public void addSet(String name, TupleSet set)(Code) | | Add a TupleSet to this composite.
Parameters: name - the name of the TupleSet to add Parameters: set - the set to add |
clear | public void clear()(Code) | | Clear this TupleSet, calling clear on all contained TupleSet
instances. All contained TupleSets remain members of this
composite, but they have their data cleared.
See Also: prefuse.data.tuple.TupleSet.clear |
containsSet | public boolean containsSet(TupleSet set)(Code) | | Indicates if this composite contains the given TupleSet.
Parameters: set - the TupleSet to check for containment true if the TupleSet is contained in this composite,false otherwise |
getSet | public TupleSet getSet(String name)(Code) | | Get the TupleSet associated with the given name.
Parameters: name - the name of the TupleSet to get the associated TupleSet, or null if not found |
hasSet | public boolean hasSet(String name)(Code) | | Indicates if this composite contains a TupleSet with the given name.
Parameters: name - the name to look for true if a TupleSet with the given name is found, false otherwise |
removeAllSets | public void removeAllSets()(Code) | | Remove all contained TupleSets from this composite.
|
removeSet | public TupleSet removeSet(String name)(Code) | | Remove the TupleSet with the given name from this composite.
Parameters: name - the name of the TupleSet to remove the removed TupleSet, or null if not found |
setNames | public Iterator setNames()(Code) | | Get an iterator over the names of all the TupleSets in this composite.
the iterator over contained set names. |
sets | public Iterator sets()(Code) | | Get an iterator over all the TupleSets in this composite.
the iterator contained sets. |
Methods inherited from prefuse.data.tuple.AbstractTupleSet | public void addColumn(String name, Class type, Object defaultValue)(Code)(Java Doc) public void addColumn(String name, Class type)(Code)(Java Doc) public void addColumn(String name, Expression expr)(Code)(Java Doc) public void addColumn(String name, String expr)(Code)(Java Doc) public void addColumns(Schema schema)(Code)(Java Doc) public void addPropertyChangeListener(PropertyChangeListener lstnr)(Code)(Java Doc) public void addPropertyChangeListener(String key, PropertyChangeListener lstnr)(Code)(Java Doc) public void addTupleSetListener(TupleSetListener tsl)(Code)(Java Doc) protected void fireTupleEvent(Table t, int start, int end, int type)(Code)(Java Doc) protected void fireTupleEvent(Tuple t, int type)(Code)(Java Doc) protected void fireTupleEvent(Tuple[] added, Tuple[] removed)(Code)(Java Doc) public Object getClientProperty(String key)(Code)(Java Doc) public boolean isAddColumnSupported()(Code)(Java Doc) public void putClientProperty(String key, Object value)(Code)(Java Doc) public void removePropertyChangeListener(PropertyChangeListener lstnr)(Code)(Java Doc) public void removePropertyChangeListener(String key, PropertyChangeListener lstnr)(Code)(Java Doc) public void removeTupleSetListener(TupleSetListener tsl)(Code)(Java Doc) public Iterator tuples(Predicate filter)(Code)(Java Doc) public Iterator tuples(Predicate filter, Sort sort)(Code)(Java Doc)
|
|
|