|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.spreadsheet.cellfinder.AbstractCellFinder
adams.data.spreadsheet.cellfinder.RowFinderRange
public class RowFinderRange
Uses a row finder to locate the interesting rows.
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-row-finder <adams.data.spreadsheet.rowfinder.RowFinder> (property: rowFinder) The row finder to use for locating the rows. default: adams.data.spreadsheet.rowfinder.ByIndex
-columns <adams.core.Range> (property: columns) The columns to locate. default: first-last
| Field Summary | |
|---|---|
protected SpreadSheetColumnRange |
m_Columns
the columns. |
protected RowFinder |
m_RowFinder
the row finder. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
RowFinderRange()
|
|
| Method Summary | |
|---|---|
String |
columnsTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected Iterator<CellLocation> |
doFindCells(SpreadSheet sheet)
Performs the actual locating. |
SpreadSheetColumnRange |
getColumns()
Returns the columns to locate. |
RowFinder |
getRowFinder()
Returns the row finder to use for locating the rows. |
String |
globalInfo()
Returns a string describing the object. |
String |
rowFinderTipText()
Returns the tip text for this property. |
void |
setColumns(SpreadSheetColumnRange value)
Sets the columns to locate. |
void |
setRowFinder(RowFinder value)
Sets the row finder to use for locating the rows. |
| Methods inherited from class adams.data.spreadsheet.cellfinder.AbstractCellFinder |
|---|
check, findCells, forCommandLine, forName, getCellFinders, shallowCopy, shallowCopy |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected RowFinder m_RowFinder
protected SpreadSheetColumnRange m_Columns
| Constructor Detail |
|---|
public RowFinderRange()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setRowFinder(RowFinder value)
value - the finderpublic RowFinder getRowFinder()
public String rowFinderTipText()
public void setColumns(SpreadSheetColumnRange value)
value - the columnspublic SpreadSheetColumnRange getColumns()
public String columnsTipText()
protected Iterator<CellLocation> doFindCells(SpreadSheet sheet)
doFindCells in class AbstractCellFindersheet - the sheet to locate the cells in
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||