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