|
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.conference.BasicConferenceParticipantPanel
net.java.sip.communicator.impl.gui.main.call.conference.ConferencePeerPanel
public class ConferencePeerPanel
The ConferencePeerPanel renders a single ConferencePeer, which is not a conference focus.
| 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 net.java.sip.communicator.impl.gui.main.call.conference.BasicConferenceParticipantPanel |
|---|
securityStatusLabel |
| 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 | |
|---|---|
ConferencePeerPanel(ConferenceCallPanel callRenderer,
CallPanel callContainer,
CallPeer callPeer,
UIVideoHandler videoHandler)
Creates a ConferencePeerPanel, that would be contained in the given callDialog and would correspond to the given callPeer. |
|
ConferencePeerPanel(ConferenceCallPanel callRenderer,
CallPanel callPanel,
ProtocolProviderService protocolProvider)
Creates a ConferencePeerPanel by specifying the parent callDialog, containing it and the corresponding protocolProvider. |
|
| Method Summary | |
|---|---|
void |
fireLocalUserSoundLevelChanged(int level)
Updates the sound bar level of the local user participating in the conference. |
CallPanel |
getCallPanel()
Returns the parent CallPanel containing this renderer. |
CallPeerAdapter |
getCallPeerAdapter()
Returns the call peer adapter that manages all related listeners. |
Contact |
getCallPeerContact()
Returns CallPeer contact. |
CallRenderer |
getCallRenderer()
Returns the parent call renderer. |
Component |
getComponent()
Returns the component associated with this renderer. |
ConferenceMembersSoundLevelListener |
getConferenceMembersSoundLevelListener()
Returns null to indicate that there's no stream sound level listener registered with this focus panel. |
net.java.sip.communicator.impl.gui.main.call.conference.ConferencePeerPanel.StreamSoundLevelListener |
getStreamSoundLevelListener()
Returns the listener instance and created if needed. |
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 style information. |
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer. |
void |
securityOff(CallPeerSecurityOffEvent evt)
Indicates that the security has gone off. |
void |
securityOn(CallPeerSecurityOnEvent evt)
Indicates that the security is turned on. |
void |
setCallPeerAdapter(CallPeerAdapter adapter)
Sets the call peer adapter that manages 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[] icon)
Sets the icon of the peer. |
void |
setPeerName(String name)
Sets the name of the peer. |
void |
setPeerState(String state)
Sets the state of the contained call peer by specifying the state name. |
| Methods inherited from class net.java.sip.communicator.impl.gui.main.call.conference.BasicConferenceParticipantPanel |
|---|
addToCenter, addToNameBar, addToStatusBar, paintComponent, setParticipantImage, setParticipantName, setParticipantState, setTitleBackground, updateSoundBar |
| 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 ConferencePeerPanel(ConferenceCallPanel callRenderer,
CallPanel callPanel,
ProtocolProviderService protocolProvider)
callRenderer - the renderer of the corresponding callcallPanel - the call panel containing this peer panelprotocolProvider - the ProtocolProviderService for the
call
public ConferencePeerPanel(ConferenceCallPanel callRenderer,
CallPanel callContainer,
CallPeer callPeer,
UIVideoHandler videoHandler)
callRenderer - the renderer of the corresponding callcallContainer - the container, in which this panel is showncallPeer - The peer who own this UIvideoHandler - the video handler| Method Detail |
|---|
public void securityOn(CallPeerSecurityOnEvent evt)
Sets the secured status icon to the status panel and initializes/updates the corresponding security details.
securityOn in interface CallPeerRenderersecurityOn in class BasicConferenceParticipantPanelevt - Details about the event that caused this message.public void securityOff(CallPeerSecurityOffEvent evt)
securityOff in interface CallPeerRenderersecurityOff in class BasicConferenceParticipantPanelevt - Details about the event that caused this message.public 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 setPeerImage(byte[] icon)
setPeerImage in interface CallPeerRenderericon - the icon to setpublic void setPeerName(String name)
setPeerName in interface CallPeerRenderername - the name of the peerpublic void setPeerState(String state)
setPeerState in interface CallPeerRendererstate - the state of the contained call peerpublic void setCallPeerAdapter(CallPeerAdapter adapter)
setCallPeerAdapter in interface CallPeerRendereradapter - the call peer adapterpublic 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 CallPeerRenderersetErrorReason in class BasicConferenceParticipantPanelreason - the reason to displaypublic void fireLocalUserSoundLevelChanged(int level)
level - the new sound levelpublic ConferenceMembersSoundLevelListener getConferenceMembersSoundLevelListener()
getConferenceMembersSoundLevelListener in interface ConferenceCallPeerRendererpublic net.java.sip.communicator.impl.gui.main.call.conference.ConferencePeerPanel.StreamSoundLevelListener getStreamSoundLevelListener()
getStreamSoundLevelListener in interface ConferenceCallPeerRendererpublic void loadSkin()
loadSkin in interface SkinnableloadSkin in class BasicConferenceParticipantPanelpublic 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 Contact getCallPeerContact()
|
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 | |||||||||