Drawable, DrawableImage, java.util.EventListener, Interactive, InteractiveImage, Measurable, Playable, java.beans.PropertyChangeListener, TrackableGifVideo, ImageVideo, VideoAdapterpublic interface Video extends InteractiveImage, Playable, Trackable, java.beans.PropertyChangeListener
| Modifier and Type | Method | Description |
|---|---|---|
void |
back() |
Steps backward in the video.
|
void |
dispose() |
Disposes of this video.
|
int |
getEndFrameNumber() |
Gets the end frame number.
|
int |
getFrameCount() |
Gets the total number of frames.
|
double |
getFrameDuration(int n) |
Gets the duration of the specified frame in milliseconds.
|
int |
getFrameNumber() |
Gets the current frame number.
|
double |
getFrameTime(int n) |
Gets the start time of the specified frame in milliseconds.
|
int |
getStartFrameNumber() |
Gets the start frame number.
|
void |
setEndFrameNumber(int n) |
Sets the end frame number.
|
void |
setFrameAngle(int n,
double angle) |
Sets the angle in radians of the specified video frame measured ccw
from the world x-axis.
|
void |
setFrameHeight(int n,
double height) |
Sets the height of the specified video frame in world units.
|
void |
setFrameNumber(int n) |
Sets the frame number.
|
void |
setFrameRelativeAspect(int n,
double relativeAspect) |
Sets the relative aspect of the specified video frame.
|
void |
setFrameWidth(int n,
double width) |
Sets the width of the specified video frame in world units.
|
void |
setFrameX(int n,
double x) |
Sets x position of UL corner of the specified video frame
in world units.
|
void |
setFrameXY(int n,
double x,
double y) |
Sets the x and y position of the UL corner of the
specified video frame in world units.
|
void |
setFrameY(int n,
double y) |
Sets y position of UL corner of the specified video frame
in world units.
|
void |
setStartFrameNumber(int n) |
Sets the start frame number.
|
void |
step() |
Steps forward in the video.
|
getFilterStack, getImage, getProperty, getPropertyNames, isVisible, setFilterStack, setProperty, setVisiblefindInteractive, getX, getY, isEnabled, setEnabled, setX, setXY, setYgetAngle, getCoords, getHeight, getRelativeAspect, getWidth, setAngle, setCoords, setHeight, setRelativeAspect, setWidthgetXMax, getXMin, getYMax, getYMin, isMeasuredaddPropertyChangeListener, addPropertyChangeListener, getDuration, getEndTime, getRate, getStartTime, getTime, goToEnd, goToStart, isLooping, isPlaying, play, removePropertyChangeListener, removePropertyChangeListener, reset, setEndTime, setLooping, setPlaying, setRate, setStartTime, setTime, stopvoid step()
void back()
int getFrameCount()
int getFrameNumber()
void setFrameNumber(int n)
n - a number between getStartFrameNumber() and getEndFrameNumber()getStartFrameNumber(),
getEndFrameNumber()int getStartFrameNumber()
getEndFrameNumber()void setStartFrameNumber(int n)
n - a number between 0 and getEndFrameNumber()setEndFrameNumber(int)int getEndFrameNumber()
getStartFrameNumber()void setEndFrameNumber(int n)
n - a number between getStartFrameNumber() and getFrameCount()setStartFrameNumber(int)double getFrameTime(int n)
n - the frame numberdouble getFrameDuration(int n)
n - the frame numbervoid setFrameX(int n,
double x)
n - the video frame numberx - the world x positionvoid setFrameY(int n,
double y)
n - the video frame numbery - the world y positionvoid setFrameXY(int n,
double x,
double y)
n - the video frame numberx - the world x positiony - the world y positionvoid setFrameRelativeAspect(int n,
double relativeAspect)
n - the video frame numberrelativeAspect - the world aspect of the image relative to its pixel aspect.void setFrameWidth(int n,
double width)
n - the video frame numberwidth - the width in world unitsvoid setFrameHeight(int n,
double height)
n - the video frame numberheight - the height in world unitsvoid setFrameAngle(int n,
double angle)
n - the video frame numberangle - the angle n radiansvoid dispose()