Library | File

Class uifcTable

# include <uifcTable.h>

class uifcTable
 : public virtual uifcSelection
{
    xaideclare(uifcTable)
    ...
};



Description





Method Summary

voidAddActionListener (uifcTableListener_ptr listener)
 
xboolCanDrawContentDisabled ()
 
xboolCanRedraw ()
 
xboolCanTruncateText ()
 
voidCreateTimer (uifcTableTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeleteChild (xrstring name)
 
voidDeleteColumnsByIndex (xintsequence_ptr columns)
 
voidDeleteColumnsByName (xstringsequence_ptr names)
 
voidDeletePopupMenu ()
 
voidDeleteRowsByIndex (xintsequence_ptr rows)
 
voidDeleteRowsByName (xstringsequence_ptr names)
 
xboolDoesActivateOnReturn ()
 
xboolDoesAllowKeyboardInput ()
 
xboolDoesAllowReturnInput ()
 
xboolDoesAllowSpaceInput ()
 
xboolDoesAllowTabInput ()
 
xboolDoesCellSelectOnRMB ()
 
xboolDoesDynamicUpdate ()
 
xboolDoesRowHighlight ()
 
xboolDoesSizeByContents ()
 
uifcColor_ptrGetAlternateRowColor ()
 
uifcPoint_ptrGetAnchorCellIndex ()
 
uifcTableCellCoordinates_ptrGetAnchorCellName ()
 
xintGetCellSelectionDelay ()
 
uifcSelectionPolicyGetCellSelectionPolicy ()
 
uifcColors_ptrGetColumnBackgroundColorArray ()
 
xstringsequence_ptrGetColumnNameArray ()
 
xintsequence_ptrGetColumnResizableArray ()
 
xintsequence_ptrGetColumnResizingArray ()
 
uifcSelectionPolicyGetColumnSelectionPolicy ()
 
xstringsequence_ptrGetColumnTextArray ()
 
uifcColors_ptrGetColumnTextColorArray ()
 
xintsequence_ptrGetColumnVisibleArray ()
 
xintsequence_ptrGetColumnWidthArray ()
 
xintGetDefaultColumnWidth ()
 
xstringGetDefaultHelpText ()
 
uifcPoint_ptrGetDragCellIndex ()
 
uifcTableCellCoordinates_ptrGetDragCellName ()
 
xstringGetDragCursorImage ()
 
xstringGetDragNotValidCursorImage ()
 
uifcPoint_ptrGetDropCellIndex ()
 
uifcTableCellCoordinates_ptrGetDropCellName ()
 
uifcPoint_ptrGetFocusCellIndex ()
 
uifcTableCellCoordinates_ptrGetFocusCellName ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xintGetHeight ()
 
uifcKey_ptrGetKeyPressed ()
 
xintGetLockedColumns ()
 
xintGetLockedRows ()
 
xintGetMinimumHeight ()
 
xintGetMinimumWidth ()
 
uifcPoint_ptrGetMostRecentCellIndex ()
 
uifcTableCellCoordinates_ptrGetMostRecentCellName ()
 
xstringGetPrompt ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcColors_ptrGetRowBackgroundColorArray ()
 
xstringsequence_ptrGetRowNameArray ()
 
uifcSelectionPolicyGetRowSelectionPolicy ()
 
xstringsequence_ptrGetRowTextArray ()
 
uifcColors_ptrGetRowTextColorArray ()
 
xintsequence_ptrGetRowVisibleArray ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
uifcScrollBarPositionGetScrollBarPosition ()
 
xstringsequence_ptrGetSelectedCellNameArray ()
 
xstringsequence_ptrGetSelectedColumnNameArray ()
 
xstringsequence_ptrGetSelectedRowNameArray ()
 
uifcAlignmentGetTextAlignment ()
 
xstringsequence_ptrGetViewableItemNameArray ()
 
xintGetWidth ()
 
xboolHasBorder ()
 
xboolHasScrollBarsWhenNeeded ()
 
xintInsertChild (uifcComponent_ptr component)
 
voidInsertColumn (uifcTableColumn_ptr tablecolumn, uifcColumnPositionData_ptr col_pos_data)
 
voidInsertColumns (uifcTableColumns_ptr tablecolumns, uifcColumnPositionData_ptr posData)
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
voidInsertRow (uifcTableRow_ptr tablerow, uifcRowPositionData_ptr row_pos_data)
 
voidInsertRows (uifcTableRows_ptr tablerows, uifcRowPositionData_ptr posData)
 
xboolIsGridVisible ()
 
xboolIsSelectionVisible ()
 
xboolIsValidDragSite ()
 
voidMoveColumnsByIndex (xint column, xintsequence_ptr columns)
 
voidMoveColumnsByName (xrstring column, xstringsequence_ptr names)
 
voidMoveRowsByIndex (xint row, xintsequence_ptr rows)
 
voidMoveRowsByName (xrstring row, xstringsequence_ptr names)
 
voidPushAction (uifcTableAction action)
 
voidSelectCellsOfColumnByIndex (xintsequence_ptr columns, xbool select)
 
voidSelectCellsOfColumnByName (xstringsequence_ptr names, xbool select)
 
voidSelectCellsOfRowByIndex (xintsequence_ptr rows, xbool select)
 
voidSelectCellsOfRowByName (xstringsequence_ptr rows, xbool select)
 
voidSetActivateOnReturn (xbool flag)
 
voidSetAllowKeyboardInput (xbool flag)
 
voidSetAllowReturnInput (xbool flag)
 
voidSetAllowSpaceInput (xbool flag)
 
voidSetAllowTabInput (xbool flag)
 
voidSetAlternateRowColor (uifcColor_ptr color)
 
voidSetAnchorCellName (uifcTableCellCoordinates_ptr value)
 
voidSetCanDrawContentDisabled (xbool flag)
 
voidSetCanRedraw (xbool flag)
 
voidSetCanTruncateText (xbool flag)
 
voidSetCellSelectionDelay (xint value)
 
voidSetCellSelectionPolicy (uifcSelectionPolicy value)
 
voidSetCellSelectOnRMB (xbool flag)
 
voidSetColumnBackgroundColorArray (uifcColors_ptr colors)
 
voidSetColumnNameArray (xstringsequence_ptr values)
 
voidSetColumnResizableArray (xintsequence_ptr values)
 
voidSetColumnResizingArray (xintsequence_ptr values)
 
voidSetColumnSelectionPolicy (uifcSelectionPolicy value)
 
voidSetColumnTextArray (xstringsequence_ptr values)
 
voidSetColumnTextColorArray (uifcColors_ptr colors)
 
voidSetColumnVisibleArray (xintsequence_ptr values)
 
voidSetColumnWidthArray (xintsequence_ptr values)
 
voidSetDefaultColumnWidth (xint value)
 
voidSetDefaultHelpText (xrstring value)
 
voidSetDragCursorImage (xrstring value)
 
voidSetDragNotValidCursorImage (xrstring value)
 
voidSetDynamicUpdate (xbool flag)
 
voidSetFocusCellName (uifcTableCellCoordinates_ptr value)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetGridVisible (xbool flag)
 
voidSetHasBorder (xbool flag)
 
voidSetHasScrollBarsWhenNeeded (xbool flag)
 
voidSetHeight (xint value)
 
voidSetItemTextArray (xstringsequence_ptr values)
 
voidSetKeyPressed (uifcKey_ptr key)
 
voidSetLockedColumns (xint value)
 
voidSetLockedRows (xint value)
 
voidSetMinimumHeight (xint value)
 
voidSetMinimumWidth (xint value)
 
voidSetPrompt (xrstring value)
 
voidSetRowBackgroundColorArray (uifcColors_ptr colors)
 
voidSetRowHighlight (xbool flag)
 
voidSetRowNameArray (xstringsequence_ptr values)
 
voidSetRowSelectionPolicy (uifcSelectionPolicy value)
 
voidSetRowTextArray (xstringsequence_ptr values)
 
voidSetRowTextColorArray (uifcColors_ptr colors)
 
voidSetRowVisibleArray (xintsequence_ptr values)
 
voidSetScrollBarPosition (uifcScrollBarPosition value)
 
voidSetSelectedCellNameArray (xstringsequence_ptr values)
 
voidSetSelectedColumnNameArray (xstringsequence_ptr values)
 
voidSetSelectedRowNameArray (xstringsequence_ptr values)
 
voidSetSelectionVisible (xbool flag)
 
voidSetSizeByContents (xbool flag)
 
voidSetTextAlignment (uifcAlignment value)
 
voidSetTextOfColumnCells (xrstring column, xrstring labels)
 
voidSetTextOfRowCells (xrstring row, xrstring labels)
 
voidSetValidDragSite (xbool flag)
 
voidSetWidth (xint value)
 
voidStartTimer (xrstring timerName, xint duration)
 
voidStopTimer (xrstring timerName)
 


Methods Inherited from Class uifcComponent:

GetDialog, GetComponent, CreateInParent, AddPopupMenu, IsVisible, SetVisible, GetComponentClass, GetComponentClassName, IsAlwaysAtFront, SetAlwaysAtFront, GetBackgroundColor, SetBackgroundColor, IsAttachedAtBottom, SetAttachedAtBottom, GetBottomOffset, SetBottomOffset, GetCursorImage, SetCursorImage, GetTextColor, SetTextColor, GetHelpTextAlignment, SetHelpTextAlignment, GetHelpTextWidth, SetHelpTextWidth, GetHelpTextOriginX, SetHelpTextOriginX, GetHelpTextOriginY, SetHelpTextOriginY, CanInheritPopupMenu, SetCanInheritPopupMenu, IsAttachedAtLeft, SetAttachedAtLeft, GetLeftOffset, SetLeftOffset, DoesReserveSpace, SetReserveSpace, GetParentName, GetPopupMenuName, SetPopupMenuName, CanPopupMenuWhenDisabled, SetCanPopupMenuWhenDisabled, IsAttachedAtRight, SetAttachedAtRight, GetRightOffset, SetRightOffset, IsAttachedAtTop, SetAttachedAtTop, GetTopOffset, SetTopOffset, IsValidDropSite, SetValidDropSite, GetValidDropTypeFlags, SetValidDropTypeFlags, GetChildNameArray, DoesAllowTrailRecording, SetAllowTrailRecording, CanReduceHeight, SetCanReduceHeight, CanReduceWidth, SetCanReduceWidth


Methods Inherited from Class uifcSelection:

IsInMixedState, SetInMixedState, GetTextFormat, SetTextFormat, GetFontName, SetFontName, GetFontClass, SetFontClass, GetFontSize, SetFontSize, IsEnabled, SetEnabled, GetHelpText, SetHelpText, GetFontStyle, SetFontStyle



Method Detail

voidInsertColumn (uifcTableColumn_ptr tablecolumn, uifcColumnPositionData_ptr col_pos_data)

 


Parameters:
tablecolumn
col_pos_data
Returns:



voidDeleteColumnsByIndex (xintsequence_ptr columns)

 

Identical to DeleteColumnsByName operation but with the columns passed as indices into the ColumnNameArray attribute, as obtained via ColumnGetByName operation with Index attribute.
Parameters:
columns
Returns:



uifcPoint_ptrGetFrameOrigin ()

 

Determine the position of the component, in pixels, relative to its parent.
Returns:



voidInsertColumns (uifcTableColumns_ptr tablecolumns, uifcColumnPositionData_ptr posData)

 


Parameters:
tablecolumns
posData
Returns:



voidSelectCellsOfColumnByIndex (xintsequence_ptr columns, xbool select)

 

Identical to SelectCellsOfColumnByName operation but with the columns passed as indices into the ColumnNameArray attribute, as obtained via ColumnGetByName operation with Index attribute.
Parameters:
columns
select
Returns:



uifcTableCellCoordinates_ptrGetMostRecentCellName ()

 

Determine the coordinates of the last entered cell.
Returns:



voidSelectCellsOfColumnByName (xstringsequence_ptr names, xbool select)

 

Select or deselect the cells of the given columns of the Table.
Parameters:
names
select
Returns:



uifcTableCellCoordinates_ptrGetAnchorCellName ()

 

Determine the coordinates of the selection anchor cell.
Returns:



uifcPoint_ptrGetAnchorCellIndex ()

 

Identical to AnchorCellName operation but with the row and column passed as indices into the RowNameArray attribute and ColumnNameArray attribute respectively, as obtained via RowGetByName operation and ColumnGetByName operation with Index attribute.
Returns:



voidSelectCellsOfRowByIndex (xintsequence_ptr rows, xbool select)

 

Identical to SelectCellsOfRowByName operation but with the rows passed as indices into the RowNameArray attribute, as obtained via RowGetByName operation with Index attribute.
Parameters:
rows
select
Returns:



uifcTableCellCoordinates_ptrGetDragCellName ()

 

Determine the coordinates of the cell / row / column being dragged. If neither the row nor the column are returned as "" then the object being dragged is the cell located in the given row and column. If the row is returned as "" then the object being dragged is the named column. If the column is returned as "" then the object being dragged is the named row.
Returns:



voidDeleteColumnsByName (xstringsequence_ptr names)

 

Delete columns from the Table.
Parameters:
names
Returns:



voidInsertRow (uifcTableRow_ptr tablerow, uifcRowPositionData_ptr row_pos_data)

 


Parameters:
tablerow
row_pos_data
Returns:



uifcTableCellCoordinates_ptrGetFocusCellName ()

 

Determine the coordinates of the selection focus cell.
Returns:



voidDeleteRowsByIndex (xintsequence_ptr rows)

 

Identical to DeleteRowsByName operation but with the rows passed as indices into the RowNameArray attribute, as obtained via RowGetByName operation with Index attribute.
Parameters:
rows
Returns:



xintInsertPopupMenu (uifcComponent_ptr component)

 

Add a MenuPane to be displayed when the user presses the right mouse button over the component.
Parameters:
component
Returns:



uifcDimension_ptrGetFrameSize ()

 

Determine the size of the component, in pixels.
Returns:



xintInsertChild (uifcComponent_ptr component)

 


Parameters:
component
Returns:



uifcPoint_ptrGetDropCellIndex ()

 

Identical to DropCellName operation but with the row and column passed as indices into the RowNameArray attribute and ColumnNameArray attribute respectively, as obtained via RowGetByName operation and ColumnGetByName operation with Index attribute.
Returns:



voidSetFocusCellName (uifcTableCellCoordinates_ptr value)

 

Set the coordinates of the selection focus cell.
Parameters:
value
Returns:



voidMoveColumnsByIndex (xint column, xintsequence_ptr columns)

 

Identical to MoveColumnsByName operation but with the columns passed as indices into the ColumnNameArray attribute, as obtained via ColumnGetByName operation with Index attribute.
Parameters:
column
columns
Returns:



voidDeleteChild (xrstring name)

 

Delete a component from the parent.
Parameters:
name
Returns:



voidSetAnchorCellName (uifcTableCellCoordinates_ptr value)

 

Set the coordinates of the selection anchor cell.
Parameters:
value
Returns:



voidMoveRowsByName (xrstring row, xstringsequence_ptr names)

 

Reorders the rows of the Table so that a given array of rows is placed in a given order immediately after the named row. If row is given as NULL then the rows are moved to the start of the rows of the Table. The list of row names can be the complete list of rows in the Table. When the rows are reordered any row-related data is also reordered, i.e. the labels, foreground and background colors and the visibilities.
Parameters:
row
names
Returns:



voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



uifcPoint_ptrGetMostRecentCellIndex ()

 

Identical to MostRecentCellName operation but with the row and column passed as indices into the RowNameArray attribute and ColumnNameArray attribute respectively, as obtained via RowGetByName operation and ColumnGetByName operation with Index attribute.
Returns:



voidMoveColumnsByName (xrstring column, xstringsequence_ptr names)

 

Reorders the columns of the Table so that the given array of columns are placed in the given order (implied by the order of names in the array) immediately after the named column. If column is given as NULL then the columns are moved to the start of the columns of the Table. The list of column names can be the complete list of columns in the Table. When the columns are reordered any column-related data is also reordered, i.e. the labels, widths, resizabilities, foreground and background colors and the visibilities.
Parameters:
column
names
Returns:



voidSetTextOfColumnCells (xrstring column, xrstring labels)

 

Set the labels of all of the cells in a column of the Table. The label is constructed using the newline character as a separator so that List-like behaviour can be achieved. e.g. This\nis\na\nlabel will set the cell labels as This is a label
Parameters:
column
labels
Returns:



voidSetFrameSize (uifcDimension_ptr value)

 

Set the size of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
Returns:



voidSelectCellsOfRowByName (xstringsequence_ptr rows, xbool select)

 

Select or deselect the cells of the given rows of the Table.
Parameters:
rows
select
Returns:



voidMoveRowsByIndex (xint row, xintsequence_ptr rows)

 

Identical to MoveRowsByName operation but with the rows passed as indices into the RowNameArray attribute, as obtained via RowGetByName operation with Index attribute.
Parameters:
row
rows
Returns:



uifcRectangle_ptrGetFrameRectangle ()

 

Determine the size and position of the component, in pixels.
Returns:



uifcTableCellCoordinates_ptrGetDropCellName ()

 

Determine the coordinates of the cell / row / column being dragged over or dropped into. This can be called in response to receiving a DRAG_ENTER_ACTION, DRAG_OVER_ACTION or DROP_ACTION callback for the Table. If neither the row nor the column are returned as "" then the object being dragged over or dropped into is the cell located in the given row and column. If the row is returned as "" then the object being dragged over or dropped into is the named column. If the column is returned as "" then the object being dragged over or dropped into is the named row.
Returns:



voidSetTextOfRowCells (xrstring row, xrstring labels)

 

Set the labels of all of the cells in a row of the Table. The label is constructed using the tab character as a separator so that List-like behaviour can be achieved. e.g. This\tis\ta\tlabel will set the cell labels as This - is - a - label
Parameters:
row
labels
Returns:



voidSetFrameOrigin (uifcPoint_ptr value)

 

Set the screen position of the component, in pixels, relative to its parent. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
value
Returns:



uifcDimension_ptrGetFrameMinimumSize ()

 

Determine the minimum size of the component, in pixels.
Returns:



voidDeleteRowsByName (xstringsequence_ptr names)

 

Delete rows from the Table.
Parameters:
names
Returns:



voidInsertRows (uifcTableRows_ptr tablerows, uifcRowPositionData_ptr posData)

 


Parameters:
tablerows
posData
Returns:



uifcPoint_ptrGetFocusCellIndex ()

 

Identical to FocusCellName operation but with the row and column passed as indices into the RowNameArray attribute and ColumnNameArray attribute respectively, as obtained via RowGetByName operation and ColumnGetByName operation with Index attribute.
Returns:



uifcRectangle_ptrGetScreenRectangle ()

 

Determine the size and screen position of the component, in pixels.
Returns:



voidSetFrameRectangle (uifcRectangle_ptr rect)

 

Set the size and screen position of the component, in pixels. This operation is only supported when the component's parent is one of the following classes : DrawingArea NakedWindow PGLWindow
Parameters:
rect
Returns:



uifcPoint_ptrGetDragCellIndex ()

 

Identical to DragCellName operation but with the row and column passed as indices into the RowNameArray attribute and ColumnNameArray attribute respectively, as obtained via RowGetByName operation and ColumnGetByName operation with Index attribute.
Returns:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

Determine the rectangle of the screen upon which the majority of the given component is displayed.
Returns:



xboolDoesActivateOnReturn ()

 
Returns:
Flag indicating whether a RETURN key press should generate a OnCellActivate() callback or whether it should cause the default button in the Dialog to be pressed.



voidSetActivateOnReturn (xbool flag)

 

Sets flag indicating whether a RETURN key press should generate a OnCellActivate() callback or whether it should cause the default button in the Dialog to be pressed.
Parameters:
flag
Returns:



xintGetWidth ()

 
Returns:
The width of the Table, in character widths.



voidSetWidth (xint value)

 

Sets the width of the Table, in character widths.
Parameters:
value
Returns:



xstringsequence_ptrGetSelectedCellNameArray ()

 
Returns:
The array of selections of the Table. This is an array of length
(2 * number of selections)
and is arranged in row-column pairs, i.e.
sel_names [0] = row of first selected cell
sel_names [1] = column of first selected cell
sel_names [2] = row of second selected cell
sel_names [3] = column of second selected cell
...



voidSetSelectedCellNameArray (xstringsequence_ptr values)

 

Sets the array of selections of the Table. This is an array of length
(2 * number of selections)
and is arranged in row-column pairs, i.e.
sel_names [0] = row of first selected cell
sel_names [1] = column of first selected cell
sel_names [2] = row of second selected cell
sel_names [3] = column of second selected cell
...
Parameters:
values
Returns:



xboolDoesDynamicUpdate ()

 
Returns:
Flag indicating whether to scroll the table contents whilst the scrollbar is being moved (xtrue) or whether to update the view after the scrollbar has been moved (xfalse).



voidSetDynamicUpdate (xbool flag)

 

Sets flag indicating whether to scroll the table contents whilst the scrollbar is being moved (xtrue) or whether to update the view after the scrollbar has been moved (xfalse).
Parameters:
flag
Returns:



xstringsequence_ptrGetColumnNameArray ()

 
Returns:
The names of the columns of the Table.



voidSetColumnNameArray (xstringsequence_ptr values)

 

Sets the names of the columns of the Table.
Parameters:
values
Returns:



xintGetMinimumWidth ()

 
Returns:
The minimum width of the Table, in character widths.



voidSetMinimumWidth (xint value)

 

Sets the minimum width of the Table, in character widths.
Parameters:
value
Returns:



xintGetMinimumHeight ()

 
Returns:
The minimum number of visible rows of the Table.



voidSetMinimumHeight (xint value)

 

Sets the minimum number of visible rows of the Table.
Parameters:
value
Returns:



uifcColors_ptrGetRowBackgroundColorArray ()

 
Returns:
The background colors of the rows of the Table.



voidSetRowBackgroundColorArray (uifcColors_ptr colors)

 

Sets the background colors of the rows of the Table.
Parameters:
colors
Returns:



xboolDoesAllowReturnInput ()

 
Returns:
Flag indicating whether to allow RETURN key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.



voidSetAllowReturnInput (xbool flag)

 

Sets flag indicating whether to allow RETURN key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.
Parameters:
flag
Returns:



xboolCanDrawContentDisabled ()

 
Returns:
Flag indicating whether the images embedded in the label of a cell of the Table should be greyed-out whenever the cell is insensitive.



voidSetCanDrawContentDisabled (xbool flag)

 

Sets flag indicating whether the images embedded in the label of a cell of the Table should be greyed-out whenever the cell is insensitive.
Parameters:
flag
Returns:



uifcSelectionPolicyGetColumnSelectionPolicy ()

 
Returns:
The selection policy of the columns of the Table.

NO_SELECTION_POLICY No selected columns
SELECTION_POLICY_SINGLE 1 or 0 selected columns
SELECTION_POLICY_BROWSE Always 1 selected column
SELECTION_POLICY_MULTIPLE Any number of selected columns
SELECTION_POLICY_EXTENDED Any number of selected columns, including support for range selection



voidSetColumnSelectionPolicy (uifcSelectionPolicy value)

 

Sets the selection policy of the columns of the Table.

NO_SELECTION_POLICY No selected columns
SELECTION_POLICY_SINGLE 1 or 0 selected columns
SELECTION_POLICY_BROWSE Always 1 selected column
SELECTION_POLICY_MULTIPLE Any number of selected columns
SELECTION_POLICY_EXTENDED Any number of selected columns, including support for range selection

Parameters:
value
Returns:



xstringGetDefaultHelpText ()

 
Returns:
The popup help-text to be displayed whilst the pointer is over the component but is not over any of the cells of the Table.



voidSetDefaultHelpText (xrstring value)

 

Sets the popup help-text to be displayed whilst the pointer is over the component but is not over any of the cells of the Table.
Parameters:
value
Returns:



xintGetHeight ()

 
Returns:
The number of visible rows of the Table.



voidSetHeight (xint value)

 

Sets the number of visible rows of the Table.
Parameters:
value
Returns:



xboolHasScrollBarsWhenNeeded ()

 
Returns:
Flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).



voidSetHasScrollBarsWhenNeeded (xbool flag)

 

Sets flag indicating whether scrollbars should only be displayed when they are required (xtrue) or whether they should always be displayed (xfalse).
Parameters:
flag
Returns:



xstringGetDragCursorImage ()

 
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.



voidSetDragCursorImage (xrstring value)

 

Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over a valid drop-site.
Parameters:
value
Returns:



xstringsequence_ptrGetRowTextArray ()

 
Returns:
The labels of the rows of the Table. If labels are specified then the Table will display row headers, otherwise no row headers are displayed.



voidSetRowTextArray (xstringsequence_ptr values)

 

Sets the labels of the rows of the Table. If labels are specified then the Table will display row headers, otherwise no row headers are displayed.
Parameters:
values
Returns:



xintsequence_ptrGetColumnWidthArray ()

 
Returns:
The widths of the columns of the Table, in character widths. The default is specified by the value of DefaultColumnWidth attribute.



voidSetColumnWidthArray (xintsequence_ptr values)

 

Sets the widths of the columns of the Table, in character widths. The default is specified by the value of DefaultColumnWidth attribute.
Parameters:
values
Returns:



xintGetLockedRows ()

 
Returns:
The number of locked rows of the Table.



voidSetLockedRows (xint value)

 

Sets the number of locked rows of the Table.
Parameters:
value
Returns:



uifcKey_ptrGetKeyPressed ()

 
Returns:
The key pressed which generated a OnKeyDown(). To indicate to the Table that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.



voidSetKeyPressed (uifcKey_ptr key)

 

Sets the key pressed which generated a OnKeyDown(). To indicate to the Table that the key should not be passed on to, for example, the mapkey buffer you should modify this attribute to KEY_NONE at the end of your OnKeyDown() callback.
Parameters:
key
Returns:



xboolDoesSizeByContents ()

 
Returns:
Reserved.



voidSetSizeByContents (xbool flag)

 

Sets reserved.
Parameters:
flag
Returns:



uifcAlignmentGetTextAlignment ()

 
Returns:
The alignment of the text in the column and row header labels of the Table.



voidSetTextAlignment (uifcAlignment value)

 

Sets the alignment of the text in the column and row header labels of the Table.
Parameters:
value
Returns:



xintsequence_ptrGetColumnResizingArray ()

 
Returns:
The resizing factors of the columns of the Table, default is 0.



voidSetColumnResizingArray (xintsequence_ptr values)

 

Sets the resizing factors of the columns of the Table, default is 0.
Parameters:
values
Returns:



uifcColors_ptrGetColumnBackgroundColorArray ()

 
Returns:
The background colors of the columns of the Table.



voidSetColumnBackgroundColorArray (uifcColors_ptr colors)

 

Sets the background colors of the columns of the Table.
Parameters:
colors
Returns:



xintsequence_ptrGetRowVisibleArray ()

 
Returns:
The visible states of the rows of the Table.



voidSetRowVisibleArray (xintsequence_ptr values)

 

Sets the visible states of the rows of the Table.
Parameters:
values
Returns:



xstringsequence_ptrGetSelectedColumnNameArray ()

 
Returns:
The names of the selected columns of the Table.



voidSetSelectedColumnNameArray (xstringsequence_ptr values)

 

Sets the names of the selected columns of the Table.
Parameters:
values
Returns:



xboolDoesRowHighlight ()

 
Returns:
Flag indicating whether to highlight the entire row when a selection is made in a cell in the row.



voidSetRowHighlight (xbool flag)

 

Sets flag indicating whether to highlight the entire row when a selection is made in a cell in the row.
Parameters:
flag
Returns:



xstringGetDragNotValidCursorImage ()

 
Returns:
The cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.



voidSetDragNotValidCursorImage (xrstring value)

 

Sets the cursor to use when the user starts a drag & drop operation by dragging the component and the pointer is over an invalid drop-site.
Parameters:
value
Returns:



uifcColors_ptrGetColumnTextColorArray ()

 
Returns:
The foreground colors of the columns of the Table.



voidSetColumnTextColorArray (uifcColors_ptr colors)

 

Sets the foreground colors of the columns of the Table.
Parameters:
colors
Returns:



xstringsequence_ptrGetColumnTextArray ()

 
Returns:
The labels of the columns of the Table. If labels are specified then the Table will display column headers, otherwise no column headers are displayed.



voidSetColumnTextArray (xstringsequence_ptr values)

 

Sets the labels of the columns of the Table. If labels are specified then the Table will display column headers, otherwise no column headers are displayed.
Parameters:
values
Returns:



uifcColor_ptrGetAlternateRowColor ()

 
Returns:
The color of alternate rows of the Table as a uifcColor.



voidSetAlternateRowColor (uifcColor_ptr color)

 

Sets the color of alternate rows of the Table as a uifcColor.
Parameters:
color
Returns:



xboolIsGridVisible ()

 
Returns:
Flag indicating whether to display the grid lines of the Table.



voidSetGridVisible (xbool flag)

 

Sets flag indicating whether to display the grid lines of the Table.
Parameters:
flag
Returns:



xintGetLockedColumns ()

 
Returns:
The number of locked columns of the Table.



voidSetLockedColumns (xint value)

 

Sets the number of locked columns of the Table.
Parameters:
value
Returns:



xboolIsValidDragSite ()

 
Returns:
Flag indicating whether the component can be dragged to start a drag & drop operation.



voidSetValidDragSite (xbool flag)

 

Sets flag indicating whether the component can be dragged to start a drag & drop operation.
Parameters:
flag
Returns:



xintsequence_ptrGetColumnVisibleArray ()

 
Returns:
The visible states of the columns of the Table.



voidSetColumnVisibleArray (xintsequence_ptr values)

 

Sets the visible states of the columns of the Table.
Parameters:
values
Returns:



uifcScrollBarPositionGetScrollBarPosition ()

 
Returns:
The position of the scrollbars of the component.

SCROLLBAR_POSITION_CENTER No scrollbars
SCROLLBAR_POSITION_TOP A horizontal scrollbar at the top
SCROLLBAR_POSITION_BOTTOM A horizontal scrollbar at the bottom
SCROLLBAR_POSITION_LEFT A vertical scrollbar at the left
SCROLLBAR_POSITION_RIGHT A vertical scrollbar at the right
SCROLLBAR_POSITION_TOP_LEFT A horizontal scrollbar at the top and a vertical scrollbar at the left
SCROLLBAR_POSITION_TOP_RIGHT A horizontal scrollbar at the top and a vertical scrollbar at the right
SCROLLBAR_POSITION_BOTTOM_LEFT A horizontal scrollbar at the bottom and a vertical scrollbar at the left
SCROLLBAR_POSITION_BOTTOM_RIGHT A horizontal scrollbar at the bottom and a vertical scrollbar at the right



voidSetScrollBarPosition (uifcScrollBarPosition value)

 

Sets the position of the scrollbars of the component.

SCROLLBAR_POSITION_CENTER No scrollbars
SCROLLBAR_POSITION_TOP A horizontal scrollbar at the top
SCROLLBAR_POSITION_BOTTOM A horizontal scrollbar at the bottom
SCROLLBAR_POSITION_LEFT A vertical scrollbar at the left
SCROLLBAR_POSITION_RIGHT A vertical scrollbar at the right
SCROLLBAR_POSITION_TOP_LEFT A horizontal scrollbar at the top and a vertical scrollbar at the left
SCROLLBAR_POSITION_TOP_RIGHT A horizontal scrollbar at the top and a vertical scrollbar at the right
SCROLLBAR_POSITION_BOTTOM_LEFT A horizontal scrollbar at the bottom and a vertical scrollbar at the left
SCROLLBAR_POSITION_BOTTOM_RIGHT A horizontal scrollbar at the bottom and a vertical scrollbar at the right

Parameters:
value
Returns:



xboolCanTruncateText ()

 
Returns:
Flag indicating whether to truncate the labels of newly created cells in the Table to the size of their cell. The default value of a cell's own CanTruncateText attribute comes from this value. NOTE: Modifying this after adding rows and columns will have no effect on any existing cell's attributes, and when a cell is drawn it is only the cell's own attribute which is used.



voidSetCanTruncateText (xbool flag)

 

Sets flag indicating whether to truncate the labels of newly created cells in the Table to the size of their cell. The default value of a cell's own CanTruncateText attribute comes from this value. NOTE: Modifying this after adding rows and columns will have no effect on any existing cell's attributes, and when a cell is drawn it is only the cell's own attribute which is used.
Parameters:
flag
Returns:



xboolDoesCellSelectOnRMB ()

 
Returns:
Flag to indicate whether the Table should select the item over which the right mouse button is clicked.



voidSetCellSelectOnRMB (xbool flag)

 

Sets flag to indicate whether the Table should select the item over which the right mouse button is clicked.
Parameters:
flag
Returns:



xintGetCellSelectionDelay ()

 
Returns:
The delay time in milliseconds which the Table should allow to elapse before issuing a OnCellSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnCellSelect() callback, but without adversely interfering with the keyboard navigation and RMB user-model.
A value < 0 signifies that the system-defined double-click time should be used, to allow the user the opportunity to perform a OnCellActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnCellSelect() callback to be processed by the application.



voidSetCellSelectionDelay (xint value)

 

Sets the delay time in milliseconds which the Table should allow to elapse before issuing a OnCellSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnCellSelect() callback, but without adversely interfering with the keyboard navigation and RMB user-model.
A value < 0 signifies that the system-defined double-click time should be used, to allow the user the opportunity to perform a OnCellActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnCellSelect() callback to be processed by the application.
Parameters:
value
Returns:



xboolIsSelectionVisible ()

 
Returns:
Flag to indicate the color of highlighted items in a Table that doesn't have the focus. If xtrue the highlight color is blue. If xfalse the highlight color is grey.



voidSetSelectionVisible (xbool flag)

 

Sets flag to indicate the color of highlighted items in a Table that doesn't have the focus. If xtrue the highlight color is blue. If xfalse the highlight color is grey.
Parameters:
flag
Returns:



xboolDoesAllowSpaceInput ()

 
Returns:
Flag indicating whether to allow SPACE key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.



voidSetAllowSpaceInput (xbool flag)

 

Sets flag indicating whether to allow SPACE key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.
Parameters:
flag
Returns:



xboolCanRedraw ()

 
Returns:
Flag indicating whether redraws are permitted in the Table.



voidSetCanRedraw (xbool flag)

 

Sets flag indicating whether redraws are permitted in the Table.
Parameters:
flag
Returns:



xstringGetPrompt ()

 
Returns:
The text to be displayed in the Table when the component's contents are empty.



voidSetPrompt (xrstring value)

 

Sets the text to be displayed in the Table when the component's contents are empty.
Parameters:
value
Returns:



voidSetItemTextArray (xstringsequence_ptr values)

 

Sets the labels of the cells of the rows of the Table, as tab-separated wide-strings.
Parameters:
values
Returns:



xintsequence_ptrGetColumnResizableArray ()

 
Returns:
The flags indicating whether the columns of the Table can be resized by the user dragging the column header separators.



voidSetColumnResizableArray (xintsequence_ptr values)

 

Sets the flags indicating whether the columns of the Table can be resized by the user dragging the column header separators.
Parameters:
values
Returns:



uifcColors_ptrGetRowTextColorArray ()

 
Returns:
The foreground colors of the rows of the Table.



voidSetRowTextColorArray (uifcColors_ptr colors)

 

Sets the foreground colors of the rows of the Table.
Parameters:
colors
Returns:



uifcSelectionPolicyGetCellSelectionPolicy ()

 
Returns:
The selection policy of the component.

NO_SELECTION_POLICY No selected items
SELECTION_POLICY_SINGLE 1 or 0 selected items
SELECTION_POLICY_BROWSE Always 1 selected item
SELECTION_POLICY_MULTIPLE Any number of selected items
SELECTION_POLICY_EXTENDED Any number of selected items, including support for range selection



voidSetCellSelectionPolicy (uifcSelectionPolicy value)

 

Sets the selection policy of the component.

NO_SELECTION_POLICY No selected items
SELECTION_POLICY_SINGLE 1 or 0 selected items
SELECTION_POLICY_BROWSE Always 1 selected item
SELECTION_POLICY_MULTIPLE Any number of selected items
SELECTION_POLICY_EXTENDED Any number of selected items, including support for range selection

Parameters:
value
Returns:



xintGetDefaultColumnWidth ()

 
Returns:
The default column width if no widths are specified or if any of the widths are <= 0.



voidSetDefaultColumnWidth (xint value)

 

Sets the default column width if no widths are specified or if any of the widths are <= 0.
Parameters:
value
Returns:



xstringsequence_ptrGetSelectedRowNameArray ()

 
Returns:
The names of the selected rows of the Table.



voidSetSelectedRowNameArray (xstringsequence_ptr values)

 

Sets the names of the selected rows of the Table.
Parameters:
values
Returns:



xstringsequence_ptrGetRowNameArray ()

 
Returns:
The names of the rows of the Table.



voidSetRowNameArray (xstringsequence_ptr values)

 

Sets the names of the rows of the Table.
Parameters:
values
Returns:



xboolHasBorder ()

 
Returns:
Flag indicating whether the Table has a decorated shadow border.



voidSetHasBorder (xbool flag)

 

Sets flag indicating whether the Table has a decorated shadow border.
Parameters:
flag
Returns:



uifcSelectionPolicyGetRowSelectionPolicy ()

 
Returns:
The selection policy of the rows of the Table.

NO_SELECTION_POLICY No selected rows
SELECTION_POLICY_SINGLE 1 or 0 selected rows
SELECTION_POLICY_BROWSE Always 1 selected row
SELECTION_POLICY_MULTIPLE Any number of selected rows
SELECTION_POLICY_EXTENDED Any number of selected rows, including support for range selection



voidSetRowSelectionPolicy (uifcSelectionPolicy value)

 

Sets the selection policy of the rows of the Table.

NO_SELECTION_POLICY No selected rows
SELECTION_POLICY_SINGLE 1 or 0 selected rows
SELECTION_POLICY_BROWSE Always 1 selected row
SELECTION_POLICY_MULTIPLE Any number of selected rows
SELECTION_POLICY_EXTENDED Any number of selected rows, including support for range selection

Parameters:
value
Returns:



xboolDoesAllowTabInput ()

 
Returns:
Flag indicating whether to allow TAB key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.



voidSetAllowTabInput (xbool flag)

 

Sets flag indicating whether to allow TAB key presses to be ignored by the Table itself and instead passed to the application via a OnKeyDown() callback.
Parameters:
flag
Returns:



xstringsequence_ptrGetViewableItemNameArray ()

 
Returns:
The row names of the Table that are currently viewable by the user.



xboolDoesAllowKeyboardInput ()

 
Returns:
Method is now obsolete.



voidSetAllowKeyboardInput (xbool flag)

 

Sets method is now obsolete.
Parameters:
flag
Returns:



voidAddActionListener (uifcTableListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcTableAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcTableTimer_ptr timer, xrstring timerName, xbool writeInTrail)

 


Parameters:
timer
timerName
writeInTrail
Returns:



voidStartTimer (xrstring timerName, xint duration)

 


Parameters:
timerName
duration
Returns:



voidStopTimer (xrstring timerName)

 


Parameters:
timerName
Returns: