org.beanfabrics.swing.list.cellrenderer
Interface PMListCellRenderer

All Superinterfaces:
javax.swing.ListCellRenderer
All Known Implementing Classes:
BooleanPMListCellRenderer, IconPMListCellRenderer, TextPMListCellRenderer

public interface PMListCellRenderer
extends javax.swing.ListCellRenderer

This interface has to be implemented by ListCellRenderers which should be added to the BnListCellRenderer to support a certain PresentationModel.


Method Summary
 boolean supportsPresentationModel(PresentationModel pModel)
          Returns if this list cell renderer supports a certain PresentationModel.
 
Methods inherited from interface javax.swing.ListCellRenderer
getListCellRendererComponent
 

Method Detail

supportsPresentationModel

boolean supportsPresentationModel(PresentationModel pModel)
Returns if this list cell renderer supports a certain PresentationModel.

Parameters:
pModel - the PresentationModel to support
Returns:
true if the given PresentationModel is supported, else false