01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/scenegraph/TreeViewInterface.java,v 1.1 2005/04/20 22:20:43 paulby Exp $
03: *
04: * Sun Public License Notice
05: *
06: * The contents of this file are subject to the Sun Public License Version
07: * 1.0 (the "License"). You may not use this file except in compliance with
08: * the License. A copy of the License is available at http://www.sun.com/
09: *
10: * The Original Code is the Java 3D(tm) Scene Graph Editor.
11: * The Initial Developer of the Original Code is Paul Byrne.
12: * Portions created by Paul Byrne are Copyright (C) 2002.
13: * All Rights Reserved.
14: *
15: * Contributor(s): Paul Byrne.
16: *
17: **/
18: package org.jdesktop.j3dedit.scenegraph;
19:
20: /**
21: *
22: * @author paulby
23: * @version
24: */
25: public interface TreeViewInterface {
26:
27: /**
28: * Set the name of this node
29: */
30: public void setNodeName(String name);
31:
32: /**
33: * Set the highlight state of this node
34: */
35: public void setHighlight(boolean highlighted);
36:
37: /**
38: * Repaint this node
39: */
40: public void repaint();
41:
42: /**
43: * Set the icon for this object.
44: *
45: * TODO : This method must be removed. The TVObject and other
46: * implementations of the TreeViewInterface should figure out the
47: * Icons themselves.
48: */
49: public void setIcon(java.awt.Image image);
50:
51: }
|