org.apache.batik.css.value
Interface RelativeValueResolver

All Known Implementing Classes:
AlignmentBaselineResolver, BaselineShiftResolver, ClipPathResolver, ClipResolver, ClipRuleResolver, ColorInterpolationFiltersResolver, ColorInterpolationResolver, ColorProfileResolver, ColorRenderingResolver, ColorResolver, CursorResolver, DirectionResolver, DisplayResolver, DominantBaselineResolver, EnableBackgroundResolver, FillResolver, FillRuleResolver, FilterResolver, FontFamilyResolver, FontSizeAdjustResolver, FontSizeResolver, FontStretchResolver, FontStyleResolver, FontVariantResolver, GlyphOrientationHorizontalResolver, GlyphOrientationVerticalResolver, ImageRenderingResolver, LightingColorResolver, MarkerResolver, MaskResolver, OpacityResolver, OverflowResolver, PointerEventsResolver, ShapeRenderingResolver, SimpleColorResolver, StrokeDasharrayResolver, StrokeDashoffsetResolver, StrokeLinecapResolver, StrokeLinejoinResolver, StrokeMiterlimitResolver, StrokeResolver, StrokeWidthResolver, TextAnchorResolver, TextRenderingResolver, UnicodeBidiResolver, WritingModeResolver, FontWeightResolver, SpacingResolver, VisibilityResolver, TextDecorationResolver

public interface RelativeValueResolver

This interface is used to provide a resolver for relative CSS values.


Method Summary
 CSSOMReadOnlyValue getDefaultValue()
          Returns the default value for the handled property.
 java.lang.String getPropertyName()
          Returns the name of the handled property.
 boolean isInheritedProperty()
          Whether the handled property is inherited or not.
 void resolveValue(Element element, java.lang.String pseudoElement, ViewCSS view, CSSOMReadOnlyStyleDeclaration styleDeclaration, CSSOMReadOnlyValue value, java.lang.String priority, int origin)
          Resolves the given value if relative, and puts it in the given table.
 

Method Detail

isInheritedProperty

public boolean isInheritedProperty()
Whether the handled property is inherited or not.

getPropertyName

public java.lang.String getPropertyName()
Returns the name of the handled property.

getDefaultValue

public CSSOMReadOnlyValue getDefaultValue()
Returns the default value for the handled property.

resolveValue

public void resolveValue(Element element,
                         java.lang.String pseudoElement,
                         ViewCSS view,
                         CSSOMReadOnlyStyleDeclaration styleDeclaration,
                         CSSOMReadOnlyValue value,
                         java.lang.String priority,
                         int origin)
Resolves the given value if relative, and puts it in the given table.
Parameters:
element - The element to which this value applies.
pseudoElement - The pseudo element if one.
view - The view CSS of the current document.
styleDeclaration - The computed style declaration.
value - The cascaded value.
priority - The priority of the cascaded value.
origin - The origin of the cascaded value.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.