@ -27,7 +27,7 @@ public class MuteButton
/ * *
* Initializes a new < tt > MuteButton < / tt > instance which is to mute the audio
* stream to a specific < tt > CallP articipant < / tt > .
* stream to a specific < tt > CallP eer < / tt > .
*
* @param call the < tt > Call < / tt > to be associated with
* the new instance and to have the audio stream sent to muted
@ -39,7 +39,7 @@ public MuteButton(Call call)
/ * *
* Initializes a new < tt > MuteButton < / tt > instance which is to mute the audio
* stream to a specific < tt > CallP articipant < / tt > .
* stream to a specific < tt > CallP eer < / tt > .
*
* @param call the < tt > Call < / tt > to be associated with
* the new instance and to be put on / off hold upon performing
@ -81,7 +81,7 @@ public MuteButton(Call call, boolean isFullScreenMode, boolean isSelected)
}
/ * *
* Represents the model of a toggle button that mutes the audio stream sent
* to a specific < tt > CallP articipant < / tt > .
* to a specific < tt > CallP eer < / tt > .
* /
private static class MuteButtonModel
extends ToggleButtonModel
@ -89,14 +89,14 @@ private static class MuteButtonModel
{
/ * *
* The < tt > CallP articipant < / tt > whose state is being adapted for the
* The < tt > CallP eer < / tt > whose state is being adapted for the
* purposes of depicting as a toggle button .
* /
private final Call call ;
/ * *
* Initializes a new < tt > MuteButtonModel < / tt > instance to represent the
* state of a specific < tt > CallP articipant < / tt > as a toggle button .
* state of a specific < tt > CallP eer < / tt > as a toggle button .
*
* @param call the < tt > Call < / tt > whose state is to
* be represented as a toggle button
@ -112,19 +112,19 @@ public void actionPerformed(ActionEvent evt)
{
if ( call ! = null )
{
Iterator < CallPeer > p articipant s
Iterator < CallPeer > p eer s
= call . getCallPeers ( ) ;
while ( p articipant s. hasNext ( ) )
while ( p eer s. hasNext ( ) )
{
CallPeer callP articipant = participant s. next ( ) ;
CallPeer callP eer = peer s. next ( ) ;
OperationSetBasicTelephony telephony
= ( OperationSetBasicTelephony ) call . getProtocolProvider ( )
. getOperationSet ( OperationSetBasicTelephony . class ) ;
telephony . setMute ( callP articipant ,
! callP articipant . isMute ( ) ) ;
telephony . setMute ( callP eer ,
! callP eer . isMute ( ) ) ;
fireItemStateChanged (
new ItemEvent ( this ,