question: public int addChannel ( Channel channel ) { int index = - 1 ; switch ( channel . getChannelType ( ) ) { case STANDARD : mChannels . add ( channel ) ; index = mChannels . size ( ) - 1 ; fireTableRowsInserted ( index , index ) ; break ; case TRAFFIC : mTrafficChannels . add ( channel ) ; index = mChannels . size ( ) - 1 ; break ; default : break ; } broadcast ( new ChannelEvent ( channel , Event . NOTIFICATION_ADD ) ) ; if ( channel . getEnabled ( ) ) { broadcast ( new ChannelEvent ( channel , Event . REQUEST_ENABLE ) ) ; } return index ; }
target:  Adds the channel to the model and broadcasts a channel add event