@Override
	public int cursorLeft(FieldLocation cursorLoc) {
		if (cursorLoc.col > 0) {
			cursorLoc.col--;
		}
		else { // need to move back one field.
			if (cursorLoc.fieldNum > 0) {
				cursorLoc.fieldNum--;
				Field field = fields[cursorLoc.fieldNum];
				int x = field.getStartX() + field.getWidth() - 1;

				cursorLoc.row = field.getRow(lastCursorY);
				cursorLoc.col = field.getCol(cursorLoc.row, x);
			}
			else if (cursorLoc.row > 0) {
				Field field = fields[cursorLoc.fieldNum];
				cursorLoc.row--;
				cursorLoc.col = field.getNumCols(cursorLoc.row) - 1;
			}
			else {
				return -1;
			}
		}
		return fields[cursorLoc.fieldNum].getX(cursorLoc.row, cursorLoc.col);
	}
Returns the row number of this layout with respect to its containing layout.
@return the row number of this layout with respect to its containing layout.
Ghidra/Framework/Docking/src/main/java/docking/widgets/fieldpanel/support/RowLayout.java