@ Override public Control [ ] getControls ( ) { Control [ ] controls = line . getControls ( ) ; for ( int i = 0 ; i < controls . length ; i ++ ) { Control control = controls [ i ] ; if ( control . getType ( ) . toString ( ) . equals ( BooleanControl . Type . MUTE . toString ( ) ) ) { controls [ i ] = new FakeMuteControl ( ) ; } } return controls ; }
Obtains the set of controls associated with this line . Some controls may only be available when the line is open . If there are no controls this method returns an array of length 0 . The mute - control operation may be overridden by the System .