|
||||||||||
| 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.rowfinder.AbstractRowFinder
adams.data.spreadsheet.rowfinder.ByValue
public class ByValue
Returns indices of rows which label match the regular expression.
| Field Summary | |
|---|---|
protected SpreadSheetColumnIndex |
m_AttributeIndex
the attribute index to work on. |
protected BaseRegExp |
m_RegExp
the regular expression to match the labels against. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
ByValue()
|
|
| Method Summary | |
|---|---|
String |
attributeIndexTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected int[] |
doFindRows(SpreadSheet data)
Returns the rows of interest in the spreadsheet. |
SpreadSheetColumnIndex |
getAttributeIndex()
Returns the index of the column to perform the matching on. |
BaseRegExp |
getRegExp()
Returns the regular expression in use. |
String |
globalInfo()
Returns a string describing the object. |
String |
regExpTipText()
Returns the tip text for this property. |
void |
setAttributeIndex(SpreadSheetColumnIndex value)
Sets the index of the column to perform the matching on. |
void |
setRegExp(BaseRegExp value)
Sets the regular expression to use. |
| Methods inherited from class adams.data.spreadsheet.rowfinder.AbstractRowFinder |
|---|
arrayToHashSet, check, compareTo, equals, filter, findRows, forCommandLine, forName, getRowFinders, 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, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected SpreadSheetColumnIndex m_AttributeIndex
protected BaseRegExp m_RegExp
| Constructor Detail |
|---|
public ByValue()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setAttributeIndex(SpreadSheetColumnIndex value)
value - the indexpublic SpreadSheetColumnIndex getAttributeIndex()
public String attributeIndexTipText()
public void setRegExp(BaseRegExp value)
value - the regular expressionpublic BaseRegExp getRegExp()
public String regExpTipText()
protected int[] doFindRows(SpreadSheet data)
doFindRows in class AbstractRowFinderdata - the spreadsheet to inspect
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||