eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'HierarchicalItem::Example':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Example (private in HierarchicalItem

This class is only visible from within HierarchicalItem.

Inheritance:

   Object
   |
   +--AbstractHierarchicalItem
      |
      +--AbstractHierarchicalItemWithModel
         |
         +--HierarchicalItem
            |
            +--HierarchicalItem::Example

Package:
stx:libwidg2
Category:
Views-Support
Owner:
HierarchicalItem

Class protocol:

instance creation
o  labeled: aLabel

o  labeled: aLabel icon: anIcon

resources
o  iconForLevel: aLevel
returns an icon

o  penguinIcon


Instance protocol:

accessing
o  children
(comment from inherited method)
returns a list of children. When first asked, the list is fetched, if it was
built lazily.
*** to optimize: either redefine this or fetchChildren by subClass

o  icon
returns the icon

o  icon: anIcon
set the icon; if icon changed, a notification
is raised.

o  label
returns the label

o  label: aLabel
set the label; if label changed, a notification
is raised.

o  setIcon: anIcon
set the icon without any change notification

o  setLabel: aLabel
set the label without any change notification

o  setLabel: aLabel icon: anIcon
set the label and icon without any change notification



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Sat, 20 Apr 2024 07:33:07 GMT