Interface ProcessSelectedRows
-
- All Superinterfaces:
Comparable<InstancesTablePopupMenuItem>
,InstancesTablePopupMenuItem
- All Known Implementing Classes:
AbstractProcessSelectedRows
,ArrayStatistic
,ChangeInstanceWeights
,InvestigatorAsNewDataset
public interface ProcessSelectedRows extends InstancesTablePopupMenuItem
Interface for plugins that processes selected rows.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
maxNumRows()
Returns the maximum number of rows that the plugin requires.int
minNumRows()
Returns the minimum number of rows that the plugin requires.boolean
processSelectedRows(InstancesTablePopupMenuItemHelper.TableState state)
Processes the specified row.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface adams.gui.visualization.instances.instancestable.InstancesTablePopupMenuItem
getIconName, getMenuItem, isAvailable
-
-
-
-
Method Detail
-
minNumRows
int minNumRows()
Returns the minimum number of rows that the plugin requires.- Returns:
- the minimum
-
maxNumRows
int maxNumRows()
Returns the maximum number of rows that the plugin requires.- Returns:
- the maximum, -1 for none
-
processSelectedRows
boolean processSelectedRows(InstancesTablePopupMenuItemHelper.TableState state)
Processes the specified row.- Parameters:
state
- the table state- Returns:
- true if successful
-
-