1 /************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance 9 * with the License. You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, 14 * software distributed under the License is distributed on an 15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16 * KIND, either express or implied. See the License for the 17 * specific language governing permissions and limitations 18 * under the License. 19 * 20 *************************************************************/ 21 22 package testlib.uno; 23 24 /** 25 * A class to save a cell column and row info 26 * 27 */ 28 public class CellInfo { 29 private int col; 30 private int row; 31 CellInfo()32 public CellInfo() { 33 this.col = 0; 34 this.row = 0; 35 } CellInfo(int col, int row)36 public CellInfo(int col, int row) { 37 this.col = col; 38 this.row = row; 39 } 40 getCol()41 public int getCol() { 42 return col; 43 } setCol(int col)44 public void setCol(int col) { 45 this.col = col; 46 } getRow()47 public int getRow() { 48 return row; 49 } setRow(int row)50 public void setRow(int row) { 51 this.row = row; 52 } 53 } 54