Package com.independentsoft.calc.engine

# Class Area

java.lang.Object
com.independentsoft.calc.engine.Area

public final class Area extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `int`
  `c1`
  `int`
  `c2`
  `int`
  `r1`
  `int`
  `r2`
  `SheetModel`
  `sheet`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Area​(SheetModel sheet, int r1, int c1, int r2, int c2)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `colCount()`
  `boolean`
  `contains​(int row, int col)`
  `boolean`
  `isSingleCell()`
  `int`
  `rowCount()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Field Details

  - ### sheet

    public final SheetModel sheet

  - ### r1

    public final int r1

  - ### c1

    public final int c1

  - ### r2

    public final int r2

  - ### c2

    public final int c2

- ## Constructor Details

  - ### Area

    public Area​(SheetModel sheet, int r1, int c1, int r2, int c2)

- ## Method Details

  - ### rowCount

    public int rowCount()

  - ### colCount

    public int colCount()

  - ### isSingleCell

    public boolean isSingleCell()

  - ### contains

    public boolean contains​(int row, int col)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`