Classes

Class XbpMultiCellGroup() Foundation

Class function of the XbpMultiCellGroup class

Superclass
Description

XbpMultiCellGroup() is a service class used to display a set of data as a multi-column table. Objects of this class are used by the XbpQuickBrowse()class for displaying the heading and data area of the browse display.

Class methods
:new()
Creates an instance of the XbpMultiCellGroup class.
Configuration

The instance variables in this group configure system resources. If changes are made to the default values, they must be made before the :create() method is executed or :configure() must be called to activate the changes.

:clipParent
Determines whether the parent is clipped during graphic output.
:DrawMode
Specifies the drawing mode of the XbpMultiCellGroup object.
:maxCol
Defines the number of columns
:referenceArray
Array with reference strings for column width calculation.
:style
Selects a pre-defined display style.
Life cycle
:create()
Requests system resources for the XbpMultiCellGroup object.
:configure()
Reconfigures the XbpMultiCellGroup object after :create() has been executed.
:destroy()
Releases the system resources of the XbpMultiCellGroup object.
Cell manipulation
:cellFromPos()
Retrieves the row and column position of a cell from a graphic coordinate.
:cellRect()
Determines the graphic X/Y coordinates of a single cell.
:drawCell()
Draws a single or multiple cells.
:getCell()
Retrieves the value of a single cell.
:getCellColor()
Retrieves the fore- and/or background color of a cell.
:hiliteCell()
Displays a cell in normal or highlight color.
:setCell()
Defines the value to be displayed in a cell.
:setCellColor()
Changes the foreground and/or background color of a cell.
Display methods
:colCount()
Determines the number of columns displayed by the object.
:getAlignment()
Determines the alignment attribute of a column.
:getColRepresentation()
Determines the images defined for the visual representation of a value.
:getColType()
Retrieves the type attributes of a column.
:getColWidth()
Determines the width of a column in pixel.
:getRowHeight()
Determines the height of the rows in pixel.
:setAlignment()
Defines the alignment attribute of a column.
:setColRepresentation()
Defines the visual representation of data displayed in a column.
:setColType()
Defines the display type of a column.
:setColWidth()
Sets the column width in pixel.
:setRowHeight()
Sets the row height in pixel.
Navigation
:scrollDown()
Scrolls cell contents upwards and clears the cells at the bottom.
:scrollUp()
Scrolls cell contents downwards and clears the cells at the top.
Messages
xbeP_CustomDrawCell
A cell within an owner-drawn XbpMultiCellGroup object needs to be redrawn.
xbeBRW_ItemMarked
Left mouse button is pressed on a cell.
xbeBRW_ItemSelected
Left double click occurred in a cell.
Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.