Visual Color Imbalance Detector: Reconstructed project directories and files
[VistaCID.git] / org / tjworld / components / TreeURLItem.java
1 /*
2         * TreeURLItem.java
3  *
4         * Created on 14 November 2001, 16:07
5         * $Header: $
6         *
7         * $History: $
8  */
9
10 package org.tjworld.components;
11
12 /**
13  * A user object for JTree models.
14         * @author  TJ
15  * @version 1.0
16  */
17 public class TreeURLItem extends org.tjworld.components.ComboBoxURLItem {
18
19         /** Creates new TreeURLItem */
20  public TreeURLItem() {
21                 super();
22  }
23
24         TreeURLItem(String title, String file, URL url, boolean local) {
25                 super(title, file, url, local);
26         }
27
28         /**
29                 * Returns a string representation of the object. In general, the
30                 * <code>toString</code> method returns a string that
31                 * "textually represents" this object. The result should
32                 * be a concise but informative representation that is easy for a
33                 * person to read.
34                 * It is recommended that all subclasses override this method.
35                 * <p>
36                 * The <code>toString</code> method for class <code>Object</code>
37                 * returns a string consisting of the name of the class of which the
38                 * object is an instance, the at-sign character `<code>@</code>', and
39                 * the unsigned hexadecimal representation of the hash code of the
40                 * object. In other words, this method returns a string equal to the
41                 * value of:
42                 * <blockquote>
43                 * <pre>
44                 * getClass().getName() + '@' + Integer.toHexString(hashCode())
45                 * </pre></blockquote>
46                 *
47                 * @return  a string representation of the object.
48                 */
49         public String toString() {
50                 return title;
51         }
52 }