|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SelectableItemRendererCenterComponentIf
An interface that supports to create an own center component as Renderer for the SelectableItemList.
| Method Summary | |
|---|---|
void |
calculateSize(JList list,
int index,
JPanel contentPane)
Calcualtes the size of the content pane used to paint the whole item. |
JPanel |
createCenterPanel(JList list,
Object value,
int index,
boolean isSelected,
boolean isEnabled,
JScrollPane parentScrollPane,
int leftColumnWidth)
Creates the center component panel. |
| Method Detail |
|---|
JPanel createCenterPanel(JList list,
Object value,
int index,
boolean isSelected,
boolean isEnabled,
JScrollPane parentScrollPane,
int leftColumnWidth)
list - The list with items.value - The currently rendered item.index - The index of the rendered item in the list.isSelected - True if the item is selected.isEnabled - True if the item is enabled.parentScrollPane - The scroll pane in that the list is embedded.leftColumnWidth - The width of the check box area until the text starts.
void calculateSize(JList list,
int index,
JPanel contentPane)
list - The list with the items.index - The index if the currently rendered item.contentPane - The content pane with all components used to paint the item in the list.
|
TV-Browser 2.7.5 API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||