235 |
removeListSelectionListener(ListSelectionListener listener) { |
removeListSelectionListener(ListSelectionListener listener) { |
236 |
listenerList.remove(ListSelectionListener.class, listener); |
listenerList.remove(ListSelectionListener.class, listener); |
237 |
} |
} |
238 |
|
|
239 |
|
/** |
240 |
|
* Determines whether the channel list UI should be automatically updated |
241 |
|
* when channel is added/removed. The default value is <code>true</code>. |
242 |
|
* @see updateChannelListUI |
243 |
|
*/ |
244 |
|
public boolean |
245 |
|
getAutoUpdate() { return chnList.getAutoUpdate(); } |
246 |
|
|
247 |
|
/** |
248 |
|
* Determines whether the channel list UI should be automatically updated |
249 |
|
* when channel is added/removed. |
250 |
|
* @see updateChannelListUI |
251 |
|
*/ |
252 |
|
public void |
253 |
|
setAutoUpdate(boolean b) { chnList.setAutoUpdate(b); } |
254 |
|
|
255 |
|
/** |
256 |
|
* Updates the channel list UI. |
257 |
|
* @see setAutoUpdate |
258 |
|
*/ |
259 |
|
public void |
260 |
|
updateChannelListUI() { chnList.updateList(); } |
261 |
} |
} |