public final class Frameset extends Object implements Serializable
Constructor and Description |
---|
Frameset(List<String> urls,
int frameWidth,
int frameHeight,
int totalCount,
int durationPerFrame,
int framesPerPageX,
int framesPerPageY) |
Modifier and Type | Method and Description |
---|---|
int |
getDurationPerFrame() |
int[] |
getFrameBoundsAt(long position)
Returns the information for the frame at stream position.
|
int |
getFrameHeight() |
int |
getFramesPerPageX() |
int |
getFramesPerPageY() |
int |
getFrameWidth() |
int |
getTotalCount() |
List<String> |
getUrls() |
public int getTotalCount()
public int getFramesPerPageX()
public int getFramesPerPageY()
public int getFrameWidth()
public int getFrameHeight()
public int getDurationPerFrame()
public int[] getFrameBoundsAt(long position)
position
- Position in millisecondsint
-array containing the bounds and URL where the indexes are
specified as follows:
0
: Index of the URL1
: Left bound2
: Top bound3
: Right bound4
: Bottom bound