| com.xoetrope.swing.list.XAltListCellRenderer com.xoetrope.resource.XResourceLoaderListCellRenderer
XResourceLoaderListCellRenderer | public class XResourceLoaderListCellRenderer extends XAltListCellRenderer (Code) | | A cell renderer for displaying download progress
Copyright (c) Xoetrope Ltd., 2001-2007, This software is licensed under
the GNU Public License (GPL), please see license.txt for more details. If
you make commercial use of this software you must purchase a commercial
license from Xoetrope.
author: Luan O'Carroll |
XResourceLoaderListCellRenderer | public XResourceLoaderListCellRenderer(XBaseModel m)(Code) | | Creates a new instance of XDownloadProgressListCellRenderer
|
getListCellRendererComponent | public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)(Code) | | |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Get the size of the cell and add some extra width for the progress indicator
|
paintComponent | public void paintComponent(Graphics g)(Code) | | Paint the indicator
Parameters: g - the graphics context |
|
|