|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.batik.css.value.DefaultCommonCSSContext | +--org.apache.batik.css.svg.DefaultSVGCSSContext
This class is the default implementation of the SVGCSSContext.
Inner classes inherited from class org.apache.batik.css.value.CommonCSSContext |
CommonCSSContext.Color |
Fields inherited from class org.apache.batik.css.value.DefaultCommonCSSContext |
DEFAULT_COLOR, DEFAULT_FONT_FAMILY, userStyleSheetURI |
Constructor Summary | |
DefaultSVGCSSContext()
|
Method Summary | |
float |
getViewportHeight(Element e)
Returns the height of the viewport. |
float |
getViewportWidth(Element e)
Returns the width of the viewport. |
Methods inherited from class org.apache.batik.css.value.DefaultCommonCSSContext |
getBolderFontWeight, getDefaultColorValue, getDefaultFontFamilyValue, getLighterFontWeight, getUserStyleSheetURI, setUserStyleSheetURI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.batik.css.value.CommonCSSContext |
getBolderFontWeight, getDefaultColorValue, getDefaultFontFamilyValue, getLighterFontWeight, getUserStyleSheetURI |
Constructor Detail |
public DefaultSVGCSSContext()
Method Detail |
public float getViewportWidth(Element e) throws java.lang.IllegalStateException
getViewportWidth
in interface SVGCSSContext
java.lang.IllegalStateException
- if the context was not able to compute
the value.public float getViewportHeight(Element e) throws java.lang.IllegalStateException
getViewportHeight
in interface SVGCSSContext
java.lang.IllegalStateException
- if the context was not able to compute
the value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |