class org.aswing.GeneralListCellFactory
Interfaces | |||
![]() | ListCellFactory |
|
GeneralListCellFactory let you can just specified a ListCell implemented class and other params to create a ListCellFactory @author paling
Instance Fields
function new(listCellClass:Class<Dynamic>, ?shareCelles:Bool = true, ?sameHeight:Bool = true, ?height:Int = 22): Void
Create a list cell factory with a list cell class and other properties. @see #isShareCells()
listCellClass | the ListCell implementation, for example com.xlands.ui.list.UserListCell |
shareCelles | (optional)is share cells for list items, default is true. |
sameHeight | (optional)is all cells with same height, default is true. |
height | (optional)the height for all cells if sameHeight, if not |