org.das2.qds.filters.FiltersChainPanel
Chain together a number of FilterEditorPanels to one long filter chain. For example,
|slice1(0)|smooth(5) would add two of the FilterEditorPanel to control each
filter. Additionally, this adds and removes filters from the chain.
FiltersChainPanel( )
Creates new form FiltersChainPanel
PROP_ADDSUBTRACTBUTTONS
getFilter
getFilter( ) → String
Returns:
java.lang.String
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getInput
getInput( ) → QDataSet
get the current dataset used to show and configure each step.
Returns:
a QDataSet
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
getPanel
getPanel( ) → javax.swing.JPanel
Returns:
javax.swing.JPanel
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
isAddSubtractButtons
isAddSubtractButtons( ) → boolean
Returns:
boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
main
main( String[] args ) → void
Parameters
args - a java.lang.String[]
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
resetInput
resetInput( QDataSet ds ) → void
reset the input, even if this dataset is already in use.
Parameters
ds - the dataset, or null.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setAddSubtractButtons
setAddSubtractButtons( boolean addSubtractButtons ) → void
Parameters
addSubtractButtons - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setExpertMode
setExpertMode( boolean expert ) → void
Parameters
expert - a boolean
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setFilter
setFilter( String filter ) → void
set the filter, and rebuild the GUI. Note this should be called from the
event thread. TODO: This means that filters are happening on the event thread,
which is going to lead to problems.
Parameters
filter - the filter for the block, such as "|slice1(2)"
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
setInput
setInput( QDataSet ds ) → void
the filter must be set before this is called. This will set
droplist labels, etc.
Parameters
ds - the dataset, or null.
Returns:
void (returns nothing)
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
validateFilter
validateFilter( String filter ) → boolean
return true if the filter appears that it will be valid, and
false when it clearly won't be.
Parameters
filter - a String
Returns:
a boolean
[search for examples]
[view on GitHub]
[view on old javadoc]
[view source]
validateFilter( String filter, QDataSet in ) → boolean