01: /*
02: * Copyright 2005 jWic group (http://www.jwic.de)
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: *
16: * de.jwic.samples.sample4.Row
17: * Created on 04.11.2005
18: * $Id: Row.java,v 1.2 2006/08/14 09:35:00 lordsam Exp $
19: */
20: package de.jwic.controls.layout;
21:
22: import java.io.Serializable;
23:
24: /**
25: * Specifies a row during rendering.
26: * @author Florian Lippisch
27: * @version $Revision: 1.2 $
28: */
29: public class Row implements Serializable {
30:
31: private static final long serialVersionUID = 1L;
32:
33: private int num;
34: private String height = "";
35:
36: /**
37: * Constructs a new row.
38: * @param num
39: */
40: public Row(int num) {
41: this .num = num;
42: }
43:
44: /**
45: * @return Returns the height.
46: */
47: public String getHeight() {
48: return height;
49: }
50:
51: /**
52: * @param height The height to set.
53: */
54: public void setHeight(String height) {
55: this .height = height;
56: }
57:
58: /**
59: * @return Returns the num.
60: */
61: public int getNum() {
62: return num;
63: }
64:
65: /**
66: * @param num The num to set.
67: */
68: public void setNum(int num) {
69: this.num = num;
70: }
71:
72: }
|