--- jsampler/trunk/src/org/jsampler/view/fantasia/ChannelsPane.java 2007/09/01 13:46:04 1318 +++ jsampler/trunk/src/org/jsampler/view/fantasia/ChannelsPane.java 2008/05/04 18:40:13 1734 @@ -235,4 +235,27 @@ removeListSelectionListener(ListSelectionListener listener) { listenerList.remove(ListSelectionListener.class, listener); } + + /** + * Determines whether the channel list UI should be automatically updated + * when channel is added/removed. The default value is true. + * @see updateChannelListUI + */ + public boolean + getAutoUpdate() { return chnList.getAutoUpdate(); } + + /** + * Determines whether the channel list UI should be automatically updated + * when channel is added/removed. + * @see updateChannelListUI + */ + public void + setAutoUpdate(boolean b) { chnList.setAutoUpdate(b); } + + /** + * Updates the channel list UI. + * @see setAutoUpdate + */ + public void + updateChannelListUI() { chnList.updateList(); } }