diff options
-rw-r--r-- | src/main/java/com/kitfox/svg/A.java | 6 | ||||
-rw-r--r-- | src/main/res/res/help/about/about.html | 2 | ||||
-rw-r--r-- | src/test/res/AdamTagletClasses.svg | 104 |
3 files changed, 108 insertions, 4 deletions
diff --git a/src/main/java/com/kitfox/svg/A.java b/src/main/java/com/kitfox/svg/A.java index 52b94b5..30a8fae 100644 --- a/src/main/java/com/kitfox/svg/A.java +++ b/src/main/java/com/kitfox/svg/A.java @@ -35,7 +35,7 @@ import java.net.URI; * @author Mark McKay
* @author <a href="mailto:mark@kitfox.com">Mark McKay</a>
*/
-public class A extends SVGElement {
+public class A extends Group {
URI href;
String title;
@@ -81,11 +81,11 @@ public class A extends SVGElement { */
public boolean updateTime(double curTime) throws SVGException
{
+ boolean changeState = super.updateTime(curTime);
// if (trackManager.getNumTracks() == 0) return false;
//Get current values for parameters
StyleAttribute sty = new StyleAttribute();
- boolean shapeChange = false;
if (getPres(sty.setName("xlink:href")))
{
@@ -97,6 +97,6 @@ public class A extends SVGElement { title = sty.getStringValue();
}
- return shapeChange;
+ return changeState;
}
}
diff --git a/src/main/res/res/help/about/about.html b/src/main/res/res/help/about/about.html index 4a6a716..dc52bcd 100644 --- a/src/main/res/res/help/about/about.html +++ b/src/main/res/res/help/about/about.html @@ -13,7 +13,7 @@ http://svgsalamander.dev.java.net<br>
http://www.kitfox.com<br>
<br>
- Last built: 2007, June, 6 06:53<br>
+ Last built: 2007, June, 8 12:33<br>
</div>
</body>
</html>
diff --git a/src/test/res/AdamTagletClasses.svg b/src/test/res/AdamTagletClasses.svg new file mode 100644 index 0000000..97e8064 --- /dev/null +++ b/src/test/res/AdamTagletClasses.svg @@ -0,0 +1,104 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd" [
+ <!ATTLIST svg xmlns:xlink CDATA #FIXED "http://www.w3.org/1999/xlink">
+]>
+<!-- Generated by dot version 2.8 (Sun May 7 16:51:34 GMT 2006)
+ For user: (dwalend) David Walend -->
+<!-- Title: DigraphName Pages: 1 -->
+<svg width="1298pt" height="200pt"
+ viewBox = "0 0 1298 200"
+ xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" style="font-family:Times-Roman;font-size:14.00;">
+<title>DigraphName</title>
+<polygon style="fill:white;stroke:white;" points="-2,202 -2,-2 1300,-2 1300,202 -2,202"/>
+<!-- net_walend_adamtaglet_AdamTaglet -->
+<g id="node1" class="node"><title>net_walend_adamtaglet_AdamTaglet</title>
+<a xlink:href="AdamTaglet.html" xlink:title="AdamTaglet">
+<polygon style="fill:dimgray;stroke:dimgray;" points="265,88 179,88 179,124 265,124 265,88"/>
+<text text-anchor="middle" x="222" y="111" style="font-family:Times;fill:white;">AdamTaglet</text>
+</a>
+</g>
+<!-- com_sun_tools_doclets_internal_toolkit_taglets_Taglet -->
+<g id="node2" class="node"><title>com_sun_tools_doclets_internal_toolkit_taglets_Taglet</title>
+<a xlink:href="../../../com/sun/tools/doclets/internal/toolkit/taglets/Taglet.html" xlink:title="com.sun.tools.doclets.internal.toolkit.taglets.Taglet">
+<polygon style="fill:dimgray;stroke:dimgray;" points="439,4 59,4 5,52 385,52 439,4"/>
+<text text-anchor="middle" x="222" y="33" style="font-family:Times;fill:white;">com.sun.tools.doclets.internal.toolkit.taglets.Taglet</text>
+</a>
+</g>
+<!-- com_sun_tools_doclets_internal_toolkit_taglets_Taglet->net_walend_adamtaglet_AdamTaglet -->
+<g id="edge2" class="edge"><title>com_sun_tools_doclets_internal_toolkit_taglets_Taglet->net_walend_adamtaglet_AdamTaglet</title>
+<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M222,52C222,57 222,62 222,68"/>
+<polygon style="fill:black;stroke:black;" points="229,88 222,68 215,88 229,88"/>
+</g>
+<!-- net_walend_adamtaglet_ClassDiagramBuilder -->
+<g id="node3" class="node"><title>net_walend_adamtaglet_ClassDiagramBuilder</title>
+<a xlink:href="ClassDiagramBuilder.html" xlink:title="ClassDiagramBuilder">
+<polygon style="fill:dimgray;stroke:dimgray;" points="594,10 458,10 458,46 594,46 594,10"/>
+<text text-anchor="middle" x="526" y="33" style="font-family:Times;fill:white;">ClassDiagramBuilder</text>
+</a>
+</g>
+<!-- net_walend_adamtaglet_ClassDiagramVisitor -->
+<g id="node4" class="node"><title>net_walend_adamtaglet_ClassDiagramVisitor</title>
+<a xlink:href="ClassDiagramVisitor.html" xlink:title="ClassDiagramVisitor">
+<polygon style="fill:dimgray;stroke:dimgray;" points="803,88 669,88 669,124 803,124 803,88"/>
+<text text-anchor="middle" x="736" y="111" style="font-family:Times;fill:white;">ClassDiagramVisitor</text>
+</a>
+</g>
+<!-- net_walend_tographviz_ToGraphvizVisitor -->
+<g id="node5" class="node"><title>net_walend_tographviz_ToGraphvizVisitor</title>
+<a xlink:href="https://jdigraph.dev.java.net/nonav/api/net/walend/tographviz/ToGraphvizVisitor.html" xlink:title="net.walend.tographviz.ToGraphvizVisitor">
+<polygon style="fill:dimgray;stroke:dimgray;" points="860,10 612,10 612,46 860,46 860,10"/>
+<text text-anchor="middle" x="736" y="33" style="font-family:Times;fill:white;">net.walend.tographviz.ToGraphvizVisitor</text>
+</a>
+</g>
+<!-- net_walend_tographviz_ToGraphvizVisitor->net_walend_adamtaglet_ClassDiagramVisitor -->
+<g id="edge4" class="edge"><title>net_walend_tographviz_ToGraphvizVisitor->net_walend_adamtaglet_ClassDiagramVisitor</title>
+<path style="fill:none;stroke:black;" d="M736,46C736,53 736,60 736,68"/>
+<polygon style="fill:black;stroke:black;" points="743,88 736,68 729,88 743,88"/>
+</g>
+<!-- net_walend_adamtaglet_Relationship -->
+<g id="node6" class="node"><title>net_walend_adamtaglet_Relationship</title>
+<a xlink:href="Relationship.html" xlink:title="Relationship">
+<polygon style="fill:dimgray;stroke:dimgray;" points="1134,160 1048,160 1048,196 1134,196 1134,160"/>
+<text text-anchor="middle" x="1091" y="183" style="font-family:Times;fill:white;">Relationship</text>
+</a>
+</g>
+<!-- java_lang_Enum -->
+<g id="node7" class="node"><title>java_lang_Enum</title>
+<a xlink:href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html" xlink:title="java.lang.Enum">
+<polygon style="fill:dimgray;stroke:dimgray;" points="1143,88 1039,88 1039,124 1143,124 1143,88"/>
+<text text-anchor="middle" x="1091" y="111" style="font-family:Times;fill:white;">java.lang.Enum</text>
+</a>
+</g>
+<!-- java_lang_Enum->net_walend_adamtaglet_Relationship -->
+<g id="edge6" class="edge"><title>java_lang_Enum->net_walend_adamtaglet_Relationship</title>
+<path style="fill:none;stroke:black;" d="M1091,124C1091,129 1091,134 1091,140"/>
+<polygon style="fill:black;stroke:black;" points="1098,160 1091,140 1084,160 1098,160"/>
+</g>
+<!-- java_lang_Comparable -->
+<g id="node8" class="node"><title>java_lang_Comparable</title>
+<a xlink:href="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Comparable.html" xlink:title="java.lang.Comparable">
+<polygon style="fill:dimgray;stroke:dimgray;" points="1087,4 905,4 879,52 1061,52 1087,4"/>
+<text text-anchor="middle" x="983" y="33" style="font-family:Times;fill:white;">java.lang.Comparable</text>
+</a>
+</g>
+<!-- java_lang_Comparable->java_lang_Enum -->
+<g id="edge8" class="edge"><title>java_lang_Comparable->java_lang_Enum</title>
+<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M1016,52C1026,60 1038,68 1049,76"/>
+<polygon style="fill:black;stroke:black;" points="1070,82 1050,76 1062,94 1070,82"/>
+</g>
+<!-- java_io_Serializable -->
+<g id="node9" class="node"><title>java_io_Serializable</title>
+<a xlink:href="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html" xlink:title="java.io.Serializable">
+<polygon style="fill:dimgray;stroke:dimgray;" points="1294,4 1130,4 1106,52 1270,52 1294,4"/>
+<text text-anchor="middle" x="1200" y="33" style="font-family:Times;fill:white;">java.io.Serializable</text>
+</a>
+</g>
+<!-- java_io_Serializable->java_lang_Enum -->
+<g id="edge10" class="edge"><title>java_io_Serializable->java_lang_Enum</title>
+<path style="fill:none;stroke:black;stroke-dasharray:5,2;" d="M1166,52C1156,60 1144,68 1133,76"/>
+<polygon style="fill:black;stroke:black;" points="1120,94 1132,76 1112,82 1120,94"/>
+</g>
+</g>
+</svg>
|