edu.swri.swiftvis.sources
Class PLDump

java.lang.Object
  extended by edu.swri.swiftvis.sources.PLDump

public class PLDump
extends java.lang.Object


Field Summary
(package private)  java.awt.geom.Rectangle2D bounds
           
(package private)  java.util.Vector vect
           
 
Constructor Summary
PLDump()
           
 
Method Summary
 void addOutput(DataSink sink)
           
 java.awt.geom.Rectangle2D getBounds()
           
 java.lang.String getDescription()
           
 DataElement getElement(int i)
           
 int getNumElements()
          Returns the number of data elements that this source has in it.
 int getNumParameters()
           
 int getNumValues()
           
 java.awt.Paint getPaint()
           
 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.
 javax.swing.JComponent getPropertiesPanel()
           
 java.lang.String getValueDescription(int which)
          Tells you what a particular value is used for.
 void setBounds(java.awt.geom.Rectangle2D b)
           
 java.lang.String toString()
           
 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

vect

java.util.Vector vect

bounds

java.awt.geom.Rectangle2D bounds
Constructor Detail

PLDump

public PLDump()
Method Detail

addOutput

public void addOutput(DataSink sink)

getDescription

public java.lang.String getDescription()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getBounds

public java.awt.geom.Rectangle2D getBounds()

setBounds

public void setBounds(java.awt.geom.Rectangle2D b)

getPaint

public java.awt.Paint getPaint()

getPropertiesPanel

public javax.swing.JComponent getPropertiesPanel()

getParameterDescription

public java.lang.String getParameterDescription(int which)
Tells you what a particular parameter is used for.


useParameterNameString

public 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. Otherwise just the number should be displayed.


getParameterName

public 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.


getValueDescription

public java.lang.String getValueDescription(int which)
Tells you what a particular value is used for.


getNumParameters

public int getNumParameters()

getNumValues

public int getNumValues()

getElement

public DataElement getElement(int i)

getNumElements

public int getNumElements()
Returns the number of data elements that this source has in it. I'm using this instead of an iterator because direct access is much more efficient when trying to make tables of data.

Returns:
The number of data elements in this source.