|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides the means to query and manipulate the actual presentation of the Video.
Method Summary | |
void |
addVideoPresentationListener(VideoPresentationListener listener)
Add a listener to the VideoFormatControl. |
Rectangle |
getActiveVideoOnScreenRectangle()
Returns the rectangle of the video that is used on the screen without any areas used letterboxing or pillarboxing are not part of the Rectangle. |
Rectangle |
getActiveVideoRectangle()
Returns the rectangle that covers the actual video without any areas used letterboxing or pillarboxing are not part of the Rectangle. |
Dimension |
getActualVideoSize()
This method allows the application to query the actual dimension of the presented video, effects like clipping and scaling are taking into account. |
Dimension |
getDecodedVideoSize()
Returns the dimension of the size of the decoded video as it is presented to the user. |
float[] |
getHorizontalScalingFactors()
Returns the values of the supported discrete horizontal scaling factors. |
Dimension |
getInputSize()
Returns the dimension of the video before any scaling. |
Rectangle |
getTotalVideoRectangle()
This method returns the entire rectangle used for the video in the broadcast stream. |
float[] |
getVerticalScalingFactors()
Returns the values of the supported discrete vertical scaling factors. |
void |
removeVideoPresentationListener(VideoPresentationListener listener)
Removes a VideoFormatListener object. |
Methods inherited from interface javax.media.Control |
getControlComponent |
Method Detail |
public Rectangle getActiveVideoRectangle()
public Rectangle getActiveVideoOnScreenRectangle()
public Rectangle getTotalVideoRectangle()
public Dimension getInputSize()
public Dimension getDecodedVideoSize()
public Dimension getActualVideoSize()
public float[] getHorizontalScalingFactors()
public float[] getVerticalScalingFactors()
public void addVideoPresentationListener(VideoPresentationListener listener)
listener
- The object implementing the listener interface to be
added to the Control.removeVideoPresentationListener(com.sun.dtv.media.format.VideoPresentationListener)
public void removeVideoPresentationListener(VideoPresentationListener listener)
listener
- The object to be removed from the Control.addVideoPresentationListener(com.sun.dtv.media.format.VideoPresentationListener)
|
Java DTV API 1.0 12-Dec-2008 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |