01: /*
02: * $Header: /cvs/j3dfly/J3dEditor/src/org/jdesktop/j3dedit/scenegraph/SGLeaf.java,v 1.1 2005/04/20 22:20:40 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: import java.awt.Graphics2D;
21: import java.awt.Graphics;
22: import java.awt.Polygon;
23: import java.awt.Point;
24: import java.awt.Dimension;
25:
26: public class SGLeaf extends SGNode {
27:
28: /**
29: * Create the ancillary SGNode representing node
30: */
31: public SGLeaf(javax.media.j3d.Node node,
32: org.jdesktop.j3dedit.J3dEditContext editContext) {
33: super (node, editContext);
34: }
35:
36: /**
37: * Change the live state of this node, this may change the live
38: * state of other nodes in the graph, but in general the minimum
39: * change will be made
40: */
41: public void setLive(boolean live) {
42: parent.setLive(live);
43: }
44:
45: }
|