edu.swri.swiftvis.sources
Class SequenceSource

java.lang.Object
  extended by edu.swri.swiftvis.sources.AbstractSource
      extended by edu.swri.swiftvis.sources.SequenceSource
All Implemented Interfaces:
DataSource, GraphElement, java.io.Serializable

public class SequenceSource
extends AbstractSource

Author:
Mark Lewis
See Also:
Serialized Form

Field Summary
private  double end
           
private  int num
           
private static long serialVersionUID
           
private  double start
           
 
Fields inherited from class edu.swri.swiftvis.sources.AbstractSource
dataVect, propPanel, sinkVector
 
Constructor Summary
SequenceSource()
           
SequenceSource(SequenceSource c, java.util.List<GraphElement> l)
           
 
Method Summary
 SequenceSource copy(java.util.List<GraphElement> l)
           
 java.lang.String getDescription()
           
 int getNumParameters()
           
 int getNumValues()
           
 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.
 DataFormula[] getSortFormulas()
           
static java.lang.String getTypeDescription()
           
 java.lang.String getValueDescription(int which)
          Tells you what a particular value is used for.
protected  void redoAllElements()
           
private  void setEnd(javax.swing.JTextField field)
           
private  void setNum(javax.swing.JTextField field)
           
private  void setStart(javax.swing.JTextField field)
           
protected  void setupSpecificPanelProperties()
           
 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 class edu.swri.swiftvis.sources.AbstractSource
abstractRedoAllElements, addOutput, clearData, getBounds, getElement, getNumElements, getNumOutputs, getOutput, getOutputInfoPanel, getPaint, getPropertiesPanel, notifySinks, relink, removeOutput, setBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

private double start

end

private double end

num

private int num

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

SequenceSource

public SequenceSource()

SequenceSource

public SequenceSource(SequenceSource c,
                      java.util.List<GraphElement> l)
Method Detail

getTypeDescription

public static java.lang.String getTypeDescription()

getNumParameters

public int getNumParameters()

getParameterDescription

public java.lang.String getParameterDescription(int which)
Description copied from interface: DataSource
Tells you what a particular parameter is used for.


useParameterNameString

public boolean useParameterNameString(int which)
Description copied from interface: DataSource
If this returns true then the value of a parameter for this type should be listed as the strong value returned by getParameterName. Otherwise just the number should be displayed.


getParameterName

public java.lang.String getParameterName(int which,
                                         int paramVal)
Description copied from interface: DataSource
Tells you the text that should be used to describe a particular value of a given parameter.


getNumValues

public int getNumValues()

getValueDescription

public java.lang.String getValueDescription(int which)
Description copied from interface: DataSource
Tells you what a particular value is used for.


getSortFormulas

public DataFormula[] getSortFormulas()

getDescription

public java.lang.String getDescription()

setupSpecificPanelProperties

protected void setupSpecificPanelProperties()
Specified by:
setupSpecificPanelProperties in class AbstractSource

copy

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

redoAllElements

protected void redoAllElements()
Specified by:
redoAllElements in class AbstractSource

setStart

private void setStart(javax.swing.JTextField field)

setEnd

private void setEnd(javax.swing.JTextField field)

setNum

private void setNum(javax.swing.JTextField field)