public class ColumnSelectorPlugIn extends ConverterPlugIn
ToBinaryPlugin increases the number of columns. This plug in can
be used to select certain columns from all available columns at that moment.
It just uses an advanced column selector as StreamInputSynapse and
all plug-ins do, but this plug-in does not work on certain columns as most plug-ins
do, but it selects columns like the StreamInputSynapse does.pluginListeners| Constructor and Description |
|---|
ColumnSelectorPlugIn()
Creates a new instance of ColumnSelectorPlugIn
|
ColumnSelectorPlugIn(java.lang.String anAdvancedSerieSelector)
Creates a new instance of ColumnSelectorPlugIn
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
applyOnRows()
Applies the conversion on the patterns contained by
AbstractConverterPlugIn.InputVector
on all the rows. |
protected boolean |
convert(int serie)
Applies the conversion on the Nth serie of the buffered pattern data.
|
isApplyEveryCycle, newCycle, setApplyEveryCycleaddPlugIn, addPlugInListener, apply, applyOnColumns, cascade, check, convertPatterns, dataChanged, fireDataChanged, getAdvancedSerieSelector, getInputVector, getName, getNextPlugIn, getPluginListeners, getSerieIndexNumber, getSerieSelected, getValuePoint, isConnected, removeAllPlugIns, removePlugInListener, setAdvancedSerieSelector, setConnected, setInputVector, setName, setNextPlugin, setNextPlugInpublic ColumnSelectorPlugIn()
public ColumnSelectorPlugIn(java.lang.String anAdvancedSerieSelector)
anAdvancedSerieSelector - the advanced serie selector to use.setAdvancedSerieSelector()protected boolean convert(int serie)
AbstractConverterPlugInAbstractConverterPlugIn.getInputVector() method. The result is a
Vector of Pattern objects which this method should use by converting
the requested serie.convert in class AbstractConverterPlugInserie - the serie to convertprotected boolean applyOnRows()
AbstractConverterPlugInAbstractConverterPlugIn.InputVector
on all the rows. Override this empty method to apply any change to the
order of the input vector's rows.applyOnRows in class AbstractConverterPlugInSubmit Feedback to pmarrone@users.sourceforge.net