org.apache.batik.css.event
Class CSSRuleEvent

java.lang.Object
  |
  +--org.apache.batik.css.event.CSSRuleEvent

public class CSSRuleEvent
extends java.lang.Object

This class represents the events which get fired whenever a CSS property value is changed.


Field Summary
protected  CSSRule cssRule
          The associated CSS rule.
protected  java.lang.Object source
          The source of this event.
 
Constructor Summary
CSSRuleEvent(java.lang.Object source, CSSRule rule)
          Creates a new CSSRuleEvent object.
 
Method Summary
 CSSRule getCssRule()
          Returns the associated CSSRule.
 java.lang.Object getSource()
          Returns the event source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

source

protected java.lang.Object source
The source of this event.

cssRule

protected CSSRule cssRule
The associated CSS rule.
Constructor Detail

CSSRuleEvent

public CSSRuleEvent(java.lang.Object source,
                    CSSRule rule)
Creates a new CSSRuleEvent object.
Parameters:
source - The source of this event.
rule - The rule associated with this event.
Method Detail

getSource

public java.lang.Object getSource()
Returns the event source.

getCssRule

public CSSRule getCssRule()
Returns the associated CSSRule.


Copyright © 2001 Apache Software Foundation. All Rights Reserved.