Source code: cor/gui/JspmTreeObject.java
1 /*-----------------------------------------------------------------------------------------------------*/
2 /* */
3 /* Copyright (C) */
4 /* */
5 /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU */
6 /* General Public License as published by the Free Software Foundation; either version 2 of the */
7 /* License, or (at your option) any later version. */
8 /* */
9 /* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; */
10 /* without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR */
11 /* PURPOSE. See the GNU General Public License for more details. */
12 /* */
13 /* You should have received a copy of the GNU General Public License along with this program; if */
14 /* not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA */
15 /* 02111-1307 USA */
16 /* */
17 /*-----------------------------------------------------------------------------------------------------*/
18 /* */
19 /* $Author: strand01 $ $Revision: 1.3 $ $Date: 2001/12/20 14:23:02 $ */
20 /* */
21 /*-----------------------------------------------------------------------------------------------------*/
22
23 package cor.gui;
24
25 /**
26 * Performance tree object definition.
27 *
28 * This class represents one node in the performance tree. The different parameters used to display a node
29 * in the tree, which are use by the TreeCellRenderer are defined here. The TreeCellRenderer will use the
30 * name of the object to get the icon from the icon table and NOT the label. The node itself will be displayed
31 * using the label and NOT the name.
32 *
33 * @author Steve Randall (strand012001@yahoo.com)
34 * @version 0.0.11
35 * @date 30/11/2001
36 */
37
38 public interface JspmTreeObject
39 {
40 public String getName();
41 public String getLabel();
42 public String getIcon();
43 public int getStatus();
44
45 };