Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
Column |
|
| 1.0;1 |
1 | /****************************************************************************** | |
2 | * Column.java - Describe a column in the PlayerList | |
3 | * $Id$ | |
4 | * | |
5 | * BuckoFIBS - Backgammon by BuckoSoft | |
6 | * Copyright© 2009,2010 - Dick Balaska - BuckoSoft, Corp. | |
7 | * | |
8 | * $Log$ | |
9 | * Revision 1.2 2010/03/03 12:19:49 inim | |
10 | * Moved source to UTF8 encoding from CP1252 encoding. To this end all source files' (c) message was updated to "Copyright© 2009,2010 - Dick Balaska - BuckoSoft, Corp.". This replaces the (c) sign to UTF8, and adds the new year 2010. | |
11 | * | |
12 | * Revision 1.1 2010/02/04 05:57:53 inim | |
13 | * Mavenized project folder layout | |
14 | * | |
15 | * Revision 1.2 2009/02/14 15:46:36 dick | |
16 | * BuckoFIBS is released under the GNU license. | |
17 | * | |
18 | * Revision 1.1 2009/01/28 19:39:44 dick | |
19 | * package com.buckosoft.fibs.gui.playerList becomes com.buckosoft.fibs.BuckoFIBS.gui.playerList. | |
20 | * | |
21 | * Revision 1.2 2009/01/24 17:07:52 dick | |
22 | * Javadoc. | |
23 | * | |
24 | * Revision 1.1 2008/04/02 23:22:53 dick | |
25 | * Move playerList to it's own package. | |
26 | * | |
27 | * Revision 1.1 2008/03/29 08:57:43 dick | |
28 | * BuckoFIBS skeleton checkin. | |
29 | */ | |
30 | ||
31 | /* | |
32 | * This program is free software: you can redistribute it and/or modify | |
33 | * it under the terms of the GNU General Public License as published by | |
34 | * the Free Software Foundation, either version 3 of the License, or | |
35 | * (at your option) any later version. | |
36 | * | |
37 | * This program is distributed in the hope that it will be useful, | |
38 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
39 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
40 | * GNU General Public License for more details. | |
41 | * | |
42 | * You should have received a copy of the GNU General Public License | |
43 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
44 | * | |
45 | * The Original Code is BuckoFIBS, <http://www.buckosoft.com/BuckoFIBS/>. | |
46 | * The Initial Developer of the Original Code is Dick Balaska and BuckoSoft, Corp. | |
47 | * | |
48 | */ | |
49 | package com.buckosoft.fibs.BuckoFIBS.gui.playerList; | |
50 | ||
51 | /** Describe a column in the PlayerList | |
52 | * @author Dick Balaska | |
53 | * @since 2008/03/29 | |
54 | * @version $Revision$ <br> $Date$ | |
55 | * @see <a href="http://cvs.buckosoft.com/Projects/BuckoFIBS/BuckoFIBS/src/com/buckosoft/fibs/BuckoFIBS/gui/playerList/Column.java">cvs Column.java</a> | |
56 | */ | |
57 | public class Column { | |
58 | private String name; | |
59 | private int width; | |
60 | ||
61 | 0 | public Column(String name, int width) { |
62 | 0 | this.name = name; |
63 | 0 | this.width = width; |
64 | 0 | } |
65 | ||
66 | /** | |
67 | * @return the name | |
68 | */ | |
69 | public String getName() { | |
70 | 0 | return name; |
71 | } | |
72 | /** | |
73 | * @param name the name to set | |
74 | */ | |
75 | public void setName(String name) { | |
76 | 0 | this.name = name; |
77 | 0 | } |
78 | /** | |
79 | * @return the width | |
80 | */ | |
81 | public int getWidth() { | |
82 | 0 | return width; |
83 | } | |
84 | /** | |
85 | * @param width the width to set | |
86 | */ | |
87 | public void setWidth(int width) { | |
88 | 0 | this.width = width; |
89 | 0 | } |
90 | ||
91 | ||
92 | } |