org.apache.batik.bridge
Class StyleReference

java.lang.Object
  extended byorg.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,v 1.5 2003/08/08 11:38:51 vhardy Exp $
Author:
Emmanuel Tissandier

Constructor Summary
StyleReference(GraphicsNode node, java.lang.String styleAttribute)
          Creates a new StyleReference.
 
Method Summary
 GraphicsNode getGraphicsNode()
          Returns the graphics node.
 java.lang.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

StyleReference

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

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



<oXygen/> XML Editor uses Batik from the Apache Foundation to provide support for previewing SVG documents. See the SVG Editor section for more info.