org.apache.batik.css.value
Interface CommonCSSContext

All Known Subinterfaces:
SVGContext, SVGCSSContext
All Known Implementing Classes:
DefaultCommonCSSContext

public interface CommonCSSContext

This interface represents the context the application must provides to the CSS engine in order to resolve the relative CSS values.


Inner Class Summary
static class CommonCSSContext.Color
          To Store a CSS RGB color.
 
Method Summary
 float getBolderFontWeight(float f)
          Returns the font weight 'bolder' than the given weight.
 CommonCSSContext.Color getDefaultColorValue()
          The default color.
 java.util.List getDefaultFontFamilyValue()
          The default font-family value.
 float getLighterFontWeight(float f)
          Returns the font weight 'lighter' than the given weight.
 java.lang.String getUserStyleSheetURI()
          The user style sheet URI.
 

Method Detail

getDefaultColorValue

public CommonCSSContext.Color getDefaultColorValue()
The default color.

getDefaultFontFamilyValue

public java.util.List getDefaultFontFamilyValue()
The default font-family value.
Returns:
a list of string.

getUserStyleSheetURI

public java.lang.String getUserStyleSheetURI()
The user style sheet URI.

getLighterFontWeight

public float getLighterFontWeight(float f)
Returns the font weight 'lighter' than the given weight.

getBolderFontWeight

public float getBolderFontWeight(float f)
Returns the font weight 'bolder' than the given weight.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.