classcamembert::ItemList
sys::Obj fwt::Widget fwt::Canvas petanque::Panel camembert::ItemList : camembert::Themable
ItemList
- addItem
- clear
Void clear()
- colCount
virtual override Int colCount := 5 { private set }
- collapse
Collapse a folder and all subfolders
- colw
virtual override Int colw
- doMouseUp
- expand
Void expand(FileItem base, Bool recurse := false)
Expand a folder if recurse is true then expand any subfolder as well
- files
FileItem[] files()
- findForFile
- font
Font? font
- fontColor
Color? fontColor
- frame
Frame? frame { private set }
- highlight
Item? highlight
- itemh
Int itemh()
- items
Item[] items := Item[,]
- lineCount
virtual override Int lineCount()
- lineh
virtual override Int lineh()
- make
- onPaintLines
- paintItem
- prefSize
- refresh
Void refresh(File base, FileItem[] newItems)
Refresh an item tree, typically a directory base is the item (base of tree) being refreshed
- selectedItemColor
Color? selectedItemColor
- toggleCollapse
Void toggleCollapse(FileItem item)
Toggle collapse / expand an item (1 level)
- updateTheme
virtual override Void updateTheme()
- width
Int width