4 * Created on 14 November 2001, 16:07
10 package org.tjworld.components;
13 * A user object for JTree models.
17 public class TreeURLItem extends org.tjworld.components.ComboBoxURLItem {
19 /** Creates new TreeURLItem */
20 public TreeURLItem() {
24 TreeURLItem(String title, String file, URL url, boolean local) {
25 super(title, file, url, local);
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
34 * It is recommended that all subclasses override this method.
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
44 * getClass().getName() + '@' + Integer.toHexString(hashCode())
47 * @return a string representation of the object.
49 public String toString() {