|
||||||||||
| 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.ColumnFinderRange
public class ColumnFinderRange
Uses a column finder to locate the interesting columns.
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
-rows <adams.core.Range> (property: rows) The rows to locate. default: first-last
-column-finder <adams.data.spreadsheet.columnfinder.ColumnFinder> (property: columnFinder) The column finder to use for locating the columns. default: adams.data.spreadsheet.columnfinder.ByIndex
| Field Summary | |
|---|---|
protected ColumnFinder |
m_ColumnFinder
the column finder. |
protected Range |
m_Rows
the rows. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
ColumnFinderRange()
|
|
| Method Summary | |
|---|---|
String |
columnFinderTipText()
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. |
ColumnFinder |
getColumnFinder()
Returns the column finder to use. |
Range |
getRows()
Returns the rows to locate. |
String |
globalInfo()
Returns a string describing the object. |
String |
rowsTipText()
Returns the tip text for this property. |
void |
setColumnFinder(ColumnFinder value)
Sets the column finder to use. |
void |
setRows(Range value)
Sets the rows to locate. |
| 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 Range m_Rows
protected ColumnFinder m_ColumnFinder
| Constructor Detail |
|---|
public ColumnFinderRange()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setRows(Range value)
value - the rowspublic Range getRows()
public String rowsTipText()
public void setColumnFinder(ColumnFinder value)
value - the finderpublic ColumnFinder getColumnFinder()
public String columnFinderTipText()
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 | |||||||||