com.melloware.jukes.gui.view.component
Class PlaylistListModel
java.lang.Object
javax.swing.AbstractListModel
com.melloware.jukes.gui.view.component.PlaylistListModel
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.io.Serializable, java.util.EventListener, javax.swing.ListModel
public final class PlaylistListModel
- extends javax.swing.AbstractListModel
- implements java.beans.PropertyChangeListener
Mode used for displaying playlists in a JList.
Copyright (c) 1999-2007 Melloware, Inc.
- Version:
- 4.0
- Author:
- Emil A. Lefkof III
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.AbstractListModel |
listenerList |
| Methods inherited from class javax.swing.AbstractListModel |
addListDataListener, fireContentsChanged, fireIntervalAdded, fireIntervalRemoved, getListDataListeners, getListeners, removeListDataListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlaylistListModel
public PlaylistListModel(Playlist aPlaylist,
PlaylistPanel aPanel)
- Constructs a
PlaylistPanel for the given module.
- Parameters:
aPlaylist - provides the playlist class needed for display
getElementAt
public java.lang.Object getElementAt(int aIndex)
- Specified by:
getElementAt in interface javax.swing.ListModel
getKeyTypedListener
public java.awt.event.KeyListener getKeyTypedListener()
- Gets the keyTypedListener.
- Returns:
- Returns the keyTypedListener.
getSize
public int getSize()
- Specified by:
getSize in interface javax.swing.ListModel
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent evt)
- Whenever the master playlist changes update this view.
- Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Copyright © 1999-2009 Melloware Inc. All Rights Reserved.