link start!
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package org.apache.batik.css.engine.value;
|
||||
|
||||
import org.apache.batik.css.engine.CSSEngine;
|
||||
import org.w3c.css.sac.LexicalUnit;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface ShorthandManager {
|
||||
|
||||
public interface PropertyHandler {
|
||||
void property(String str, LexicalUnit lexicalUnit, boolean z);
|
||||
}
|
||||
|
||||
String getPropertyName();
|
||||
|
||||
boolean isAdditiveProperty();
|
||||
|
||||
boolean isAnimatableProperty();
|
||||
|
||||
void setValues(CSSEngine cSSEngine, PropertyHandler propertyHandler, LexicalUnit lexicalUnit, boolean z) throws DOMException;
|
||||
}
|
||||
@@ -0,0 +1,39 @@
|
||||
package org.apache.batik.css.engine.value;
|
||||
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface Value {
|
||||
Value getBlue() throws DOMException;
|
||||
|
||||
Value getBottom() throws DOMException;
|
||||
|
||||
String getCssText();
|
||||
|
||||
short getCssValueType();
|
||||
|
||||
float getFloatValue() throws DOMException;
|
||||
|
||||
Value getGreen() throws DOMException;
|
||||
|
||||
String getIdentifier() throws DOMException;
|
||||
|
||||
Value getLeft() throws DOMException;
|
||||
|
||||
int getLength() throws DOMException;
|
||||
|
||||
String getListStyle() throws DOMException;
|
||||
|
||||
short getPrimitiveType();
|
||||
|
||||
Value getRed() throws DOMException;
|
||||
|
||||
Value getRight() throws DOMException;
|
||||
|
||||
String getSeparator() throws DOMException;
|
||||
|
||||
String getStringValue() throws DOMException;
|
||||
|
||||
Value getTop() throws DOMException;
|
||||
|
||||
Value item(int i) throws DOMException;
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
package org.apache.batik.css.engine.value;
|
||||
|
||||
import org.apache.batik.css.engine.CSSEngine;
|
||||
import org.apache.batik.css.engine.CSSStylableElement;
|
||||
import org.apache.batik.css.engine.StyleMap;
|
||||
import org.w3c.css.sac.LexicalUnit;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface ValueManager {
|
||||
Value computeValue(CSSStylableElement cSSStylableElement, String str, CSSEngine cSSEngine, int i, StyleMap styleMap, Value value);
|
||||
|
||||
Value createFloatValue(short s, float f) throws DOMException;
|
||||
|
||||
Value createStringValue(short s, String str, CSSEngine cSSEngine) throws DOMException;
|
||||
|
||||
Value createValue(LexicalUnit lexicalUnit, CSSEngine cSSEngine) throws DOMException;
|
||||
|
||||
Value getDefaultValue();
|
||||
|
||||
String getPropertyName();
|
||||
|
||||
int getPropertyType();
|
||||
|
||||
boolean isAdditiveProperty();
|
||||
|
||||
boolean isAnimatableProperty();
|
||||
|
||||
boolean isInheritedProperty();
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package org.apache.batik.css.engine.value.svg;
|
||||
|
||||
import org.apache.batik.css.engine.value.Value;
|
||||
import org.w3c.dom.DOMException;
|
||||
|
||||
public interface SVGValue extends Value {
|
||||
float getColor(int i) throws DOMException;
|
||||
|
||||
String getColorProfile() throws DOMException;
|
||||
|
||||
short getColorType() throws DOMException;
|
||||
|
||||
int getNumberOfColors() throws DOMException;
|
||||
|
||||
short getPaintType() throws DOMException;
|
||||
|
||||
String getUri() throws DOMException;
|
||||
}
|
||||
Reference in New Issue
Block a user