public class GroupedItemsListRenderer<E> extends GroupedElementsRenderer.List implements javax.swing.ListCellRenderer<E>
GroupedElementsRenderer.List, GroupedElementsRenderer.MyComponent, GroupedElementsRenderer.Tree
Modifier and Type | Field and Description |
---|---|
protected int |
myCurrentIndex |
protected <any> |
myDescriptor |
protected javax.swing.JLabel |
myNextStepLabel |
myComponent, myRendererComponent, mySeparatorComponent, myTextLabel
Constructor and Description |
---|
GroupedItemsListRenderer(<any> descriptor) |
Modifier and Type | Method and Description |
---|---|
protected javax.swing.JComponent |
createItemComponent() |
protected void |
createLabel() |
protected void |
customizeComponent(javax.swing.JList<? extends E> list,
E value,
boolean isSelected) |
java.awt.Component |
getListCellRendererComponent(javax.swing.JList<? extends E> list,
E value,
int index,
boolean isSelected,
boolean cellHasFocus) |
javax.swing.JLabel |
getNextStepLabel() |
protected javax.swing.JComponent |
layoutComponent(javax.swing.JComponent middleItemComponent) |
getBackground, getForeground, getSelectionBackground, getSelectionForeground, layout
configureComponent, createSeparator, getDefaultItemComponentBorder, setDeselected, setSelected, setSelected, setSeparatorFont
protected <any> myDescriptor
protected javax.swing.JLabel myNextStepLabel
protected int myCurrentIndex
public javax.swing.JLabel getNextStepLabel()
public java.awt.Component getListCellRendererComponent(javax.swing.JList<? extends E> list, E value, int index, boolean isSelected, boolean cellHasFocus)
getListCellRendererComponent
in interface javax.swing.ListCellRenderer<E>
protected javax.swing.JComponent createItemComponent()
createItemComponent
in class GroupedElementsRenderer
protected void createLabel()
protected final javax.swing.JComponent layoutComponent(javax.swing.JComponent middleItemComponent)