diff -r 75fcddc0d086 -r f0578de62d07 HierarchicalListView.st --- a/HierarchicalListView.st Thu Sep 03 11:02:50 2015 +0200 +++ b/HierarchicalListView.st Fri Sep 04 11:35:44 2015 +0200 @@ -11,6 +11,8 @@ " "{ Package: 'stx:libwidg2' }" +"{ NameSpace: Smalltalk }" + SelectionInListModelView subclass:#HierarchicalListView instanceVariableNames:'imageInset imageWidth lineColor showRoot showLines useDefaultIcons icons openIndicator closeIndicator indicatorWidth @@ -45,58 +47,58 @@ This class implements a hierarchical list view based on a hierachical list. It provides functionality similar to SelectionInTreeView, but optimizes - redraws, and operates directly upon the model (in contrast to - SelectionInTreeView, which generates a list internally). + redraws, and operates directly on the model + (in contrast to SelectionInTreeView, which generates a list internally). [Instance variables:] - textStartLeft inset between icon and text - imageInset inset between left side and icon - imageWidth width of widest icon - minLineHeight minimum required line height - including open/close indication ... - indicatorWidth max. width of indicator - indicatorHeight max. height of indicator + textStartLeft inset between icon and text + imageInset inset between left side and icon + imageWidth width of widest icon + minLineHeight minimum required line height + including open/close indication ... + indicatorWidth max. width of indicator + indicatorHeight max. height of indicator - lineMask
line mask - lineColor line color - showRoot root element is shown or hidden - derives from the hierachical list. - showLines show or hide lines - showIndicators show or hide indicators - useDefaultIcons use the default icons if no icon - for an item is specified - icons list of registered icons; - identifier := value := - showLeftIndicators show or hide indicator for most left items - indicatorAction action evaluated if indicator is pressed (0/1/2 arguments) - openIndicator expanded indicator - closeIndicator collapsed indicator + lineMask line mask + lineColor line color + showRoot root element is shown or hidden + derives from the hierachical list. + showLines show or hide lines + showIndicators show or hide indicators + useDefaultIcons use the default icons if no icon + for an item is specified + icons list of registered icons; + identifier := value := + showLeftIndicators show or hide indicator for most left items + indicatorAction action evaluated if indicator is pressed (0/1/2 arguments) + openIndicator expanded indicator + closeIndicator collapsed indicator - alignTextRight enable disable of align the text right - icon text - icon text of child - should be set after creation of the widget!! - alignTextRightX left x position of aligned right text - maxWidthOfText keeps the maximum width of a text label + alignTextRight enable disable of align the text right + icon text + icon text of child + should be set after creation of the widget!! + alignTextRightX left x position of aligned right text + maxWidthOfText keeps the maximum width of a text label - levelOfLastItem keeps the level of the last item; - in case of a delete last items from list - we know were to redraw lines from + levelOfLastItem keeps the level of the last item; + in case of a delete last items from list + we know were to redraw lines from - autoScrollHorizontal true, than automatically scroll horizontal upto - the text label of the current selected line. + autoScrollHorizontal true, than automatically scroll horizontal upto + the text label of the current selected line. - expandOnSelect true, than the item selected by a buttonPress - event will be immediately expanded. + expandOnSelect true, than the item selected by a buttonPress + event will be immediately expanded. [author:] - Claus Atzkern + Claus Atzkern [see also:] - ListModelView - SelectionInListModelView - HierarchicalList - HierarchicalItem + ListModelView + SelectionInListModelView + HierarchicalList + HierarchicalItem " ! @@ -1708,10 +1710,10 @@ !HierarchicalListView class methodsFor:'documentation'! version - ^ '$Header: /cvs/stx/stx/libwidg2/HierarchicalListView.st,v 1.134 2014-06-23 09:54:13 stefan Exp $' + ^ '$Header$' ! version_CVS - ^ '$Header: /cvs/stx/stx/libwidg2/HierarchicalListView.st,v 1.134 2014-06-23 09:54:13 stefan Exp $' + ^ '$Header$' ! !