public class FrameRateControlAdapter
extends java.lang.Object
implements javax.media.control.FrameRateControl
Constructor and Description |
---|
FrameRateControlAdapter() |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getControlComponent()
Gets the UI Component associated with this Control
object.
|
float |
getFrameRate()
Gets the current output frame rate.
|
float |
getMaxSupportedFrameRate()
Gets the maximum supported output frame rate.
|
float |
getPreferredFrameRate()
Gets the default/preferred output frame rate.
|
float |
setFrameRate(float frameRate)
Sets the output frame rate.
|
public java.awt.Component getControlComponent()
getControlComponent
in interface javax.media.Control
Control.getControlComponent()
public float getFrameRate()
getFrameRate
in interface javax.media.control.FrameRateControl
FrameRateControl.getFrameRate()
public float getMaxSupportedFrameRate()
getMaxSupportedFrameRate
in interface javax.media.control.FrameRateControl
FrameRateControl.getMaxSupportedFrameRate()
public float getPreferredFrameRate()
getPreferredFrameRate
in interface javax.media.control.FrameRateControl
FrameRateControl.getPreferredFrameRate()
public float setFrameRate(float frameRate)
setFrameRate
in interface javax.media.control.FrameRateControl
frameRate
- the output frame rate to change the current one toFrameRateControl.setFrameRate(float)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.