|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.kev.mapping.animations.SVGLoadingStatusListener
public class SVGLoadingStatusListener
This class implements the SVGDocumentLoaderListener. It returns the loadingStatus of the SVGDocument. return values for the getLoadingStatus() method are: -1 : not initilized! 0 : loading completed 1 : document loading cancelled 2 : document loading failed 3 : document loading started
Field Summary | |
---|---|
static byte |
LOADING_CANCELLED
Return value for status LoadingCancelled. |
static byte |
LOADING_COMPLETED
Return value for status LoadingCompleted. |
static byte |
LOADING_FAILED
Return value for status LoadingFailed. |
static byte |
LOADING_STARTED
Return value for status LoadingStarted. |
static byte |
NOT_INITILIZED
This the default value, if no event was ever triggered for this listener. |
Constructor Summary | |
---|---|
SVGLoadingStatusListener()
|
Method Summary | |
---|---|
void |
documentLoadingCancelled(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
Documents SVG-document loadingstatus. |
void |
documentLoadingCompleted(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
Documents SVG-document loadingstatus. |
void |
documentLoadingFailed(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
Documents SVG-document loadingstatus. |
void |
documentLoadingStarted(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
Documents SVG-document loadingstatus. |
byte |
getLoadingStatus()
Just returns the current loading status. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final byte NOT_INITILIZED
public static final byte LOADING_STARTED
public static final byte LOADING_COMPLETED
public static final byte LOADING_FAILED
public static final byte LOADING_CANCELLED
Constructor Detail |
---|
public SVGLoadingStatusListener()
Method Detail |
---|
public byte getLoadingStatus()
public void documentLoadingCancelled(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
documentLoadingCancelled
in interface org.apache.batik.swing.svg.SVGDocumentLoaderListener
e
- the current SVGDocumentLoaderEventpublic void documentLoadingCompleted(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
documentLoadingCompleted
in interface org.apache.batik.swing.svg.SVGDocumentLoaderListener
e
- the current SVGDocumentLoaderEventpublic void documentLoadingFailed(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
documentLoadingFailed
in interface org.apache.batik.swing.svg.SVGDocumentLoaderListener
e
- the current SVGDocumentLoaderEventpublic void documentLoadingStarted(org.apache.batik.swing.svg.SVGDocumentLoaderEvent e)
documentLoadingStarted
in interface org.apache.batik.swing.svg.SVGDocumentLoaderListener
e
- the current SVGDocumentLoaderEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |