eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'ListModelView::TableRenderer::ColumnDescriptor':

Home

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

Class: ColumnDescriptor (private in TableRenderer

This class is only visible from within TableRenderer (which is itself a private class of ListModelView).

Inheritance:

   Object
   |
   +--ListModelView::TableRenderer::ColumnDescriptor

Package:
stx:libwidg2
Category:
Views-Lists
Owner:
ListModelView::TableRenderer

Class protocol:

instance creation
o  dataSetColumnSpec: aDataSetColumnSpec

o  new


Instance protocol:

accessing
o  alignment
returns the aligmnent of the contents of the underlying cell

o  dataSetColumnSpec

o  dataSetColumnSpec: aDataSetColumnSpec

o  defaultColumnWidth

o  minimumRequiredColumnHeight
Kludge because of CG's change...sigh.

o  showVerticalSplitbar
answer true if the verical splitbar is shown

o  width
Return
- width in px if the column (if explicit)
- nil if the width should be computed dynamically
based on view's width

o  width: anInteger

o  widthMin
Return the minimal required width in px.

o  widthSpec
Return either
- width in px as Integer or
- relative width as Float

displaying
o  drawRowAt: aRowNr shownSelected: isShownSelected receiver: aReceiver x: x y: y w: w h: h on: aGC
display a column for a specific row

extract values
o  extractBackgroundColorFrom: aReceiver rowNr: aRowNr on: aView

o  extractColumnFrom: aReceiver rowNr: aRowNr on: aView

o  extractForegroundColorFrom: aReceiver rowNr: aRowNr on: aView

instance creation
o  columnNumber: aNumber

private displaying
o  alignAndDisplay: anObject x: x y: y w: w on: aGC
display an object on aGC; care for alignment

o  displayImage: anImage x: x y: y w: w h: h on: aGC
display an image on aGC; answer the height used....

o  displayLabelAndIcon: aLabelAndIcon x: x y: y w: w h: h on: aGC
display an image on aGC; answer the height used....

o  displayString: aString x: x y: y w: w h: h on: aGC
display a string on aGC; answer the height used....

o  drawObject: anObject x: x y: y w: w h: h on: aGC
display any object (sequence of objects) on aGC; answer the height used....

o  queryForClipColumnWithAvailableHeight: anAvailableHeight



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 26 Apr 2024 19:20:44 GMT