summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/svg/animation/AnimateColor.java
diff options
context:
space:
mode:
authorkitfox2013-03-19 06:20:37 +0100
committerkitfox2013-03-19 06:20:37 +0100
commit6776ed9f1a81e517139d85eb6d2e28911fd0fc35 (patch)
treee169f598f518670f5434d75d1b76ceb3c0765d32 /src/main/java/com/kitfox/svg/animation/AnimateColor.java
parentError handling now sends warnings to Logger. (diff)
downloadsvg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.tar.gz
svg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.tar.xz
svg-salamander-core-6776ed9f1a81e517139d85eb6d2e28911fd0fc35.zip
Adding support for style sheets.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@153 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/svg/animation/AnimateColor.java')
-rw-r--r--src/main/java/com/kitfox/svg/animation/AnimateColor.java9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/main/java/com/kitfox/svg/animation/AnimateColor.java b/src/main/java/com/kitfox/svg/animation/AnimateColor.java
index a5f59f8..a88bbdc 100644
--- a/src/main/java/com/kitfox/svg/animation/AnimateColor.java
+++ b/src/main/java/com/kitfox/svg/animation/AnimateColor.java
@@ -53,6 +53,8 @@ import org.xml.sax.SAXException;
*/
public class AnimateColor extends AnimateBase implements AnimateColorIface
{
+ public static final String TAG_NAME = "animateColor";
+
protected Color fromValue;
protected Color toValue;
@@ -61,7 +63,12 @@ public class AnimateColor extends AnimateBase implements AnimateColorIface
public AnimateColor()
{
}
-
+
+ public String getTagName()
+ {
+ return TAG_NAME;
+ }
+
public void loaderStartElement(SVGLoaderHelper helper, Attributes attrs, SVGElement parent) throws SAXException
{
//Load style string