link start!
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
public interface AnimatedAttributeListener {
|
||||
void animatedAttributeChanged(Element element, AnimatedLiveAttributeValue animatedLiveAttributeValue);
|
||||
|
||||
void otherAnimationChanged(Element element, String str);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.apache.batik.anim.values.AnimatableValue;
|
||||
import org.apache.batik.dom.anim.AnimationTarget;
|
||||
|
||||
public interface AnimatedLiveAttributeValue extends LiveAttributeValue {
|
||||
void addAnimatedAttributeListener(AnimatedAttributeListener animatedAttributeListener);
|
||||
|
||||
String getLocalName();
|
||||
|
||||
String getNamespaceURI();
|
||||
|
||||
AnimatableValue getUnderlyingValue(AnimationTarget animationTarget);
|
||||
|
||||
void removeAnimatedAttributeListener(AnimatedAttributeListener animatedAttributeListener);
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
public interface ExtendedTraitAccess extends TraitAccess {
|
||||
int getAttributeType(String str, String str2);
|
||||
|
||||
int getPropertyType(String str);
|
||||
|
||||
boolean hasProperty(String str);
|
||||
|
||||
boolean hasTrait(String str, String str2);
|
||||
|
||||
boolean isAttributeAdditive(String str, String str2);
|
||||
|
||||
boolean isAttributeAnimatable(String str, String str2);
|
||||
|
||||
boolean isPropertyAdditive(String str);
|
||||
|
||||
boolean isPropertyAnimatable(String str);
|
||||
|
||||
boolean isTraitAdditive(String str, String str2);
|
||||
|
||||
boolean isTraitAnimatable(String str, String str2);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.w3c.dom.Element;
|
||||
|
||||
public interface IdContainer {
|
||||
Element getElementById(String str);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
public interface ListHandler {
|
||||
void endList();
|
||||
|
||||
void item(SVGItem sVGItem);
|
||||
|
||||
void startList();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.w3c.dom.Attr;
|
||||
|
||||
public interface LiveAttributeValue {
|
||||
void attrAdded(Attr attr, String str);
|
||||
|
||||
void attrModified(Attr attr, String str, String str2);
|
||||
|
||||
void attrRemoved(Attr attr, String str);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.w3c.dom.smil.ElementTimeControl;
|
||||
import org.w3c.dom.svg.SVGElement;
|
||||
|
||||
public interface SVGAnimationContext extends SVGContext, ElementTimeControl {
|
||||
float getCurrentTime();
|
||||
|
||||
float getHyperlinkBeginTime();
|
||||
|
||||
float getSimpleDuration();
|
||||
|
||||
float getStartTime();
|
||||
|
||||
SVGElement getTargetElement();
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import org.apache.batik.dom.anim.AnimationTargetListener;
|
||||
|
||||
public interface SVGAnimationTargetContext extends SVGContext {
|
||||
void addTargetListener(String str, AnimationTargetListener animationTargetListener);
|
||||
|
||||
void removeTargetListener(String str, AnimationTargetListener animationTargetListener);
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.awt.geom.AffineTransform;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
|
||||
public interface SVGContext {
|
||||
public static final int PERCENTAGE_FONT_SIZE = 0;
|
||||
public static final int PERCENTAGE_VIEWPORT_HEIGHT = 2;
|
||||
public static final int PERCENTAGE_VIEWPORT_SIZE = 3;
|
||||
public static final int PERCENTAGE_VIEWPORT_WIDTH = 1;
|
||||
|
||||
Rectangle2D getBBox();
|
||||
|
||||
AffineTransform getCTM();
|
||||
|
||||
float getFontSize();
|
||||
|
||||
AffineTransform getGlobalTransform();
|
||||
|
||||
float getPixelToMM();
|
||||
|
||||
float getPixelUnitToMillimeter();
|
||||
|
||||
AffineTransform getScreenTransform();
|
||||
|
||||
float getViewportHeight();
|
||||
|
||||
float getViewportWidth();
|
||||
|
||||
void setScreenTransform(AffineTransform affineTransform);
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.io.Reader;
|
||||
import org.apache.batik.dom.util.DocumentFactory;
|
||||
import org.w3c.dom.svg.SVGDocument;
|
||||
|
||||
public interface SVGDocumentFactory extends DocumentFactory {
|
||||
SVGDocument createSVGDocument(String str) throws IOException;
|
||||
|
||||
SVGDocument createSVGDocument(String str, InputStream inputStream) throws IOException;
|
||||
|
||||
SVGDocument createSVGDocument(String str, Reader reader) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
public interface SVGItem {
|
||||
AbstractSVGList getParent();
|
||||
|
||||
String getValueAsString();
|
||||
|
||||
void setParent(AbstractSVGList abstractSVGList);
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.awt.geom.AffineTransform;
|
||||
|
||||
public interface SVGMotionAnimatableElement {
|
||||
AffineTransform getMotionTransform();
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.awt.geom.Point2D;
|
||||
|
||||
public interface SVGPathContext extends SVGContext {
|
||||
int getPathSegAtLength(float f);
|
||||
|
||||
Point2D getPointAtLength(float f);
|
||||
|
||||
float getTotalLength();
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.util.List;
|
||||
import org.w3c.dom.Element;
|
||||
import org.w3c.dom.svg.SVGRect;
|
||||
|
||||
public interface SVGSVGContext extends SVGContext {
|
||||
boolean animationsPaused();
|
||||
|
||||
boolean checkEnclosure(Element element, SVGRect sVGRect);
|
||||
|
||||
boolean checkIntersection(Element element, SVGRect sVGRect);
|
||||
|
||||
void deselectAll();
|
||||
|
||||
void forceRedraw();
|
||||
|
||||
float getCurrentTime();
|
||||
|
||||
List getEnclosureList(SVGRect sVGRect, Element element);
|
||||
|
||||
List getIntersectionList(SVGRect sVGRect, Element element);
|
||||
|
||||
void pauseAnimations();
|
||||
|
||||
void setCurrentTime(float f);
|
||||
|
||||
int suspendRedraw(int i);
|
||||
|
||||
void unpauseAnimations();
|
||||
|
||||
boolean unsuspendRedraw(int i);
|
||||
|
||||
void unsuspendRedrawAll();
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
import java.awt.geom.Point2D;
|
||||
import java.awt.geom.Rectangle2D;
|
||||
|
||||
public interface SVGTextContent {
|
||||
int getCharNumAtPosition(float f, float f2);
|
||||
|
||||
float getComputedTextLength();
|
||||
|
||||
Point2D getEndPositionOfChar(int i);
|
||||
|
||||
Rectangle2D getExtentOfChar(int i);
|
||||
|
||||
int getNumberOfChars();
|
||||
|
||||
float getRotationOfChar(int i);
|
||||
|
||||
Point2D getStartPositionOfChar(int i);
|
||||
|
||||
float getSubStringLength(int i, int i2);
|
||||
|
||||
void selectSubString(int i, int i2);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package org.apache.batik.dom.svg;
|
||||
|
||||
public interface TraitAccess {
|
||||
}
|
||||
Reference in New Issue
Block a user