org.apache.batik.util
Class DocumentEvent

java.lang.Object
  |
  +--org.apache.batik.util.DocumentEvent
Direct Known Subclasses:
DocumentLoadingEvent, DocumentPropertyEvent

public abstract class DocumentEvent
extends java.lang.Object

This is the base class for document events (usually used by threads for asynchronous notification of changes to document creating and loading state.


Inner Class Summary
static class DocumentEvent.Key
          Inner class for class and key values.
 
Field Summary
 DocumentEvent.Key classid
           
static DocumentEvent.Key LOADING
           
 java.lang.Object o
           
static DocumentEvent.Key PROPERTY
           
 int type
           
 
Constructor Summary
protected DocumentEvent(DocumentEvent.Key classid, int type)
          Constructor (called only by subclasses) required to initialize final variables.
 
Method Summary
 java.lang.Object getValue()
          Overloaded by derived classes to allow event data to be encapsulated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOADING

public static final DocumentEvent.Key LOADING

PROPERTY

public static final DocumentEvent.Key PROPERTY

classid

public final DocumentEvent.Key classid

type

public final int type

o

public java.lang.Object o
Constructor Detail

DocumentEvent

protected DocumentEvent(DocumentEvent.Key classid,
                        int type)
Constructor (called only by subclasses) required to initialize final variables.
Method Detail

getValue

public java.lang.Object getValue()
Overloaded by derived classes to allow event data to be encapsulated.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.