81 |
|
|
82 |
private final EventListenerList listenerList = new EventListenerList(); |
private final EventListenerList listenerList = new EventListenerList(); |
83 |
|
|
84 |
|
private boolean channelListIsAdjusting = false; |
85 |
|
|
86 |
private boolean modified = false; |
private boolean modified = false; |
87 |
|
|
88 |
|
|
712 |
} |
} |
713 |
|
|
714 |
/** |
/** |
715 |
|
* Determines whether there are known upcoming changes to the |
716 |
|
* channel list, which should be considered as part of a single action. |
717 |
|
*/ |
718 |
|
public synchronized boolean |
719 |
|
getChannelListIsAdjusting() { return channelListIsAdjusting; } |
720 |
|
|
721 |
|
/** |
722 |
|
* Sets whether the upcoming changes to the |
723 |
|
* channel list should be considered part of a single action. |
724 |
|
*/ |
725 |
|
public synchronized void |
726 |
|
setChannelListIsAdjusting(boolean b) { |
727 |
|
channelListIsAdjusting = b; |
728 |
|
} |
729 |
|
|
730 |
|
/** |
731 |
* Removes the specified sampler channel. |
* Removes the specified sampler channel. |
732 |
* @param channelId The ID of the channel to be removed. |
* @param channelId The ID of the channel to be removed. |
733 |
* @return <code>true</code> if the channel is removed successfully, <code>false</code> |
* @return <code>true</code> if the channel is removed successfully, <code>false</code> |