eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'SetInspectorView':

Home

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

Class: SetInspectorView


Inheritance:

   Object
   |
   +--GraphicsMedium
      |
      +--DisplaySurface
         |
         +--SimpleView
            |
            +--InspectorView
               |
               +--SetInspectorView

Package:
stx:libtool
Category:
Interface-Inspector
Version:
rev: 1.31 date: 2019/07/31 20:53:53
user: cg
file: SetInspectorView.st directory: libtool
module: stx stc-classLibrary: libtool
Author:
Stefan Vogel

Description:


A modified inspector for Sets


Instance protocol:

menu
o  fieldMenu
(comment from inherited method)
return the popup menu for the field-list

private
o  baseInspectedObjectClass
only instvars below that are shown by me in the non-basic tab.
This hides uninterresting details in the regular tab

o  defaultLabel
(Set with:1 with:2 with:3) inspect

o  indexList
return a list of indexes to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.

o  indexedFieldList
return a list of indexed-variable names to show in the selectionList.
Set hasMore to true, if a '...' entry should be added.

o  numIndexedFields

o  release
release inspected object

o  showAllIndexedVarsInFieldList

queries
o  isIndexShown

user interaction
o  doRemoveKey
remove selected item from keys

o  indexedValueAtIndex: idx

o  indexedValueAtKey: idx

o  valueAtLine: lineNr put: newValue
store newValue;
For non-named instvars, we add the new value - ignoring the selection


Examples:


#(a b c d e) asSet inspect

ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Thu, 18 Apr 2024 10:41:02 GMT