|
SIP Communicator: 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 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(CallDialog callDialog,
CallPeer callPeer)
Creates a ConferencePeerPanel, that would be contained in the given callDialog and would correspond to the given callPeer. |
|
ConferencePeerPanel(CallDialog callDialog,
ProtocolProviderService protocolProvider)
Creates a ConferencePeerPanel by specifying the parent callDialog, containing it and the corresponding protocolProvider. |
|
| Method Summary | |
|---|---|
void |
conferenceFocusChanged(CallPeerConferenceEvent conferenceEvent)
Enables or disables the conference focus UI depending on the change. |
void |
conferenceMemberAdded(CallPeerConferenceEvent conferenceEvent)
Adds a ConferenceMemberPanel to this container when a ConferenceMember has been added to the corresponding conference. |
void |
conferenceMemberRemoved(CallPeerConferenceEvent conferenceEvent)
Removes the corresponding ConferenceMemberPanel from this container when a ConferenceMember has been removed from the corresponding conference. |
void |
fireLocalUserSoundLevelChanged(int level)
Updates the sound bar level of the local user participating in the conference. |
CallDialog |
getCallDialog()
Returns the parent CallDialog containing this renderer. |
CallPeerAdapter |
getCallPeerAdapter()
Returns the call peer adapter that manages all related listeners. |
(package private) ConferenceMembersSoundLevelListener |
getConferenceMembersSoundLevelListener()
Returns the listener instance and created if needed. |
(package private) net.java.sip.communicator.impl.gui.main.call.conference.ConferencePeerPanel.StreamSoundLevelListener |
getStreamSoundLevelListener()
Returns the listener instance and created if needed. |
void |
paintComponent(Graphics g)
Paints a special background for conference focus peers. |
void |
printDTMFTone(char dtmfChar)
Prints the given DTMG character through this CallPeerRenderer. |
void |
securityOff()
Indicates that the security has gone off. |
void |
securityOn(String securityString,
boolean isSecurityVerified)
Indicates that the security is turned on. |
void |
setAudioSecurityOn(boolean isAudioSecurityOn)
Updates all related components to fit the new value. |
void |
setCallPeerAdapter(CallPeerAdapter adapter)
Sets the call peer adapter that manages all related listeners. |
void |
setEncryptionCipher(String encryptionCipher)
Updates all related components to fit the new value. |
void |
setErrorReason(String reason)
Sets the reason of a call failure if one occurs. |
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. |
void |
setVideoSecurityOn(boolean isVideoSecurityOn)
Updates all related components to fit the new value. |
| Methods inherited from class net.java.sip.communicator.impl.gui.main.call.conference.BasicConferenceParticipantPanel |
|---|
addToCenter, addToNameBar, addToStatusBar, isFocusUI, isSingleFocusUI, setFocusUI, setParticipantImage, setParticipantName, setParticipantState, setSingleFocusUI, 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(CallDialog callDialog,
ProtocolProviderService protocolProvider)
callDialog - the call dialog containing this panelprotocolProvider - the ProtocolProviderService for the
call
public ConferencePeerPanel(CallDialog callDialog,
CallPeer callPeer)
callDialog - the dialog, in which this panel is showncallPeer - The peer who own this UI| Method Detail |
|---|
public void securityOff()
securityOff in interface CallPeerRenderer
public void securityOn(String securityString,
boolean isSecurityVerified)
Sets the secured status icon to the status panel and initializes/updates the corresponding security details.
securityOn in interface CallPeerRenderersecurityString - the security stringisSecurityVerified - indicates if the security string has been
already verified by the underlying CallPeerpublic 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 setAudioSecurityOn(boolean isAudioSecurityOn)
setAudioSecurityOn in interface CallPeerRendererisAudioSecurityOn - indicates if the audio security is turned on
or off.public void setEncryptionCipher(String encryptionCipher)
setEncryptionCipher in interface CallPeerRendererencryptionCipher - the encryption cipher to showpublic void setVideoSecurityOn(boolean isVideoSecurityOn)
setVideoSecurityOn in interface CallPeerRendererisVideoSecurityOn - indicates if the video security is turned on
or off.public void setCallPeerAdapter(CallPeerAdapter adapter)
setCallPeerAdapter in interface CallPeerRendereradapter - the call peer adapterpublic CallPeerAdapter getCallPeerAdapter()
getCallPeerAdapter in interface CallPeerRendererpublic CallDialog getCallDialog()
getCallDialog 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 void conferenceMemberAdded(CallPeerConferenceEvent conferenceEvent)
conferenceMemberAdded in interface CallPeerConferenceListenerconferenceEvent - the CallPeerConferenceEvent that has been
triggeredpublic void conferenceMemberRemoved(CallPeerConferenceEvent conferenceEvent)
conferenceMemberRemoved in interface CallPeerConferenceListenerconferenceEvent - the CallPeerConferenceEvent that has been
triggeredpublic void conferenceFocusChanged(CallPeerConferenceEvent conferenceEvent)
conferenceFocusChanged in interface CallPeerConferenceListenerconferenceEvent - the conference eventpublic void paintComponent(Graphics g)
paintComponent in class BasicConferenceParticipantPanelg - the Graphics object used for paintingConferenceMembersSoundLevelListener getConferenceMembersSoundLevelListener()
net.java.sip.communicator.impl.gui.main.call.conference.ConferencePeerPanel.StreamSoundLevelListener getStreamSoundLevelListener()
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||