edu.swri.swiftvis
Interface GraphElement

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
DataSink, DataSource, Filter, PlotListener
All Known Implementing Classes:
AbstractMultipleSourceFilter, AbstractSingleSourceFilter, AbstractSource, BinaryPositionData, BinnedFilter, CoordConvertFilter, DiscardData, ElementTableEditor, EncounterData, FunctionFilter, GeneralData, GroupNumberingFilter, KeySelectionFilter, MergeFilter, MovieFilter, Plot, RegionSelectionFilter, SelectFilter, SequenceSource, SliceSelectionFilter, SortFilter, ThinningFilter, WakePeakFilter

public interface GraphElement
extends java.io.Serializable

This interface is the common supertype of everything that can be added into the graph. The main groups of subclasses are datasets, filters, and plots. The program also has expectations for the constructors for a class. You need to look at the documentation of the different subtypes of this interface to find what they expect. If you want the program to automatically list some description for your element when they set it up to allow that to be added, you should add a static method String getTypeDescription().


Method Summary
 void clearData()
          This method does what the name implies, it clears out data vectors.
 GraphElement copy(java.util.List<GraphElement> l)
           
 java.awt.Rectangle getBounds()
           
 java.lang.String getDescription()
           
 java.awt.Paint getPaint()
           
 javax.swing.JComponent getPropertiesPanel()
           
 void relink(java.util.Hashtable<GraphElement,GraphElement> linkHash)
           
 void setBounds(java.awt.Rectangle bounds)
           
 

Method Detail

getDescription

java.lang.String getDescription()

getBounds

java.awt.Rectangle getBounds()

setBounds

void setBounds(java.awt.Rectangle bounds)

getPaint

java.awt.Paint getPaint()

getPropertiesPanel

javax.swing.JComponent getPropertiesPanel()

copy

GraphElement copy(java.util.List<GraphElement> l)

relink

void relink(java.util.Hashtable<GraphElement,GraphElement> linkHash)

clearData

void clearData()
This method does what the name implies, it clears out data vectors. It is used for saving templates which shouldn't have the data in them.