KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > lucane > applications > reunion > ReunionUserProperties


1 /*
2  * Lucane - a collaborative platform
3  * Copyright (C) 2004 Jonathan Riboux <jonathan.riboux@wanadoo.fr>
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18  */

19 package org.lucane.applications.reunion;
20
21 import java.io.Serializable JavaDoc;
22
23 public class ReunionUserProperties
24 implements Serializable JavaDoc
25 {
26   private String JavaDoc user;
27   private String JavaDoc bgcolor;
28   private String JavaDoc fgcolor;
29
30   public ReunionUserProperties(String JavaDoc user, String JavaDoc fgcolor, String JavaDoc bgcolor) {
31     this.user = user;
32     this.fgcolor = fgcolor;
33     this.bgcolor = bgcolor;
34   }
35
36   public String JavaDoc getUser() {
37     return user;
38   }
39   public void setUser(String JavaDoc string) {
40     user = string;
41   }
42
43   public String JavaDoc getBgColor() {
44     return bgcolor;
45   }
46   public void setBgcolor(String JavaDoc string) {
47     bgcolor = string;
48   }
49
50   public String JavaDoc getFgColor() {
51     return fgcolor;
52   }
53   public void setFgcolor(String JavaDoc string) {
54     fgcolor = string;
55   }
56   
57   public String JavaDoc toString()
58   {
59     return user;
60   }
61
62 }
63
Popular Tags