Packageorg.aswing
Interfacepublic interface ListCell extends Cell
ImplementorsAbstractListCell, DefaultListTextCellFactory, GeneralListCellFactory

Cell for JList.

See also

JList


Public Methods
 MethodDefined by
 Inherited
Return the represent component of this cell.
Cell
 Inherited
Returns the value of the cell.
Cell
 Inherited
setCellValue(value:*):void
Sets the value of this cell.
Cell
  
setListCellStatus(list:JList, isSelected:Boolean, index:int):void
Sets the table cell status, include the owner-JList, isSelected, the cell index.
ListCell
Method detail
setListCellStatus()method
public function setListCellStatus(list:JList, isSelected:Boolean, index:int):void

Sets the table cell status, include the owner-JList, isSelected, the cell index.

Parameters
list:JList — cell's owner, a JList
 
isSelected:Boolean — true to set the cell selected, false to set not selected.
 
index:int — the index of the list item