Package org.apache.batik.bridge
Class StyleReference
- java.lang.Object
-
- org.apache.batik.bridge.StyleReference
-
public class StyleReference extends java.lang.Object
A style reference represents a graphics node, CSS property pair. It describes which GraphicsNode and which property of this GraphicsNode should be updated when a style element (for example a filter) changes due to a modification of the DOM.- Version:
- $Id: StyleReference.java 1733416 2016-03-03 07:07:13Z gadams $
-
-
Field Summary
Fields Modifier and Type Field Description private GraphicsNode
node
private java.lang.String
styleAttribute
-
Constructor Summary
Constructors Constructor Description StyleReference(GraphicsNode node, java.lang.String styleAttribute)
Creates a newStyleReference
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GraphicsNode
getGraphicsNode()
Returns the graphics node.java.lang.String
getStyleAttribute()
Returns the style attribute
-
-
-
Field Detail
-
node
private GraphicsNode node
-
styleAttribute
private java.lang.String styleAttribute
-
-
Constructor Detail
-
StyleReference
public StyleReference(GraphicsNode node, java.lang.String styleAttribute)
Creates a newStyleReference
.- Parameters:
node
- the graphics node impacted.styleAttribute
- the name of the style attribute that is impacted.
-
-
Method Detail
-
getGraphicsNode
public GraphicsNode getGraphicsNode()
Returns the graphics node.
-
getStyleAttribute
public java.lang.String getStyleAttribute()
Returns the style attribute
-
-