|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.swri.swiftvis.filters.AbstractSingleSourceFilter
edu.swri.swiftvis.filters.SortFilter
public class SortFilter
Field Summary | |
---|---|
private java.lang.Integer[] |
map
|
private static long |
serialVersionUID
|
private DataFormula |
sortValue
|
Fields inherited from class edu.swri.swiftvis.filters.AbstractSingleSourceFilter |
---|
bounds, changed, dataVect, input, propPanel, sinkVector |
Constructor Summary | |
---|---|
|
SortFilter()
|
private |
SortFilter(SortFilter c,
java.util.List<GraphElement> l)
|
Method Summary | |
---|---|
private void |
checkFormula(javax.swing.JTextField field)
|
SortFilter |
copy(java.util.List<GraphElement> l)
|
java.lang.String |
getDescription()
|
DataElement |
getElement(int i)
Returns the specified data element for this source. |
int |
getNumElements()
Returns the number of data elements that this source has in it. |
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()
This method is intended to reprocess all the input elements to redo the output. |
protected void |
setupSpecificPanelProperties()
This method should add any tabbed panes to the propPanel that are specific to the given filter. |
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.filters.AbstractSingleSourceFilter |
---|
abstractRedoAllElements, addInput, addOutput, clearData, getBounds, 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 |
Field Detail |
---|
private java.lang.Integer[] map
private DataFormula sortValue
private static final long serialVersionUID
Constructor Detail |
---|
public SortFilter()
private SortFilter(SortFilter c, java.util.List<GraphElement> l)
Method Detail |
---|
public int getNumElements()
AbstractSingleSourceFilter
getNumElements
in interface DataSource
getNumElements
in class AbstractSingleSourceFilter
public DataElement getElement(int i)
DataSource
getElement
in interface DataSource
getElement
in class AbstractSingleSourceFilter
i
- Which data element to return. Should be between 0 and getNumElements()-1.
public int getNumParameters()
public java.lang.String getParameterDescription(int which)
DataSource
public boolean useParameterNameString(int which)
DataSource
public java.lang.String getParameterName(int which, int paramVal)
DataSource
public int getNumValues()
public java.lang.String getValueDescription(int which)
DataSource
public DataFormula[] getSortFormulas()
public java.lang.String getDescription()
public static java.lang.String getTypeDescription()
public SortFilter copy(java.util.List<GraphElement> l)
protected void setupSpecificPanelProperties()
AbstractSingleSourceFilter
setupSpecificPanelProperties
in class AbstractSingleSourceFilter
protected void redoAllElements()
AbstractSingleSourceFilter
redoAllElements
in class AbstractSingleSourceFilter
private void checkFormula(javax.swing.JTextField field)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |