| Modifier and Type | Class and Description |
|---|---|
static interface |
DeviceApi.ContinuousScroll.Callback
The callback to call when new tiles have to be sent to the device in
the continuous scroll mode.
|
static class |
DeviceApi.ContinuousScroll.Event
The parameter type of the
Callback. |
static class |
DeviceApi.ContinuousScroll.Start
A builder for starting the continuous scroll mode.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
setCallback(DeviceApi.ContinuousScroll.Callback callback)
Sets the callback to call when new tiles have to be sent to the
device in the continuous scroll mode.
|
static boolean |
setTile(BufferedImage image,
int tileNumber,
int pageNumber,
int numberOfTiles)
Sets a tile.
|
static boolean |
setTile(Path path,
int tileNumber,
int pageNumber,
int numberOfTiles)
Sets a tile.
|
static boolean |
setTileNumber(int tileNumber,
DeviceApi.ContinuousScroll.Start start)
Sets the tile number.
|
static boolean |
setTileNumber(int tileNumber,
int numberOfTiles,
int offset)
Sets the tile number.
|
public static boolean setCallback(DeviceApi.ContinuousScroll.Callback callback)
callback - The callback.public static boolean setTileNumber(int tileNumber,
DeviceApi.ContinuousScroll.Start start)
tileNumber - The tile number.start - A start object. For reusing the number of tiles and the
start tile offset.public static boolean setTileNumber(int tileNumber,
int numberOfTiles,
int offset)
tileNumber - The tile number.numberOfTiles - The number of tiles.offset - The offset.public static boolean setTile(BufferedImage image, int tileNumber, int pageNumber, int numberOfTiles)
image - The image.tileNumber - The tile number.pageNumber - The page number.numberOfTiles - The number of tiles.public static boolean setTile(Path path, int tileNumber, int pageNumber, int numberOfTiles)
path - The path to an image.tileNumber - The tile number.pageNumber - The page number.numberOfTiles - The number of tiles.Copyright © 2025. All rights reserved.