Class MediaListEventAdapter

java.lang.Object
uk.co.caprica.vlcj.medialist.MediaListEventAdapter
All Implemented Interfaces:
MediaListEventListener

public class MediaListEventAdapter extends Object implements MediaListEventListener
Default implementation of the media list event listener.

Simply override the methods you're interested in.

Events are not raised on the Swing Event Dispatch thread so if updating user interface components in response to these events care must be taken to use SwingUtilities.invokeLater(Runnable).

Equally, care must be taken not to call back into LibVLC from the event handling thread - if an event handler needs to call back into LibVLC it should use the MediaPlayerFactory.submit(Runnable) method to submit a task for asynchronous execution.