|
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.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.java.sip.communicator.util.swing.TransparentPanel
net.java.sip.communicator.impl.gui.main.call.OneToOneCallPeerPanel
public class OneToOneCallPeerPanel
The OneToOneCallPeerPanel is the panel containing data for a call peer in a given call. It contains information like call peer name, photo, call duration, etc.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JPanel |
|---|
JPanel.AccessibleJPanel |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
OneToOneCallPeerPanel(CallRenderer callRenderer,
CallPeer callPeer,
List<Container> videoContainers)
Creates a CallPeerPanel for the given call peer. |
|
OneToOneCallPeerPanel(CallRenderer callRenderer,
CallPeer callPeer,
List<Container> videoContainers,
UIVideoHandler vHandler)
Creates a CallPeerPanel for the given call peer. |
|
| Method Summary | |
|---|---|
(package private) Component |
createCenter(List<Container> videoContainers)
Creates the Component hierarchy of the central area of this
CallPeerPanel which displays the photo of the
CallPeer or the video if any. |
CallPanel |
getCallPanel()
Returns the parent CallPanel containing this renderer. |
CallPeerAdapter |
getCallPeerAdapter()
Returns the call peer adapter managing all related listeners. |
CallRenderer |
getCallRenderer()
Returns the parent call renderer. |
Component |
getComponent()
Returns the component associated with this renderer. |
String |
getPeerName()
Returns the name of the peer, contained in this panel. |
UIVideoHandler |
getVideoHandler()
Returns the video handler associated with this call peer renderer. |
boolean |
isLocalVideoVisible()
Indicates if the local video component is currently visible. |
void |
loadSkin()
Reloads all icons. |
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer. |
void |
securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent evt)
The handler for the security event received. |
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security has gone off. |
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on. |
void |
securityPending()
Indicates that the security status is pending confirmation. |
void |
securityTimeout(CallPeerSecurityTimeoutEvent evt)
Indicates that the security is timeouted, is not supported by the other end. |
void |
setCallPeerAdapter(CallPeerAdapter adapter)
Sets the call peer adapter managing all related listeners. |
void |
setErrorReason(String reason)
Sets the reason of a call failure if one occurs. |
void |
setLocalVideoVisible(boolean isVisible)
Shows/hides the local video component. |
void |
setMute(boolean isMute)
Sets the mute status icon to the status panel. |
void |
setOnHold(boolean isOnHold)
Sets the "on hold" property value. |
void |
setPeerImage(byte[] image)
Set the image of the peer |
void |
setPeerName(String name)
Sets the name of the peer. |
void |
setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
Sets the state of the contained call peer by specifying the state name. |
void |
setSecurityPanelVisible(boolean isVisible)
Shows/hides the security panel. |
| Methods inherited from class javax.swing.JPanel |
|---|
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public OneToOneCallPeerPanel(CallRenderer callRenderer,
CallPeer callPeer,
List<Container> videoContainers,
UIVideoHandler vHandler)
callRenderer - the renderer of the callcallPeer - the CallPeer represented in this panelvideoContainers - the video Container listvHandler - the UIVideoHandler
public OneToOneCallPeerPanel(CallRenderer callRenderer,
CallPeer callPeer,
List<Container> videoContainers)
callRenderer - the renderer of the callcallPeer - the CallPeer represented in this panelvideoContainers - the video Container list| Method Detail |
|---|
Component createCenter(List<Container> videoContainers)
Component hierarchy of the central area of this
CallPeerPanel which displays the photo of the
CallPeer or the video if any.
Component hierarchy of the central
area of this CallPeerPanel which displays the
photo of the CallPeer or the video if anypublic String getPeerName()
public void setPeerName(String name)
setPeerName in interface CallPeerRenderername - the name of the peerpublic void setPeerImage(byte[] image)
setPeerImage in interface CallPeerRendererimage - new image
public void setPeerState(CallPeerState oldState,
CallPeerState newState,
String stateString)
setPeerState in interface CallPeerRendereroldState - the previous state of the peernewState - the new state of the peerstateString - the state of the contained call peerpublic void setMute(boolean isMute)
setMute in interface CallPeerRendererisMute - indicates if the call with this peer is
mutedpublic void setOnHold(boolean isOnHold)
setOnHold in interface CallPeerRendererisOnHold - indicates if the call with this peer is put on holdpublic void securityOn(CallPeerSecurityOnEvent evt)
Sets the secured status icon to the status panel and initializes/updates the corresponding security details.
securityOn in interface CallPeerRendererevt - Details about the event that caused this message.public void securityOff(CallPeerSecurityOffEvent evt)
securityOff in interface CallPeerRendererevt - Details about the event that caused this message.public void securityPending()
securityPending in interface CallPeerRendererpublic void securityTimeout(CallPeerSecurityTimeoutEvent evt)
securityTimeout in interface CallPeerRendererevt - Details about the event that caused this message.public void securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent evt)
securityNegotiationStarted in interface CallPeerRendererevt - the security started event receivedpublic void setCallPeerAdapter(CallPeerAdapter adapter)
setCallPeerAdapter in interface CallPeerRendereradapter - the adapter to setpublic CallPeerAdapter getCallPeerAdapter()
getCallPeerAdapter in interface CallPeerRendererpublic CallPanel getCallPanel()
getCallPanel in interface CallPeerRendererpublic void printDTMFTone(char dtmfChar)
printDTMFTone in interface CallPeerRendererdtmfChar - the DTMF char to printpublic void setErrorReason(String reason)
setErrorReason in interface CallPeerRendererreason - the reason to displaypublic void loadSkin()
loadSkin in interface Skinnablepublic void setLocalVideoVisible(boolean isVisible)
setLocalVideoVisible in interface CallPeerRendererisVisible - true to show the local video, false -
otherwisepublic boolean isLocalVideoVisible()
isLocalVideoVisible in interface CallPeerRendererpublic CallRenderer getCallRenderer()
getCallRenderer in interface CallPeerRendererpublic Component getComponent()
getComponent in interface CallPeerRendererpublic UIVideoHandler getVideoHandler()
getVideoHandler in interface CallPeerRendererpublic void setSecurityPanelVisible(boolean isVisible)
setSecurityPanelVisible in interface CallPeerRendererisVisible - true to show the security panel, false
to hide it
|
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 | |||||||||