|
Class: DataSetLabel
Object
|
+--DataSetLabel
- Package:
- stx:libwidg2
- Category:
- Views-DataSet
- Version:
- rev:
1.43
date: 2019/08/17 09:51:54
- user: cg
- file: DataSetLabel.st directory: libwidg2
- module: stx stc-classLibrary: libwidg2
- Author:
- Claus Atzkern
This class keeps some info about a label.
image specs
-
sortIndicator
-
-
sortIndicatorGrey
-
-
sortIndicatorIcon
-
-
sortReverseIndicator
-
-
sortReverseIndicatorGrey
-
-
sortReverseIndicatorIcon
-
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
-
|