KickJava   Java API By Example, From Geeks To Geeks.

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


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

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

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

19     private Row row;
20     
21     /**
22      * Holds value of property column.
23      */

24     private Column column;
25     
26     /**
27      * Holds value of property value.
28      */

29     private String JavaDoc value;
30     
31     /** Creates a new instance of RowColumn */
32     public Cell()
33     {
34     }
35     public Cell(Row row, Column column, String JavaDoc value)
36     {
37         this.row=row;
38         this.column=column;
39         this.value=value;
40     }
41     /**
42      * Getter for property row.
43      * @return Value of property row.
44      */

45     public Row getRow()
46     {
47         return this.row;
48     }
49     
50     /**
51      * Setter for property row.
52      * @param row New value of property row.
53      */

54     public void setRow(Row row)
55     {
56         this.row = row;
57     }
58     
59     /**
60      * Getter for property column.
61      * @return Value of property column.
62      */

63     public Column getColumn()
64     {
65         return this.column;
66     }
67     
68     /**
69      * Setter for property column.
70      * @param column New value of property column.
71      */

72     public void setColumn(Column column)
73     {
74         this.column = column;
75     }
76     
77     /**
78      * Getter for property values.
79      * @return Value of property values.
80      */

81     public String JavaDoc getValue()
82     {
83         return this.value;
84     }
85     
86     /**
87      * Setter for property values.
88      * @param values New value of property values.
89      */

90     public void setValue(String JavaDoc value)
91     {
92         this.value = value;
93     }
94     
95 }
96
Popular Tags