1 /****************************************************************************** 2 * PlayerColumns.java - A List of Columns for the playerList table. 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.5 2009/03/12 15:46:20 dick 16 * Add the client type. 17 * 18 * Revision 1.4 2009/03/04 19:02:18 dick 19 * Add the win/loss column. 20 * 21 * Revision 1.3 2009/02/24 08:06:03 dick 22 * Add Host. Tweak column widths. 23 * 24 * Revision 1.2 2009/02/14 15:46:36 dick 25 * BuckoFIBS is released under the GNU license. 26 * 27 * Revision 1.1 2009/01/28 19:39:44 dick 28 * package com.buckosoft.fibs.gui.playerList becomes com.buckosoft.fibs.BuckoFIBS.gui.playerList. 29 * 30 * Revision 1.3 2009/01/28 18:19:49 dick 31 * Prettier cvs link in the javadoc. 32 * 33 * Revision 1.2 2009/01/22 05:09:48 dick 34 * Name is wider. 35 * 36 * Revision 1.1 2008/04/02 23:22:53 dick 37 * Move playerList to it's own package. 38 * 39 * Revision 1.1 2008/03/29 08:57:43 dick 40 * BuckoFIBS skeleton checkin. 41 */ 42 43 /* 44 * This program is free software: you can redistribute it and/or modify 45 * it under the terms of the GNU General Public License as published by 46 * the Free Software Foundation, either version 3 of the License, or 47 * (at your option) any later version. 48 * 49 * This program is distributed in the hope that it will be useful, 50 * but WITHOUT ANY WARRANTY; without even the implied warranty of 51 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 52 * GNU General Public License for more details. 53 * 54 * You should have received a copy of the GNU General Public License 55 * along with this program. If not, see <http://www.gnu.org/licenses/>. 56 * 57 * The Original Code is BuckoFIBS, <http://www.buckosoft.com/BuckoFIBS/>. 58 * The Initial Developer of the Original Code is Dick Balaska and BuckoSoft, Corp. 59 * 60 */ 61 package com.buckosoft.fibs.BuckoFIBS.gui.playerList; 62 63 import java.util.LinkedList; 64 65 66 /** A List of Columns for the playerList table. 67 * @author Dick Balaska 68 * @since 2008/03/29 69 * @version $Revision$ <br> $Date$ 70 * @see <a href="http://cvs.buckosoft.com/Projects/BuckoFIBS/BuckoFIBS/src/com/buckosoft/fibs/BuckoFIBS/gui/playerList/PlayerColumns.java">cvs PlayerColumns.java</a> 71 */ 72 public class PlayerColumns { 73 private LinkedList<Column> columns = new LinkedList<Column>(); 74 75 /** Construct the list of columns 76 */ 77 PlayerColumns() { 78 columns.add(new Column("Name", 150)); 79 columns.add(new Column("Status", 60)); 80 columns.add(new Column("Rating", 65)); 81 columns.add(new Column("Exp", 60)); 82 columns.add(new Column("W-L", 40)); 83 columns.add(new Column("Client", 100)); 84 columns.add(new Column("Host", 430)); 85 } 86 87 /** Get the list of columns 88 * @return the columns 89 */ 90 public LinkedList<Column> getColumns() { 91 return columns; 92 } 93 }