Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

ListBox.TextRow Class Reference

Inherits ListBox.Row.

List of all members.


Detailed Description

A row with text columns.

This simplified version of row is appropriate if you don't have any non-text columns. Columns that are too long for their space are printed using ellipses.


Public Member Functions

 this (char[][] list)
 Assign the list, non-copying.

char[] columnText (Column column)
 Return a column's text value.

int compare (Row other, Column column)
 Compare this row/column with another row/column.

int height ()
 Return the height of the row in pixels.

void displayColumn (Column column, int x, int y, int width)
 Draw a single column at the specified location.


Public Attributes

char[][] list
 Column values.


Member Function Documentation

int ListBox.TextRow.compare Row  other,
Column  column
 

Compare this row/column with another row/column.

Returns:
Positive if this row should be sorted later than the other row, Negative if this row should be sorted sooner than the other row, or 0 if they are not ordered.

Reimplemented from ListBox.Row.

void ListBox.TextRow.displayColumn Column  column,
int  x,
int  y,
int  width
 

Draw a single column at the specified location.

The default draws nothing.

Parameters:
column The column to display.
x The horizontal coordinate to start the column.
y The vertical coordinate to start the column.
width The width in pixels of the space the column is given.

Reimplemented from ListBox.Row.


The documentation for this class was generated from the following file:
Generated on Thu Sep 4 13:12:52 2003 for dig by doxygen 1.3.2