You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-dev@xmlgraphics.apache.org by hi...@apache.org on 2001/04/11 19:32:24 UTC
cvs commit: xml-batik/sources/org/apache/batik/swing/gvt JGVTComponent.java
hillion 01/04/11 10:32:24
Modified: sources/org/apache/batik/swing/gvt JGVTComponent.java
Log:
Implemented getGraphicsNode().
Revision Changes Path
1.7 +8 -1 xml-batik/sources/org/apache/batik/swing/gvt/JGVTComponent.java
Index: JGVTComponent.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/swing/gvt/JGVTComponent.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- JGVTComponent.java 2001/04/10 17:27:27 1.6
+++ JGVTComponent.java 2001/04/11 17:32:24 1.7
@@ -52,7 +52,7 @@
* This class represents a component which can display a GVT tree.
*
* @author <a href="mailto:stephane@hillion.org">Stephane Hillion</a>
- * @version $Id: JGVTComponent.java,v 1.6 2001/04/10 17:27:27 hillion Exp $
+ * @version $Id: JGVTComponent.java,v 1.7 2001/04/11 17:32:24 hillion Exp $
*/
public class JGVTComponent extends JComponent {
@@ -239,6 +239,13 @@
gvtTreeRenderer.interrupt();
interruptProgressivePaintThread();
}
+ }
+
+ /**
+ * Returns the root of the GVT tree displayed by this component, if any.
+ */
+ public GraphicsNode getGraphicsNode() {
+ return gvtRoot;
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org