Methods Summary |
---|
public java.awt.Rectangle | getClipRegion()Returns the current clip rectangle in effect.
|
public java.awt.Dimension | getInputVideoSize()Returns the actual frame size of the video input stream.
|
public float[] | getValidZoomFactors()If the control supports fixed zoom factors then this method returns
a list of zoom factors that are available.
|
public com.sun.media.controls.BooleanControl | getVideoMute()Freezes the video window, i.e., continues reading/decoding the video but
does not update the video window. Audio, if available, will
continue playing.
|
public java.awt.Dimension | getVideoSize()Returns the current size of the video window.
|
public com.sun.media.controls.NumericControl | getZoomControl()Returns a zoom control if available, else returns null.
|
public java.awt.Rectangle | setClipRegion(java.awt.Rectangle clip)Sets the clip region if the player supports clipping. Returns the
actual clip rectangle that was set.
|
public java.awt.Dimension | setVideoSize(java.awt.Dimension size)Sets the video window to an arbitrary size causing the video to be
scaled accordingly. Returns the actual size that the window was set to,
which might be different from the requested size due to constraints.
|
public boolean | supportsAnyScale()Returns true if the video window can be scaled to any size.
|
public boolean | supportsClipping()Returns true if the video can be clipped to a rectangular region
before it is displayed.
|
public boolean | supportsZoom()Returns true if the video can be scaled to fixed zoom factors.
Use this only if supportsAnyScale returns false.
|