eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ModelListEntry':

Home

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

Class: ModelListEntry


Inheritance:

   Object
   |
   +--ListEntry
      |
      +--ModelListEntry
         |
         +--LabelAndIcon

Package:
stx:libwidg2
Category:
Views-Support
Version:
rev: 1.4 date: 2004/02/25 16:09:56
user: cg
file: ModelListEntry.st directory: libwidg2
module: stx stc-classLibrary: libwidg2
Author:
Stefan Vogel (stefan@zwerg)

Description:


Use this class, if you provide some SelectionInListView, ComboBox, etc. with
both a display string, and you want to store some model specific information, too.

You can store a class, a selector to perform, a factory object or anything else
in model.


[instance variables:]
    string          String          string to display
    model           Object          anything you want to store

[class variables:]


Related information:



Class protocol:

instance creation
o  string: stringArg model: modelArg


Instance protocol:

accessing
o  model

o  model: something

o  string

o  string: something

o  string: stringArg model: modelArg

required protocol
o  asString

o  displayOn: arg1 x: arg2 y: arg3 opaque: arg4

o  sameStringAndEmphasisAs: aStringOrText

o  widthOn: arg

string protocol
o  expandPlaceholdersWith: argArrayOrDictionary



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 19 Apr 2024 18:45:06 GMT