|
Class: ModelListEntry
Object
|
+--ListEntry
|
+--ModelListEntry
|
+--LabelAndIcon
- Package:
- stx:libwidg2
- Category:
- Views-Support
- Version:
- rev:
1.5
date: 2021/01/20 14:39:32
- user: cg
- file: ModelListEntry.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
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:]
copyrightCOPYRIGHT (c) 2002 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
string: stringArg model: modelArg
-
accessing
-
model
-
-
model: something
-
-
string
-
-
string: something
-
-
string: stringArg model: modelArg
-
required protocol
-
asString
-
-
displayOn: arg1 x: arg2 y: arg3 opaque: arg4
-
(comment from inherited method)
display the receiver on a GC
-
sameStringAndEmphasisAs: aStringOrText
-
-
widthOn: arg
-
(comment from inherited method)
return the width (in device units) of the receiver when displayed in aGC
string protocol
-
expandPlaceholdersWith: argArrayOrDictionary
-
|