DocumentListener; implements all methods in DocumentListener
but the methods do nothing. Subclass this class and override whichever methods you need to trap.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | documentLoaded()
Implements com. Indicates document layout has complete, e.g. document is fully "loaded" for display; this is not a callback for the document source (e.g. XML) being loaded. |
| public void | documentStarted()
Implements com. Indicates document has been requested (e.g. a new document is going to be loaded). |
| public void | onLayoutException(Throwable t)
Implements com. Called when document layout failed with an exception. |
| public void | onRenderException(Throwable t)
Implements com. Called when document render failed with an exception. |
| DefaultDocumentListener | back to summary |
|---|---|
| public DefaultDocumentListener() | |
| documentLoaded | back to summary |
|---|---|
| public void documentLoaded() Implements com. Doc from com. Indicates document layout has complete, e.g. document is fully "loaded" for display; this is not a callback for the document source (e.g. XML) being loaded. This method will be called on every layout run (including, for example, after panel resizes). | |
| documentStarted | back to summary |
|---|---|
| public void documentStarted() Implements com. Doc from com. Indicates document has been requested (e.g. a new document is going to be loaded). This will be called before any activity takes place for the document. | |
| onLayoutException | back to summary |
|---|---|
| public void onLayoutException(Throwable t) Implements com. Doc from com. Called when document layout failed with an exception. All
| |
| onRenderException | back to summary |
|---|---|
| public void onRenderException(Throwable t) Implements com. Doc from com. Called when document render failed with an exception. All
| |