Class StyleReference

  extended by org.apache.batik.bridge.StyleReference

public class StyleReference
extends 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.

Constructor Summary
StyleReference(GraphicsNode node, String styleAttribute)
          Creates a new StyleReference.
Method Summary
 GraphicsNode getGraphicsNode()
          Returns the graphics node.
 String getStyleAttribute()
          Returns the style attribute
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public StyleReference(GraphicsNode node,
                      String styleAttribute)
Creates a new StyleReference.

node - the graphics node impacted.
styleAttribute - the name of the style attribute that is impacted.
Method Detail


public GraphicsNode getGraphicsNode()
Returns the graphics node.


public String getStyleAttribute()
Returns the style attribute

Copyright © 2017 Apache Software Foundation. All Rights Reserved.