public class DefaultDocumentListener extends java.lang.Object implements DocumentListener
DocumentListener
; implements all methods in DocumentListener
but the methods do nothing. Subclass this class and override whichever methods you need to trap.Constructor and Description |
---|
DefaultDocumentListener() |
Modifier and Type | Method and Description |
---|---|
void |
documentLoaded()
Indicates document layout has complete, e.g.
|
void |
documentStarted()
Indicates document has been requested (e.g.
|
void |
onLayoutException(java.lang.Throwable t)
Called when document layout failed with an exception.
|
void |
onRenderException(java.lang.Throwable t)
Called when document render failed with an exception.
|
public void documentStarted()
documentStarted
in interface DocumentListener
public void documentLoaded()
documentLoaded
in interface DocumentListener
public void onLayoutException(java.lang.Throwable t)
Throwable
objects thrown (except for
ThreadDeath
) during layout and not otherwise handled will
be provided to this method. If a DocumentListener
has been
defined an XHTML panel, the listener is entirely responsible for
handling the exception. No other action will be taken.onLayoutException
in interface DocumentListener
public void onRenderException(java.lang.Throwable t)
Throwable
objects thrown (except for
ThreadDeath
) during render and not otherwise handled will
be provided to this method. If a DocumentListener
has been
defined an XHTML panel, the listener is entirely responsible for
handling the exception. No other action will be taken.onRenderException
in interface DocumentListener