Source code: com/memoire/dja/DjaNode.java
1 /**
2 * @modification $Date: 2001/12/03 16:28:08 $
3 * @statut unstable
4 * @file DjaNode.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.dja;
13
14 import com.memoire.fu.*;
15 import com.memoire.dnd.*;
16 import com.memoire.bu.*;
17 import com.memoire.dja.*;
18 import com.memoire.mst.*;
19
20
21 import javax.swing.*;
22
23 public abstract class DjaNode
24 {
25 abstract int getChildCount ();
26 abstract boolean isLeaf ();
27 abstract Object getChild (int _index);
28 abstract int getIndexOfChild(Object _child);
29
30 public Object getValue() { return null; }
31 public String getTitle() { return toString(); }
32 public Icon getIcon () { return null; }
33 }
34