summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xnbproject/build-impl.xml20
-rwxr-xr-xnbproject/genfiles.properties4
-rw-r--r--src/main/java/com/kitfox/svg/SVGElement.java10
3 files changed, 32 insertions, 2 deletions
diff --git a/nbproject/build-impl.xml b/nbproject/build-impl.xml
index 10405b2..fafcef2 100755
--- a/nbproject/build-impl.xml
+++ b/nbproject/build-impl.xml
@@ -754,6 +754,26 @@ is divided into following sections:
<include name="**/*.java"/>
</fileset>
</javadoc>
+ <copy todir="${dist.javadoc.dir}">
+ <fileset dir="${src.www.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.java.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${src.res.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${res.dir}" excludes="${excludes}" includes="${includes}">
+ <filename name="**/doc-files/**"/>
+ </fileset>
+ <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">
+ <include name="**/doc-files/**"/>
+ </fileset>
+ </copy>
</target>
<target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">
<nbbrowse file="${dist.javadoc.dir}/index.html"/>
diff --git a/nbproject/genfiles.properties b/nbproject/genfiles.properties
index 66110a4..f096182 100755
--- a/nbproject/genfiles.properties
+++ b/nbproject/genfiles.properties
@@ -4,5 +4,5 @@ build.xml.stylesheet.CRC32=be360661
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=478066e1
-nbproject/build-impl.xml.script.CRC32=371d3a48
-nbproject/build-impl.xml.stylesheet.CRC32=78c6a6ee@1.38.1.45
+nbproject/build-impl.xml.script.CRC32=3700c371
+nbproject/build-impl.xml.stylesheet.CRC32=f33e10ff@1.38.2.45
diff --git a/src/main/java/com/kitfox/svg/SVGElement.java b/src/main/java/com/kitfox/svg/SVGElement.java
index 06803de..7ff31e6 100644
--- a/src/main/java/com/kitfox/svg/SVGElement.java
+++ b/src/main/java/com/kitfox/svg/SVGElement.java
@@ -858,5 +858,15 @@ abstract public class SVGElement implements Serializable
* update
*/
abstract public boolean updateTime(double curTime) throws SVGException;
+
+ public int getNumChildren()
+ {
+ return children.size();
+ }
+
+ public SVGElement getChild(int i)
+ {
+ return (SVGElement)children.get(i);
+ }
}