|
Class: DataSetLabel
Object
|
+--DataSetLabel
- Package:
- stx:libwidg2
- Category:
- Views-DataSet
- Version:
- rev:
1.46
date: 2022/03/05 09:52:32
- user: cg
- file: DataSetLabel.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
This class keeps some info about a label.
copyrightCOPYRIGHT (c) 1997 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.
image specs
-
sortIndicator
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortIndicatorGrey
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortIndicatorIcon
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortReverseIndicator
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortReverseIndicatorGrey
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
sortReverseIndicatorIcon
-
** This is an obsolete interface - do not use it (it may vanish in future versions) **
accessing-color & font
-
backgroundColor
-
returns the background color or nil
-
backgroundColor: aColor
-
set the background color or nil
-
foregroundColor
-
returns the foreground color or nil
-
foregroundColor: aColor
-
set the foreground color or nil
accessing-dimensions
-
preferredHeight
-
returns my preferred height
-
preferredWidth
-
returns my preferred width
drawing
-
redrawX: xLeft w: width h: height inset: inset on: aLabelView
-
redraw the label; the background is cleared and the paint is set
instance creation
-
description: aDescription builder: aBuilder on: aGC
-
stupid code - could simply access things via the description.
-
font
-
answer my font or nil (default)
-
font: aFont
-
set my font or nil (default)
-
fontChangedOn: aGC
-
invoked after the font has changed
private
-
label: aLabel on: aDevice
-
returns registered label on a device
-
resolveLabelFromDescription: aDescription withBuilder: aBuilder
-
the rawLabel can be a string, icon, labelAndIcon or collection of strings.
if labelIsImage is true, the string is actually the appModel-labelFor-access key
queries
-
hasSeparator
-
^ (label at:1) ~= 'Alarm'
-
isSelectable
-
returns true if the item is selectable; a valid selector
to notify the receiver for a release button event exists
-
isSortable
-
|