|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.control.FrameProcessingControlImpl
public class FrameProcessingControlImpl
Provides a base implementation of FrameProcessingControl which keeps track of the minimalProcessing property, switches its value to true when it's notified that its owner is at least one frame behind and doesn't implement the controlComponent and framesDropped properties.
| Constructor Summary | |
|---|---|
FrameProcessingControlImpl()
|
|
| Method Summary | |
|---|---|
Component |
getControlComponent()
Gets the UI Component associated with this Control object. |
int |
getFramesDropped()
Gets the number of output frames that were dropped during processing since the last call to this method. |
boolean |
isMinimalProcessing()
Determines whether the owner of this FrameProcessingControl is to perform only the minimum operations necessary to keep it working normally but without producing output. |
void |
setFramesBehind(float framesBehind)
Sets the number of frames the owner of this FrameProcessingControl is lagging behind. |
boolean |
setMinimalProcessing(boolean minimalProcessing)
Sets the indicator which determines whether the owner of this FrameProcessingControl is to perform only the minimal operations necessary to keep it working normally but without producing output. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FrameProcessingControlImpl()
| Method Detail |
|---|
public Component getControlComponent()
getControlComponent in interface javax.media.Controlpublic int getFramesDropped()
getFramesDropped in interface javax.media.control.FrameProcessingControlpublic boolean isMinimalProcessing()
public void setFramesBehind(float framesBehind)
setFramesBehind in interface javax.media.control.FrameProcessingControlframesBehind - the number of frames the owner of this
FrameProcessingControl is lagging behindpublic boolean setMinimalProcessing(boolean minimalProcessing)
setMinimalProcessing in interface javax.media.control.FrameProcessingControlminimalProcessing - true if minimal processing mode is to
be turned on or false if minimal processing mode is to be turned
off
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||