|
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.gui.main.call.UIVideoHandler
public class UIVideoHandler
The UIVideoHandler is meant to handle all video related events.
| Constructor Summary | |
|---|---|
UIVideoHandler(CallPeer callPeer,
CallRenderer callRenderer,
List<Container> videoContainers)
Constructor. |
|
| Method Summary | |
|---|---|
void |
addMouseAndKeyListeners()
Add KeyListener, MouseListener, MouseWheelListener and MouseMotionListener to remote video component. |
OperationSetDesktopSharingClient |
addRemoteControlListener()
Sets up listening to remote-control notifications (granted or revoked). |
OperationSetVideoTelephony |
addVideoListener()
Sets up listening to notifications about adding or removing video for the CallPeer this panel depicts and displays the video in
question in the last-known of videoContainers (because the video
is represented by a Component and it cannot be displayed in
multiple Containers at one and the same time) as soon as it
arrives. |
Component |
getLocalVideoComponent()
Get the local video Component. |
Component |
getRemoteVideoComponent()
Deprecated. |
void |
handleVideoEvent(VideoEvent event)
When a video is added or removed for the callPeer, makes sure to display or hide it respectively. |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible. |
void |
removeMouseAndKeyListeners()
Remove KeyListener, MouseListener, MouseWheelListener and MouseMotionListener to remote video component. |
void |
removeRemoteControlListener()
Removes the setup for listening to remote-control notifications (granted or revoked). |
void |
removeVideoListener()
Removes the video listener |
void |
setLocalVideoVisible(boolean isVisible)
Shows/hides the local video component. |
void |
setVideoContainersList(List<Container> videoContainers)
Set the video cotnainers list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UIVideoHandler(CallPeer callPeer,
CallRenderer callRenderer,
List<Container> videoContainers)
callPeer - the CallPeercallRenderer - ther CallRenderervideoContainers - the video Container| Method Detail |
|---|
public void setVideoContainersList(List<Container> videoContainers)
videoContainers - the video Container listpublic OperationSetVideoTelephony addVideoListener()
CallPeer this panel depicts and displays the video in
question in the last-known of videoContainers (because the video
is represented by a Component and it cannot be displayed in
multiple Containers at one and the same time) as soon as it
arrives.
public void removeVideoListener()
public void handleVideoEvent(VideoEvent event)
event - a VideoEvent describing the added visual
Component representing video and the provider it was added into
or null if such information is not availablepublic void addMouseAndKeyListeners()
public void removeMouseAndKeyListeners()
public OperationSetDesktopSharingClient addRemoteControlListener()
public void removeRemoteControlListener()
public void setLocalVideoVisible(boolean isVisible)
isVisible - true to show the local video, false -
otherwisepublic boolean isLocalVideoVisible()
public Component getLocalVideoComponent()
@Deprecated public Component getRemoteVideoComponent()
|
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 | |||||||||