com.alee.utils.swing
Class DefaultFileFilterListCellRenderer

java.lang.Object
  extended by com.alee.laf.combobox.WebComboBoxCellRenderer
      extended by com.alee.utils.swing.DefaultFileFilterListCellRenderer
All Implemented Interfaces:
javax.swing.ListCellRenderer

public class DefaultFileFilterListCellRenderer
extends WebComboBoxCellRenderer

Custom list and combobox cell renderer for file filters data.

Author:
Mikle Garin

Field Summary
 
Fields inherited from class com.alee.laf.combobox.WebComboBoxCellRenderer
boxRenderer, elementRenderer, rendererListeners
 
Constructor Summary
DefaultFileFilterListCellRenderer()
          Constructs a default file filter cell renderer.
 
Method Summary
 java.awt.Component getListCellRendererComponent(javax.swing.JList list, java.lang.Object value, int index, boolean isSelected, boolean cellHasFocus)
          
 
Methods inherited from class com.alee.laf.combobox.WebComboBoxCellRenderer
addRendererListener, fireRepaint, fireRevalidate, getBoxRenderer, getElementRenderer, removeRendererListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFileFilterListCellRenderer

public DefaultFileFilterListCellRenderer()
Constructs a default file filter cell renderer.

Method Detail

getListCellRendererComponent

public java.awt.Component getListCellRendererComponent(javax.swing.JList list,
                                                       java.lang.Object value,
                                                       int index,
                                                       boolean isSelected,
                                                       boolean cellHasFocus)

Specified by:
getListCellRendererComponent in interface javax.swing.ListCellRenderer
Overrides:
getListCellRendererComponent in class WebComboBoxCellRenderer