[View]  [Edit]  [Lock]  [References]  [Attachments]  [History]  [Home]  [Changes]  [Search]  [Help] 

[WI8] ListWidget

ListWidget is a visual list of elements. It can be presented as a flat list of items or as a hierachical list. A tipical usage can be seen in message pane or class hierarchy tree in [UI8] UI8Browser

Hierarchy

ListWidget inherits from [WI8] HTMLListPart.

Relevant Methods

Class

localEventsReturn the smalltalk events managed by instances of the receiver

Instance

allItemsDo:Evaluate aBlock with all the reachable items of the receiver
expandAll:Expands all visible items for a particular object collection (non flat mode)
flatSet the receiver to be flat (no hierarchical view)
shrinkAll:Shrinks all visible items for a particular object collection (non flat mode)
withAll:do:Evaluate aBlock with all the (reachable) items containing objects

Events

ListWidget can handle the following events (besides the ones inherited from its superclass):

Local Events

getContentsReceiver acquires contents
needsRootsReceiver needs acquire root items
hasContents:Receiver needs to test if item has children
needsContentsOf:Receiver is about to render an item and asks for contents
needsTitleOf:Receiver is about to render an item and asks for a title
makeupList:-

References