public class ExpandedItemListCellRendererWrapper<T>
extends java.lang.Object
implements javax.swing.ListCellRenderer<T>
Constructor and Description |
---|
ExpandedItemListCellRendererWrapper(javax.swing.ListCellRenderer<? super T> wrappee,
ExpandableItemsHandler<java.lang.Integer> handler) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getListCellRendererComponent(javax.swing.JList<? extends T> list,
T value,
int index,
boolean isSelected,
boolean cellHasFocus) |
javax.swing.ListCellRenderer |
getWrappee() |
java.lang.String |
toString() |
public ExpandedItemListCellRendererWrapper(javax.swing.ListCellRenderer<? super T> wrappee, ExpandableItemsHandler<java.lang.Integer> handler)
public java.awt.Component getListCellRendererComponent(javax.swing.JList<? extends T> list, T value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent
in interface javax.swing.ListCellRenderer<T>
public java.lang.String toString()
toString
in class java.lang.Object
public javax.swing.ListCellRenderer getWrappee()