Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.batik.bridge
Class StyleReference  view StyleReference download StyleReference.java

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.6 2004/08/18 07:12:36 vhardy Exp $

Field Summary
private  org.apache.batik.gvt.GraphicsNode node
           
private  java.lang.String styleAttribute
           
 
Constructor Summary
StyleReference(org.apache.batik.gvt.GraphicsNode node, java.lang.String styleAttribute)
          Creates a new StyleReference.
 
Method Summary
 org.apache.batik.gvt.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
 

Field Detail

node

private org.apache.batik.gvt.GraphicsNode node

styleAttribute

private java.lang.String styleAttribute
Constructor Detail

StyleReference

public StyleReference(org.apache.batik.gvt.GraphicsNode node,
                      java.lang.String styleAttribute)
Creates a new StyleReference.

Method Detail

getGraphicsNode

public org.apache.batik.gvt.GraphicsNode getGraphicsNode()
Returns the graphics node.


getStyleAttribute

public java.lang.String getStyleAttribute()
Returns the style attribute