summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/kitfox/salamander/svg/fills
diff options
context:
space:
mode:
authorkitfox2007-04-13 17:37:54 +0200
committerkitfox2007-04-13 17:37:54 +0200
commitda3090bc6de061f2b611138a9fbfe6f2db477cfc (patch)
tree96ef86d88f17a3333412ead9a5497b459871d719 /src/main/java/com/kitfox/salamander/svg/fills
parentAdded text and formatting interfaces. (diff)
downloadsvg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.tar.gz
svg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.tar.xz
svg-salamander-core-da3090bc6de061f2b611138a9fbfe6f2db477cfc.zip
Added filter interfaces.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@23 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
Diffstat (limited to 'src/main/java/com/kitfox/salamander/svg/fills')
-rw-r--r--src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java5
-rw-r--r--src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java b/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
index 00088c1..98690b0 100644
--- a/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/fills/SVGGradientElement.java
@@ -14,6 +14,7 @@ import com.kitfox.salamander.svg.basic.SVGElement;
import com.kitfox.salamander.svg.basic.SVGExternalResourcesRequired;
import com.kitfox.salamander.svg.basic.SVGStylable;
import com.kitfox.salamander.svg.basic.SVGURIReference;
+import com.kitfox.salamander.svg.basic.SVGUnitTypes;
import com.kitfox.salamander.svg.coordSystems.SVGAnimatedTransformList;
/**
@@ -48,7 +49,7 @@ public interface SVGGradientElement extends SVGElement,
/**
* Corresponds to attribute gradientUnits on the given element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getGradientUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getGradientUnits();
/**
* Corresponds to attribute gradientTransform on the given element.
*/
@@ -56,6 +57,6 @@ public interface SVGGradientElement extends SVGElement,
/**
* Corresponds to attribute spreadMethod on the given element. One of the Spread Method Types.
*/
- public SVGAnimatedEnumeration getSpreadMethod();
+ public SVGAnimatedEnumeration<SpreadMethod> getSpreadMethod();
}
diff --git a/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java b/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
index 28cf6a6..f551c4a 100644
--- a/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
+++ b/src/main/java/com/kitfox/salamander/svg/fills/SVGPatternElement.java
@@ -37,11 +37,11 @@ public interface SVGPatternElement extends SVGElement,
/**
* Corresponds to attribute patternUnits on the given 'pattern' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getPatternUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getPatternUnits();
/**
* Corresponds to attribute patternContentUnits on the given 'pattern' element. Takes one of the constants defined in SVGUnitTypes.
*/
- public SVGAnimatedEnumeration getPatternContentUnits();
+ public SVGAnimatedEnumeration<SVGUnitTypes.Type> getPatternContentUnits();
/**
* Corresponds to attribute patternTransform on the given 'pattern' element.
*/