|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PrototypeCellProvider
interface defines a way for
the JList to obtain a prototype cell for the given list model. This
interface can be implemented by the list cell renderer (since it
typically understands the list data model.)
For an example of this, refer to ListDataItemCellRenderer
or TooltipDataItemCellRenderer
.
ListDataItemCellRenderer
,
TooltipDataItemCellRenderer
Method Summary | |
java.lang.Object |
getPrototypeCell(javax.swing.JList list,
javax.swing.ListModel listModel)
Fetches a data item that can be used as the prototype cell for the JList based on the given list model. |
Method Detail |
public java.lang.Object getPrototypeCell(javax.swing.JList list, javax.swing.ListModel listModel)
list
- the JList instancelistModel
- the list model of the JList
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.