as.clynx.gui.playlist
Interface ListContentProvider

All Known Implementing Classes:
DefaultListContentProvider, JPlayList

public interface ListContentProvider

The interface ListContentProvider.java manages the interaction between an IAudioFileCollection and an visual representation of this IAudioFileCollection instance.

Version:
cLynx v.1.2, JDK 6.0: 27.11.2007
Author:
Andreas Senfter - andreas@senfters.com

Method Summary
 void addElement(AudioFile af)
          adds an element to the visual representation.
 void register(IAudioFileCollection collection)
          registers the IAudioFileCollection instance.
 void update(int from, int to)
          update all elements in the range [from,to] of the visual representation.
 

Method Detail

register

void register(IAudioFileCollection collection)
registers the IAudioFileCollection instance.

Parameters:
collection -

addElement

void addElement(AudioFile af)
adds an element to the visual representation.

Parameters:
af -

update

void update(int from,
            int to)
update all elements in the range [from,to] of the visual representation.

Parameters:
from -
to -