- All Known Subinterfaces:
SVGAElement,SVGAltGlyphElement,SVGCircleElement,SVGClipPathElement,SVGDefsElement,SVGDescElement,SVGEllipseElement,SVGFEBlendElement,SVGFEColorMatrixElement,SVGFEComponentTransferElement,SVGFECompositeElement,SVGFEConvolveMatrixElement,SVGFEDiffuseLightingElement,SVGFEDisplacementMapElement,SVGFEFloodElement,SVGFEGaussianBlurElement,SVGFEImageElement,SVGFEMergeElement,SVGFEMorphologyElement,SVGFEOffsetElement,SVGFESpecularLightingElement,SVGFETileElement,SVGFETurbulenceElement,SVGFilterElement,SVGFilterPrimitiveStandardAttributes,SVGFontElement,SVGForeignObjectElement,SVGGElement,SVGGeometryElement,SVGGlyphElement,SVGGlyphRefElement,SVGGradientElement,SVGGraphicsElement,SVGImageElement,SVGLinearGradientElement,SVGLineElement,SVGMarkerElement,SVGMaskElement,SVGMissingGlyphElement,SVGPathElement,SVGPatternElement,SVGPolygonElement,SVGPolylineElement,SVGRadialGradientElement,SVGRectElement,SVGStopElement,SVGSVGElement,SVGSwitchElement,SVGSymbolElement,SVGTextContentElement,SVGTextElement,SVGTextPathElement,SVGTextPositioningElement,SVGTitleElement,SVGTRefElement,SVGTSpanElement,SVGUseElement
- All Known Implementing Classes:
ColorSwitchElement,EchoSVGHistogramNormalizationElement,EchoSVGRegularPolygonElement,EchoSVGStarElement,FlowDivElement,FlowLineElement,FlowParaElement,FlowRegionBreakElement,FlowRegionElement,FlowSpanElement,FlowTextElement,GraphicsExtensionElement,PrefixableStylableExtensionElement,StylableExtensionElement,SVGOMAElement,SVGOMAltGlyphElement,SVGOMCircleElement,SVGOMClipPathElement,SVGOMDefsElement,SVGOMDescElement,SVGOMEllipseElement,SVGOMFEBlendElement,SVGOMFEColorMatrixElement,SVGOMFEComponentTransferElement,SVGOMFECompositeElement,SVGOMFEConvolveMatrixElement,SVGOMFEDiffuseLightingElement,SVGOMFEDisplacementMapElement,SVGOMFEFloodElement,SVGOMFEGaussianBlurElement,SVGOMFEImageElement,SVGOMFEMergeElement,SVGOMFEMorphologyElement,SVGOMFEOffsetElement,SVGOMFESpecularLightingElement,SVGOMFETileElement,SVGOMFETurbulenceElement,SVGOMFilterElement,SVGOMFilterPrimitiveStandardAttributes,SVGOMFlowDivElement,SVGOMFlowLineElement,SVGOMFlowParaElement,SVGOMFlowRegionBreakElement,SVGOMFlowSpanElement,SVGOMFontElement,SVGOMForeignObjectElement,SVGOMGElement,SVGOMGlyphElement,SVGOMGlyphRefElement,SVGOMGradientElement,SVGOMImageElement,SVGOMLinearGradientElement,SVGOMLineElement,SVGOMMarkerElement,SVGOMMaskElement,SVGOMMissingGlyphElement,SVGOMPathElement,SVGOMPatternElement,SVGOMPolygonElement,SVGOMPolylineElement,SVGOMRadialGradientElement,SVGOMRectElement,SVGOMStopElement,SVGOMSVGElement,SVGOMSwitchElement,SVGOMSymbolElement,SVGOMTextElement,SVGOMTextPathElement,SVGOMTextPositioningElement,SVGOMTitleElement,SVGOMTRefElement,SVGOMTSpanElement,SVGOMUseElement,SVGURIReferenceTextPositioningElement
public interface SVGStylable
This interface is implemented on all objects corresponding to SVG elements
that can have
style, class and presentation
attributes specified on them.-
Method Summary
Modifier and TypeMethodDescriptionGets the attributeclasson this element.default CSSValueDeprecated.default CSSStyleValueReturns the base value of a given presentation attribute as an object.getStyle()Gets the inline style of this element.
-
Method Details
-
getClassName
SVGAnimatedString getClassName()Gets the attributeclasson this element.- Returns:
- the attribute
class.
-
getStyle
CSSStyleDeclaration getStyle()Gets the inline style of this element.- Returns:
- the inline style.
-
getPresentationAttribute
Deprecated.Returns the base value of a given presentation attribute as an object.- Parameters:
name- the presentation attribute.- Returns:
- the given presentation attribute as a
CSSValue,nullif no value was defined for the given attribute or this implementation does not support theCSSValueAPI.
-
getPresentationAttributeValue
Returns the base value of a given presentation attribute as an object.- Parameters:
name- the presentation attribute.- Returns:
- the given presentation attribute as a
CSSStyleValue,nullif no value was defined for the given attribute or this implementation does not support theCSSStyleValueAPI.
-