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  label: aLabel

o  label: aLabel icon: anIcon

o  labeled: aLabel

** This is an obsolete interface - do not use it (it may vanish in future versions) **

o  labeled: aLabel icon: anIcon

** This is an obsolete interface - do not use it (it may vanish in future versions) **

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Wed, 27 Nov 2024 04:19:58 GMT