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.


Field Summary
static CSSOMReadOnlyValue DEFAULT_COLOR_VALUE
          The default color.
static CSSOMReadOnlyValue DEFAULT_FONT_FAMILY
          The default font family.
protected static ImmutableValue N_0
          0.
protected  java.lang.String userStyleSheetURI
          The user style sheet.
 
Constructor Summary
DefaultCommonCSSContext()
           
 
Method Summary
 CSSOMReadOnlyValue getDefaultColorValue()
          The default color.
 CSSOMReadOnlyValue getDefaultFontFamilyValue()
          The font-family value.
 java.lang.String getUserStyleSheetURI()
          The user style sheet URI.
 void setUserStyleSheetURI(java.lang.String s)
          Sets the user style sheet URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

N_0

protected static final ImmutableValue N_0
0.

DEFAULT_COLOR_VALUE

public static final CSSOMReadOnlyValue DEFAULT_COLOR_VALUE
The default color.

DEFAULT_FONT_FAMILY

public static final CSSOMReadOnlyValue DEFAULT_FONT_FAMILY
The default font family.

userStyleSheetURI

protected java.lang.String userStyleSheetURI
The user style sheet.
Constructor Detail

DefaultCommonCSSContext

public DefaultCommonCSSContext()
Method Detail

getDefaultColorValue

public CSSOMReadOnlyValue getDefaultColorValue()
The default color.
Specified by:
getDefaultColorValue in interface CommonCSSContext

getDefaultFontFamilyValue

public CSSOMReadOnlyValue getDefaultFontFamilyValue()
The font-family value.
Specified by:
getDefaultFontFamilyValue in interface CommonCSSContext

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.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.