public static class ReaderListener.ReaderEvent extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReaderListener.ReaderEvent.Type |
Constructor and Description |
---|
ReaderEvent(ReaderListener.ReaderEvent.Type type,
Format format,
Document document,
String readID,
int streamIndex,
int streamPageIndex,
Page page,
int pageIndex,
PageSegment pageSegment,
int expectedPageCount,
Throwable cause,
ReaderControls controls) |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
Document |
getDocument() |
int |
getExpectedPageCount()
Get the total page count to be expected.
|
Format |
getFormat() |
Page |
getPage() |
int |
getPageIndex() |
PageSegment |
getPageSegment() |
ReaderControls |
getReaderControls() |
String |
getReadID()
Retrieve the read-ID which identifies the current read operation.
|
int |
getStreamIndex()
Return the stream's index within the read operation.
|
int |
getStreamPageIndex()
Get the index within the stream of the page which was read.
|
ReaderListener.ReaderEvent.Type |
getType()
Indicates what happened.
|
public ReaderEvent(ReaderListener.ReaderEvent.Type type, Format format, Document document, String readID, int streamIndex, int streamPageIndex, Page page, int pageIndex, PageSegment pageSegment, int expectedPageCount, Throwable cause, ReaderControls controls)
public Document getDocument()
public Page getPage()
public int getPageIndex()
public PageSegment getPageSegment()
public String getReadID()
public int getStreamIndex()
public int getStreamPageIndex()
public Format getFormat()
public int getExpectedPageCount()
public Throwable getCause()
public ReaderListener.ReaderEvent.Type getType()
public ReaderControls getReaderControls()
Copyright © 2024 levigo holding gmbh. All rights reserved.