|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gzz.media.impl.PageImageScroll
An scrollblock containing paged media (PS/PDF).
Field Summary | |
static boolean |
dbg
|
Fields inherited from interface gzz.media.ScrollBlock |
rcsid |
Constructor Summary | |
PageImageScroll(Mediaserver ms,
Mediaserver.Id id)
|
Method Summary | |
float |
coordinateResolution()
The resolution of the coordinates on the original paper. |
boolean |
equals(java.lang.Object o)
|
void |
forcelengthKLUDGE(int len)
DO NOT USE EXCEPT WHEN CREATING FAKE PAGESPANS FOR TESTS. |
Span |
getCurrent()
Get the current contents of this block as a single span of the appropriate type. |
java.lang.String |
getID()
Get the globally unique identifier of this block. |
Span |
getSpan(int p0,
int p1,
int x,
int y,
int w,
int h)
|
int |
hashCode()
|
java.lang.String |
imageFilename(int page)
Return the image file name for the given, 0-based page. |
float |
imageFileResolution(int page)
The resolution of the images. |
boolean |
isFinalized()
Whether this block has been finalized or whether more can be appended. |
Mediaserver.Id |
saveOrGetId(Mediaserver ms)
Get the Mediaserver id of this block; save when not saved yet. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static boolean dbg
Constructor Detail |
public PageImageScroll(Mediaserver ms, Mediaserver.Id id)
Method Detail |
public java.lang.String getID()
ScrollBlock
getID
in interface ScrollBlock
public Mediaserver.Id saveOrGetId(Mediaserver ms)
ScrollBlockManager.MediaserverScrollBlock
saveOrGetId
in interface ScrollBlockManager.MediaserverScrollBlock
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String imageFilename(int page)
public float imageFileResolution(int page)
public float coordinateResolution()
public void forcelengthKLUDGE(int len)
public Span getCurrent()
ScrollBlock
getCurrent
in interface ScrollBlock
public Span getSpan(int p0, int p1, int x, int y, int w, int h)
public boolean isFinalized()
ScrollBlock
isFinalized
in interface ScrollBlock
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |