|
||||||||||
| 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.MovieFilter
public class MovieFilter
This filter is designed so that people can easily view many "slices" through a given dimension of a
| Nested Class Summary | |
|---|---|
private class |
MovieFilter.SliderFrame
|
| Field Summary | |
|---|---|
private DataFormula |
groupFormula
|
private int |
numElements
|
private EditableInt |
numToAdvance
|
private EditableInt |
numToTake
|
private EditableInt |
pauseLength
|
private static long |
serialVersionUID
|
private MovieFilter.SliderFrame |
sliderFrame
|
private int |
startToTake
|
private EditableBoolean |
useGroups
|
| Fields inherited from class edu.swri.swiftvis.filters.AbstractSingleSourceFilter |
|---|
bounds, changed, dataVect, input, propPanel, sinkVector |
| Constructor Summary | |
|---|---|
|
MovieFilter()
|
private |
MovieFilter(MovieFilter c,
java.util.List<GraphElement> l)
|
| Method Summary | |
|---|---|
private void |
checkNumToAdvance()
|
private void |
checkNumToTake()
|
MovieFilter |
copy(java.util.List<GraphElement> l)
|
private int |
doGroupSelection(int startIndex,
int maxIndex,
DataFormula sortFormula)
Returns the elements after the group that begins at startIndex. |
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. |
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. |
private void |
showSlider()
|
void |
sourceAltered(DataSource source)
|
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, validInput |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private EditableInt numToTake
private EditableInt numToAdvance
private EditableBoolean useGroups
private DataFormula groupFormula
private EditableInt pauseLength
private int startToTake
private int numElements
private transient MovieFilter.SliderFrame sliderFrame
private static final long serialVersionUID
| Constructor Detail |
|---|
public MovieFilter()
private MovieFilter(MovieFilter c,
java.util.List<GraphElement> l)
| Method Detail |
|---|
public java.lang.String getDescription()
public static java.lang.String getTypeDescription()
public void sourceAltered(DataSource source)
sourceAltered in interface DataSinksourceAltered in class AbstractSingleSourceFilterprotected void setupSpecificPanelProperties()
AbstractSingleSourceFilter
setupSpecificPanelProperties in class AbstractSingleSourceFilterpublic java.lang.String getParameterDescription(int which)
public boolean useParameterNameString(int which)
public java.lang.String getParameterName(int which,
int paramVal)
public java.lang.String getValueDescription(int which)
public int getNumParameters()
public int getNumValues()
public DataElement getElement(int i)
DataSource
getElement in interface DataSourcegetElement in class AbstractSingleSourceFilteri - Which data element to return. Should be between 0 and getNumElements()-1.
public int getNumElements()
getNumElements in interface DataSourcegetNumElements in class AbstractSingleSourceFilterpublic MovieFilter copy(java.util.List<GraphElement> l)
protected void redoAllElements()
AbstractSingleSourceFilter
redoAllElements in class AbstractSingleSourceFilter
private int doGroupSelection(int startIndex,
int maxIndex,
DataFormula sortFormula)
startIndex - The index to start the group at.
private void showSlider()
private void checkNumToTake()
private void checkNumToAdvance()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||