1 package hero.client.manager; 2 3 /* 4 * 5 * ListItem.java - 6 * Copyright (C) 2002 Ecoo Team 7 * valdes@loria.fr 8 * 9 * 10 * This program is free software; you can redistribute it and/or 11 * modify it under the terms of the GNU Lesser General Public License 12 * as published by the Free Software Foundation; either version 2 13 * of the License, or (at your option) any later version. 14 * 15 * This program is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License for more details. 19 * 20 * You should have received a copy of the GNU Lesser General Public License 21 * along with this program; if not, write to the Free Software 22 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 23 */ 24 25 26 import java.awt.Color; 27 28 public class ListItem { 29 private Color color; 30 private String value; 31 32 public ListItem(Color c, String s) { 33 color = c; 34 value = s; 35 } 36 public Color getColor() { 37 return color; 38 } 39 public String getValue() { 40 return value; 41 } 42 } 43 44