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 de...@apache.org on 2003/10/19 03:11:33 UTC
cvs commit: xml-batik/sources/org/apache/batik/gvt ImageNode.java
deweese 2003/10/18 18:11:33
Modified: sources/org/apache/batik/gvt ImageNode.java
Log:
1) Modifying the visibility of images at runtime now works properly.
Revision Changes Path
1.17 +7 -1 xml-batik/sources/org/apache/batik/gvt/ImageNode.java
Index: ImageNode.java
===================================================================
RCS file: /home/cvs/xml-batik/sources/org/apache/batik/gvt/ImageNode.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ImageNode.java 17 Oct 2003 18:10:22 -0000 1.16
+++ ImageNode.java 19 Oct 2003 01:11:33 -0000 1.17
@@ -68,6 +68,12 @@
*/
public ImageNode() {}
+ public void setVisible(boolean isVisible) {
+ fireGraphicsNodeChangeStarted();
+ this.isVisible = isVisible;
+ fireGraphicsNodeChangeCompleted();
+ }
+
/**
* If hitCheckChildren is true then nodeHitAt will return
* child nodes of this image. Otherwise it will only
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-dev-help@xml.apache.org