public class DefaultDocumentListener extends 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.| 构造器和说明 |
|---|
DefaultDocumentListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
documentLoaded()
Indicates document layout has complete, e.g. document is fully "loaded"
for display; this is not a callback for the document source (e.g.
|
void |
documentStarted()
Indicates document has been requested (e.g. a new document is going to be
loaded).
|
void |
onLayoutException(Throwable t)
Called when document layout failed with an exception.
|
void |
onRenderException(Throwable t)
Called when document render failed with an exception.
|
public void documentStarted()
documentStarted 在接口中 DocumentListenerpublic void documentLoaded()
documentLoaded 在接口中 DocumentListenerpublic void onLayoutException(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 在接口中 DocumentListenerpublic void onRenderException(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 在接口中 DocumentListenerCopyright © 2019. All Rights Reserved.