eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'DataSetLabel':

Home

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

Class: DataSetLabel


Inheritance:

   Object
   |
   +--DataSetLabel

Package:
stx:libwidg2
Category:
Views-DataSet
Version:
rev: 1.41 date: 2017/11/28 18:24:56
user: cg
file: DataSetLabel.st directory: libwidg2
module: stx stc-classLibrary: libwidg2
Author:
Claus Atzkern

Description:


This class keeps some info about a label.


Class protocol:

image specs
o  sortIndicator
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortIndicator inspect
     ImageEditor openOnClass:self andSelector:#sortIndicator
     Icon flushCachedIcons

o  sortIndicatorGrey
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortIndicatorGrey inspect
     ImageEditor openOnClass:self andSelector:#sortIndicatorGrey
     Icon flushCachedIcons

o  sortIndicatorGreyIcon

o  sortIndicatorIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortIndicatorIcon inspect
     ImageEditor openOnClass:self andSelector:#sortIndicatorIcon
     Icon flushCachedIcons

o  sortReverseIndicator
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortReverseIndicator inspect
     ImageEditor openOnClass:self andSelector:#sortReverseIndicator
     Icon flushCachedIcons

o  sortReverseIndicatorGrey
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortReverseIndicatorGrey inspect
     ImageEditor openOnClass:self andSelector:#sortReverseIndicatorGrey
     Icon flushCachedIcons

o  sortReverseIndicatorGreyIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortReverseIndicatorGreyIcon inspect
     ImageEditor openOnClass:self andSelector:#sortReverseIndicatorGreyIcon
     Icon flushCachedIcons

o  sortReverseIndicatorIcon
This resource specification was automatically generated
by the ImageEditor of ST/X.
usage example(s):
     self sortReverseIndicatorIcon inspect
     ImageEditor openOnClass:self andSelector:#sortReverseIndicatorIcon
     Icon flushCachedIcons


Instance protocol:

accessing-color & font
o  backgroundColor
returns the background color or nil

o  backgroundColor: aColor
set the background color or nil

o  foregroundColor
returns the foreground color or nil

o  foregroundColor: aColor
set the foreground color or nil

accessing-dimensions
o  preferredHeight
returns my preferred height

o  preferredWidth
returns my preferred width

drawing
o  redrawX: xLeft w: width h: height inset: inset on: aLabelView
redraw the label; the background is cleared and the paint is set

instance creation
o  description: aDescription builder: aBuilder on: aGC
stupid code - could simply access things via the description.

o  font
answer my font or nil (default)

o  font: aFont
set my font or nil (default)

o  fontChangedOn: aGC
invoked after the font has changed

private
o  label: aLabel on: aDevice
returns registered label on a device

o  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
o  hasSeparator
^ (label at:1) ~= 'Alarm'

o  isSelectable
returns true if the item is selectable; a valid selector
to notify the receiver for a release button event exists

o  isSortable



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 22 Jul 2018 06:27:44 GMT