edu.swri.swiftvis.filters
Class FunctionFilter
java.lang.Object
edu.swri.swiftvis.filters.AbstractMultipleSourceFilter
edu.swri.swiftvis.filters.FunctionFilter
- All Implemented Interfaces:
- DataSink, DataSource, Filter, GraphElement, java.io.Serializable
public class FunctionFilter
- extends AbstractMultipleSourceFilter
- See Also:
- Serialized Form
Methods inherited from class edu.swri.swiftvis.filters.AbstractMultipleSourceFilter |
abstractRedoAllElements, addInput, addOutput, clearData, getBounds, getElement, getNumElements, getNumOutputs, getNumSources, getOutput, getOutputInfoPanel, getPaint, getPropertiesPanel, getSource, getSourceInfoPanel, relink, removeInput, removeOutput, setBounds, sourceAltered, validInput |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
valueEntry
private java.util.Vector<FunctionFilter.FunctionEntry> valueEntry
paramEntry
private java.util.Vector<FunctionFilter.FunctionEntry> paramEntry
valueList
private transient javax.swing.JList valueList
paramList
private transient javax.swing.JList paramList
valuePanel
private transient javax.swing.JPanel valuePanel
paramPanel
private transient javax.swing.JPanel paramPanel
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
FunctionFilter
public FunctionFilter()
FunctionFilter
private FunctionFilter(FunctionFilter c,
java.util.List<GraphElement> l)
getDescription
public java.lang.String getDescription()
getTypeDescription
public static java.lang.String getTypeDescription()
setupSpecificPanelProperties
protected void setupSpecificPanelProperties()
- Description copied from class:
AbstractMultipleSourceFilter
- This method should add any tabbed panes to the propPanel that are specific to
the given filter. This is called when the propPanel is created. After it is
called, the source and output info panels are added.
- Specified by:
setupSpecificPanelProperties
in class AbstractMultipleSourceFilter
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()
- Specified by:
getNumParameters
in interface DataSource
- Overrides:
getNumParameters
in class AbstractMultipleSourceFilter
getNumValues
public int getNumValues()
- Specified by:
getNumValues
in interface DataSource
- Overrides:
getNumValues
in class AbstractMultipleSourceFilter
copy
public FunctionFilter copy(java.util.List<GraphElement> l)
redoAllElements
protected void redoAllElements()
- Description copied from class:
AbstractMultipleSourceFilter
- This method is intended to reprocess all the input elements to redo the
output. It must be properly implemented by all extending classes.
- Specified by:
redoAllElements
in class AbstractMultipleSourceFilter
mirrorValues
private void mirrorValues()
valueListSelection
private void valueListSelection()
newValue
private void newValue()
removeValue
private void removeValue()
mirrorParams
private void mirrorParams()
paramListSelection
private void paramListSelection()
newParam
private void newParam()
removeParam
private void removeParam()