Package adams.gui.core.spreadsheettable
Interface ProcessSelectedRows
-
- All Superinterfaces:
Comparable<SpreadSheetTablePopupMenuItem>
,SpreadSheetTablePopupMenuItem
- All Known Implementing Classes:
AbstractProcessSelectedRows
,ArrayStatistic
,CopySelectedFiles
public interface ProcessSelectedRows extends SpreadSheetTablePopupMenuItem
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(SpreadSheetTablePopupMenuItemHelper.TableState state)
Processes the specified row.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface adams.gui.core.spreadsheettable.SpreadSheetTablePopupMenuItem
getIconName, getMenuItem
-
-
-
-
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(SpreadSheetTablePopupMenuItemHelper.TableState state)
Processes the specified row.- Parameters:
state
- the table state- Returns:
- true if successful
-
-