org.apache.batik.css.value
Class DefaultCommonCSSContext
java.lang.Object
|
+--org.apache.batik.css.value.DefaultCommonCSSContext
- All Implemented Interfaces:
- CommonCSSContext
- Direct Known Subclasses:
- DefaultSVGCSSContext
- public class DefaultCommonCSSContext
- extends java.lang.Object
- implements CommonCSSContext
This class is the default implementation of the CommonCSSContext.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_COLOR
public static final CommonCSSContext.Color DEFAULT_COLOR
- The default color.
DEFAULT_FONT_FAMILY
public static final java.util.List DEFAULT_FONT_FAMILY
- The default font family.
userStyleSheetURI
protected java.lang.String userStyleSheetURI
- The user style sheet.
DefaultCommonCSSContext
public DefaultCommonCSSContext()
getDefaultColorValue
public CommonCSSContext.Color getDefaultColorValue()
- The default color.
- Specified by:
getDefaultColorValue
in interface CommonCSSContext
getDefaultFontFamilyValue
public java.util.List getDefaultFontFamilyValue()
- The font-family value.
- Specified by:
getDefaultFontFamilyValue
in interface CommonCSSContext
- Following copied from interface:
org.apache.batik.css.value.CommonCSSContext
- Returns:
- a list of string.
getUserStyleSheetURI
public java.lang.String getUserStyleSheetURI()
- The user style sheet URI.
- Specified by:
getUserStyleSheetURI
in interface CommonCSSContext
setUserStyleSheetURI
public void setUserStyleSheetURI(java.lang.String s)
- Sets the user style sheet URI.
getLighterFontWeight
public float getLighterFontWeight(float f)
- Returns the font weight 'lighter' than the given weight.
- Specified by:
getLighterFontWeight
in interface CommonCSSContext
getBolderFontWeight
public float getBolderFontWeight(float f)
- Returns the font weight 'bolder' than the given weight.
- Specified by:
getBolderFontWeight
in interface CommonCSSContext
Copyright © 2001 Apache Software Foundation. All Rights Reserved.