public interface ReshapeListener
Instances can be registered on a ReshapeWorker
to be informed about the
progress of the rendering / reshaping process.
Modifier and Type | Interface and Description |
---|---|
static class |
ReshapeListener.Context
The context of the reshaping process in which the listener methods are invoked.
|
Modifier and Type | Method and Description |
---|---|
void |
done(ReshapeListener.Context context)
Called each time a reshape process is successfully completed.
|
void |
failed(ReshapeListener.Context context,
Exception cause)
Called each time a reshape process is unsuccessfully terminated.
|
void |
pageDone(ReshapeListener.Context context,
com.levigo.jadice.document.Page page)
Called each time a reshape process successfully finishes reshaping a
Page . |
void |
pageFailed(ReshapeListener.Context context,
com.levigo.jadice.document.Page page,
Exception cause)
Called each time a reshape process unsuccessfully terminates reshaping a
Page . |
void |
pageStarted(ReshapeListener.Context context,
com.levigo.jadice.document.Page page)
Called each time a reshape process starts reshaping a
Page . |
void |
started(ReshapeListener.Context context)
Called when a reshape process is started.
|
void started(ReshapeListener.Context context)
context
- the ReshapeListener.Context
of this actionvoid done(ReshapeListener.Context context)
context
- the ReshapeListener.Context
of this actionvoid failed(ReshapeListener.Context context, Exception cause)
context
- the ReshapeListener.Context
of this actioncause
- gives the reason for the unsuccessful terminationvoid pageStarted(ReshapeListener.Context context, com.levigo.jadice.document.Page page)
Page
.context
- the ReshapeListener.Context
of this actionpage
- the current page being reshapedvoid pageDone(ReshapeListener.Context context, com.levigo.jadice.document.Page page)
Page
.context
- the ReshapeListener.Context
of this actionpage
- the page being reshapedvoid pageFailed(ReshapeListener.Context context, com.levigo.jadice.document.Page page, Exception cause)
Page
.context
- the ReshapeListener.Context
of this actionpage
- the page being reshapedcause
- gives the reason for the unsuccessful terminationCopyright © 2017 levigo holding gmbh. All rights reserved.