org.apache.batik.util
Class DocumentLoadingEvent

java.lang.Object
  |
  +--org.apache.batik.util.DocumentEvent
        |
        +--org.apache.batik.util.DocumentLoadingEvent

public class DocumentLoadingEvent
extends DocumentEvent

This class encapsulates, as events, information about document state that is either dynamic, transient, or unfolding (as when state is discovered by background threads).


Inner classes inherited from class org.apache.batik.util.DocumentEvent
DocumentEvent.Key
 
Field Summary
static int DONE
           
protected  java.lang.Exception ex
           
static int LOAD_CANCELLED
           
static int LOAD_FAILED
           
static int LOADED
           
static int START_LOADING
           
 
Fields inherited from class org.apache.batik.util.DocumentEvent
classid, LOADING, o, PROPERTY, type
 
Constructor Summary
DocumentLoadingEvent(int t, SVGOMDocument doc)
           
DocumentLoadingEvent(int t, SVGOMDocument doc, java.lang.Exception ex)
           
 
Method Summary
 java.lang.Exception getException()
          Returns the exception that causes an error or null if the type of the event is not LOAD_FAILED.
 
Methods inherited from class org.apache.batik.util.DocumentEvent
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

START_LOADING

public static final int START_LOADING

LOADED

public static final int LOADED

DONE

public static final int DONE

LOAD_CANCELLED

public static final int LOAD_CANCELLED

LOAD_FAILED

public static final int LOAD_FAILED

ex

protected java.lang.Exception ex
Constructor Detail

DocumentLoadingEvent

public DocumentLoadingEvent(int t,
                            SVGOMDocument doc)

DocumentLoadingEvent

public DocumentLoadingEvent(int t,
                            SVGOMDocument doc,
                            java.lang.Exception ex)
Method Detail

getException

public java.lang.Exception getException()
Returns the exception that causes an error or null if the type of the event is not LOAD_FAILED.


Copyright © 2000 Apache Software Foundation. All Rights Reserved.