Class CellTypeRange

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, QuickInfoSupporter, SizeOfHandler, CellFinder, RowCellFinder, Serializable

    public class CellTypeRange
    extends AbstractRowCellFinder
    Locator that locates cells of a certain type using a rectangular range.

    -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel)
        The logging level for outputting errors and debugging output.
        default: WARNING
     
    -type <MISSING|STRING|BOOLEAN|LONG|DOUBLE|DATE|DATETIME|TIME|OBJECT> (property: type)
        The cell type to locate.
        default: STRING
     
    -rows <adams.core.Range> (property: rows)
        The rows to locate.
        default: first-last
        example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; the following placeholders can be used as well: first, second, third, last_2, last_1, last
     
    -columns <adams.data.spreadsheet.SpreadSheetColumnRange> (property: columns)
        The columns to locate.
        default: first-last
        example: A range is a comma-separated list of single 1-based indices or sub-ranges of indices ('start-end'); 'inv(...)' inverts the range '...'; apart from column names (case-sensitive), the following placeholders can be used as well: first, second, third, last_2, last_1, last
     
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form
    • Constructor Detail

      • CellTypeRange

        public CellTypeRange()
    • Method Detail

      • setType

        public void setType​(Cell.ContentType value)
        Sets the cell type to locate.
        Parameters:
        value - the type
      • getType

        public Cell.ContentType getType()
        Returns the cell type to locate.
        Returns:
        the type
      • typeTipText

        public String typeTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setRows

        public void setRows​(Range value)
        Sets the rows to locate.
        Parameters:
        value - the rows
      • getRows

        public Range getRows()
        Returns the rows to locate.
        Returns:
        the rows
      • rowsTipText

        public String rowsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui
      • setColumns

        public void setColumns​(SpreadSheetColumnRange value)
        Sets the columns to locate.
        Parameters:
        value - the columns
      • columnsTipText

        public String columnsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the gui