18191ab5fSLiu Zhe /************************************************************** 28191ab5fSLiu Zhe * 38191ab5fSLiu Zhe * Licensed to the Apache Software Foundation (ASF) under one 48191ab5fSLiu Zhe * or more contributor license agreements. See the NOTICE file 58191ab5fSLiu Zhe * distributed with this work for additional information 68191ab5fSLiu Zhe * regarding copyright ownership. The ASF licenses this file 78191ab5fSLiu Zhe * to you under the Apache License, Version 2.0 (the 88191ab5fSLiu Zhe * "License"); you may not use this file except in compliance 98191ab5fSLiu Zhe * with the License. You may obtain a copy of the License at 108191ab5fSLiu Zhe * 118191ab5fSLiu Zhe * http://www.apache.org/licenses/LICENSE-2.0 128191ab5fSLiu Zhe * 138191ab5fSLiu Zhe * Unless required by applicable law or agreed to in writing, 148191ab5fSLiu Zhe * software distributed under the License is distributed on an 158191ab5fSLiu Zhe * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 168191ab5fSLiu Zhe * KIND, either express or implied. See the License for the 178191ab5fSLiu Zhe * specific language governing permissions and limitations 188191ab5fSLiu Zhe * under the License. 198191ab5fSLiu Zhe * 208191ab5fSLiu Zhe *************************************************************/ 218191ab5fSLiu Zhe 228191ab5fSLiu Zhe package testlib.uno; 238191ab5fSLiu Zhe 248191ab5fSLiu Zhe /** 258191ab5fSLiu Zhe * A class to save a cell column and row info 268191ab5fSLiu Zhe * 278191ab5fSLiu Zhe */ 288191ab5fSLiu Zhe public class CellInfo { 298191ab5fSLiu Zhe private int col; 308191ab5fSLiu Zhe private int row; 318191ab5fSLiu Zhe CellInfo()328191ab5fSLiu Zhe public CellInfo() { 338191ab5fSLiu Zhe this.col = 0; 348191ab5fSLiu Zhe this.row = 0; 358191ab5fSLiu Zhe } CellInfo(int col, int row)368191ab5fSLiu Zhe public CellInfo(int col, int row) { 378191ab5fSLiu Zhe this.col = col; 388191ab5fSLiu Zhe this.row = row; 398191ab5fSLiu Zhe } 408191ab5fSLiu Zhe getCol()418191ab5fSLiu Zhe public int getCol() { 428191ab5fSLiu Zhe return col; 438191ab5fSLiu Zhe } setCol(int col)448191ab5fSLiu Zhe public void setCol(int col) { 458191ab5fSLiu Zhe this.col = col; 468191ab5fSLiu Zhe } getRow()478191ab5fSLiu Zhe public int getRow() { 488191ab5fSLiu Zhe return row; 498191ab5fSLiu Zhe } setRow(int row)508191ab5fSLiu Zhe public void setRow(int row) { 518191ab5fSLiu Zhe this.row = row; 528191ab5fSLiu Zhe } 538191ab5fSLiu Zhe } 54