--- 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 <Integer> inset between icon and text
- imageInset <Integer> inset between left side and icon
- imageWidth <Integer> width of widest icon
- minLineHeight <Integer> minimum required line height
- including open/close indication ...
- indicatorWidth <Integer> max. width of indicator
- indicatorHeight <Integer> max. height of indicator
+ textStartLeft <Integer> inset between icon and text
+ imageInset <Integer> inset between left side and icon
+ imageWidth <Integer> width of widest icon
+ minLineHeight <Integer> minimum required line height
+ including open/close indication ...
+ indicatorWidth <Integer> max. width of indicator
+ indicatorHeight <Integer> max. height of indicator
- lineMask <Form> line mask
- lineColor <Color> line color
- showRoot <Boolean> root element is shown or hidden
- derives from the hierachical list.
- showLines <Boolean> show or hide lines
- showIndicators <Boolean> show or hide indicators
- useDefaultIcons <Boolean> use the default icons if no icon
- for an item is specified
- icons <IdentityDictionary> list of registered icons;
- identifier := <key> value := <icon>
- showLeftIndicators <Boolean> show or hide indicator for most left items
- indicatorAction <Block> action evaluated if indicator is pressed (0/1/2 arguments)
- openIndicator <Icon, Image or Form> expanded indicator
- closeIndicator <Icon, Image or Form> collapsed indicator
+ lineMask <Form> line mask
+ lineColor <Color> line color
+ showRoot <Boolean> root element is shown or hidden
+ derives from the hierachical list.
+ showLines <Boolean> show or hide lines
+ showIndicators <Boolean> show or hide indicators
+ useDefaultIcons <Boolean> use the default icons if no icon
+ for an item is specified
+ icons <IdentityDictionary> list of registered icons;
+ identifier := <key> value := <icon>
+ showLeftIndicators <Boolean> show or hide indicator for most left items
+ indicatorAction <Block> action evaluated if indicator is pressed (0/1/2 arguments)
+ openIndicator <Icon, Image or Form> expanded indicator
+ closeIndicator <Icon, Image or Form> collapsed indicator
- alignTextRight <Boolean> enable disable of align the text right
- icon text
- icon text of child
- should be set after creation of the widget!!
- alignTextRightX <Integer> left x position of aligned right text
- maxWidthOfText <Integer> keeps the maximum width of a text label
+ alignTextRight <Boolean> enable disable of align the text right
+ icon text
+ icon text of child
+ should be set after creation of the widget!!
+ alignTextRightX <Integer> left x position of aligned right text
+ maxWidthOfText <Integer> keeps the maximum width of a text label
- levelOfLastItem <Integer> keeps the level of the last item;
- in case of a delete last items from list
- we know were to redraw lines from
+ levelOfLastItem <Integer> keeps the level of the last item;
+ in case of a delete last items from list
+ we know were to redraw lines from
- autoScrollHorizontal <Boolean> true, than automatically scroll horizontal upto
- the text label of the current selected line.
+ autoScrollHorizontal <Boolean> true, than automatically scroll horizontal upto
+ the text label of the current selected line.
- expandOnSelect <Boolean> true, than the item selected by a buttonPress
- event will be immediately expanded.
+ expandOnSelect <Boolean> 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$'
! !