KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > albel > tags > table > model > Row


1 /*
2  * Row.java
3  *
4  * Created on Pirmadienis, 2004, Rugsėjo 6, 14.44
5  */

6
7 package albel.tags.table.model;
8
9 /**
10  *
11  * @author alblau
12  */

13 public class Row
14 {
15     
16     /**
17      * Holds value of property number.
18      */

19     private int number;
20     
21     /**
22      * Holds value of property rowState.
23      */

24     private RowState rowState;
25     private Table table;
26     
27     /** Creates a new instance of Row */
28     private Row()
29     {
30     }
31     public Row(Table table)
32     {
33         this.table=table;
34     }
35     public Table getTable()
36     {
37         return table;
38     }
39     /**
40      * Getter for property number.
41      * @return Value of property number.
42      */

43     public int getNumber()
44     {
45         return this.number;
46     }
47     
48     /**
49      * Setter for property number.
50      * @param number New value of property number.
51      */

52     public void setNumber(int number)
53     {
54         this.number = number;
55     }
56     
57     /**
58      * Getter for property rowState.
59      * @return Value of property rowState.
60      */

61     public RowState getRowState()
62     {
63         return this.rowState;
64     }
65     
66     /**
67      * Setter for property rowState.
68      * @param rowState New value of property rowState.
69      */

70     public void setRowState(RowState rowState)
71     {
72         this.rowState = rowState;
73     }
74     
75 }
76
Popular Tags