Package adams.gui.core.spreadsheettable
Interface PlotSelectedRows
-
- All Superinterfaces:
Comparable<SpreadSheetTablePopupMenuItem>
,SpreadSheetTablePopupMenuItem
- All Known Implementing Classes:
AbstractPlotSelectedRows
,JFreeChart
,SimplePlot
public interface PlotSelectedRows extends SpreadSheetTablePopupMenuItem
Interface for plugins that plot 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
plotSelectedRows(SpreadSheetTablePopupMenuItemHelper.TableState state)
Plots 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
-
plotSelectedRows
boolean plotSelectedRows(SpreadSheetTablePopupMenuItemHelper.TableState state)
Plots the specified row.- Parameters:
state
- the table state- Returns:
- true if successful
-
-