Source code: com/memoire/dnd/DndProperty.java
1 /**
2 * @modification $Date: 2001/12/03 16:28:08 $
3 * @statut unstable
4 * @file DndProperty.java
5 * @version 0.36
6 * @author Guillaume Desnoix
7 * @email guillaume@desnoix.com
8 * @license GNU General Public License 2 (GPL2)
9 * @copyright 1998-2001 Guillaume Desnoix
10 */
11
12 package com.memoire.dnd;
13 import com.memoire.dnd.*;
14
15
16 public class DndProperty
17 {
18 private String name_;
19 private Object value_;
20
21 public DndProperty(String _name,Object _value)
22 {
23 name_=_name;
24 value_=_value;
25 }
26
27 public String getName () { return name_; }
28 public Object getValue() { return value_; }
29
30 public String toString()
31 { return "<"+name_+":"+value_+">"; }
32 }