Package docking.widgets.fieldpanel.support

# Class RowColLocation

java.lang.Object
docking.widgets.fieldpanel.support.RowColLocation

Direct Known Subclasses:
  `DefaultRowColLocation`

public class RowColLocation extends Object
Simple class to return a row, column location.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected int`
  `col`
  `protected int`
  `row`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RowColLocation(int row, int col)`
  Constructs a new RowColLocation with the given row and column.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `int`
  `col()`
  `boolean`
  `equals(Object object)`
  `int`
  `hashCode()`
  `int`
  `row()`
  `String`
  `toString()`
  `RowColLocation`
  `withCol(int newColumn)`
  `RowColLocation`
  `withRow(int newRow)`

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

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

- ## Field Details

  - ### row

    protected int row

  - ### col

    protected int col

- ## Constructor Details

  - ### RowColLocation

    public RowColLocation(int row, int col)
    Constructs a new RowColLocation with the given row and column.
    Parameters:
      `row` - the row location
      `col` - the column location

- ## Method Details

  - ### row

    public int row()

  - ### col

    public int col()

  - ### withCol

    public RowColLocation withCol(int newColumn)

  - ### withRow

    public RowColLocation withRow(int newRow)

  - ### toString

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

  - ### hashCode

    public int hashCode()
    Overrides:
      `hashCode` in class `Object`

  - ### equals

    public boolean equals(Object object)
    Overrides:
      `equals` in class `Object`