Library | File

Class uifcList

# include <uifcList.h>

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



Description





Method Summary

voidAddActionListener (uifcListListener_ptr listener)
 
xboolCanDrawContentDisabled ()
 
xboolCanRedraw ()
 
xboolCanResizeWhenNeeded ()
 
xboolCanTruncateText ()
 
xboolCanWrap ()
 
voidCreateTimer (uifcListTimer_ptr timer, xrstring timerName, xbool writeInTrail)
 
voidDeleteChild (xrstring name)
 
voidDeleteGroupsByName (xstringsequence_ptr names)
 
voidDeleteItemsByIndex (xintsequence_ptr items)
 
voidDeleteItemsByName (xstringsequence_ptr names)
 
voidDeletePopupMenu ()
 
xboolDoesItemSelectOnRMB ()
 
xboolDoesScrollOnKeyboardInput ()
 
xboolDoesSizeByContents ()
 
uifcColor_ptrGetAlternateRowColor ()
 
xstringGetColumnHeaderText ()
 
uifcAlignmentGetColumnHeaderTextAlignment ()
 
xintGetContentArrangement ()
 
xintGetDefaultColumnWidth ()
 
xstringGetDefaultHelpText ()
 
xintGetDefaultTabStop ()
 
xstringGetDragCursorImage ()
 
xstringGetDragGroupName ()
 
xstringGetDragItemName ()
 
xstringGetDragNotValidCursorImage ()
 
xstringGetDropGroupName ()
 
xstringGetDropItemName ()
 
xstringsequence_ptrGetEnabledItemNameArray ()
 
xstringGetFocusGroupName ()
 
xstringGetFocusItemName ()
 
uifcDimension_ptrGetFrameMinimumSize ()
 
uifcPoint_ptrGetFrameOrigin ()
 
uifcRectangle_ptrGetFrameRectangle ()
 
uifcDimension_ptrGetFrameSize ()
 
xstringsequence_ptrGetGroupHelpTextArray ()
 
xstringsequence_ptrGetGroupImageArray ()
 
xstringsequence_ptrGetGroupItemNameArray ()
 
xstringsequence_ptrGetGroupNameArray ()
 
xintsequence_ptrGetGroupOpenArray ()
 
xstringsequence_ptrGetGroupTextArray ()
 
xintGetHeight ()
 
xintGetHorizontalCells ()
 
xintGetImageHeight ()
 
xintGetImageWidth ()
 
uifcColors_ptrGetItemBackgroundColorArray ()
 
xintsequence_ptrGetItemCheckedStateArray ()
 
xstringsequence_ptrGetItemHelpTextArray ()
 
xstringsequence_ptrGetItemImageArray ()
 
xstringsequence_ptrGetItemNameArray ()
 
xintGetItemSelectionDelay ()
 
uifcSelectionPolicyGetItemSelectionPolicy ()
 
xstringsequence_ptrGetItemTextArray ()
 
uifcColors_ptrGetItemTextColorArray ()
 
uifcKey_ptrGetKeyPressed ()
 
uifcListTypeGetListType ()
 
xintGetMaximumWidth ()
 
xintGetMinimumHeight ()
 
xintGetMinimumWidth ()
 
xstringGetMixedStateImage ()
 
xstringGetMostRecentGroupName ()
 
xstringGetMostRecentItemName ()
 
uifcOrientationGetOrientation ()
 
xstringGetPrompt ()
 
uifcRectangle_ptrGetRectangleOfMonitor ()
 
uifcPoint_ptrGetScreenOrigin ()
 
uifcRectangle_ptrGetScreenRectangle ()
 
uifcScrollBarPositionGetScrollBarPosition ()
 
xintGetSelectedItemIndex ()
 
xstringGetSelectedItemName ()
 
xstringsequence_ptrGetSelectedItemNameArray ()
 
xstringGetSetStateImage ()
 
xintsequence_ptrGetTabStopArray ()
 
xstringGetUnsetStateImage ()
 
xintGetVerticalCells ()
 
xintGetWidth ()
 
xboolHasBorder ()
 
xboolHasScrollBarsWhenNeeded ()
 
xintInsertChild (uifcComponent_ptr component)
 
voidInsertGroup (uifcListGroup_ptr listgroup, uifcItemPositionData_ptr item_pos_data)
 
voidInsertGroups (uifcListGroups_ptr listgroups, uifcItemPositionData_ptr posData)
 
voidInsertItem (uifcListItem_ptr listitem, uifcItemPositionData_ptr item_pos_data)
 
voidInsertItems (uifcListItems_ptr listitems, uifcItemPositionData_ptr posData)
 
xintInsertPopupMenu (uifcComponent_ptr component)
 
xboolIsSelectionVisible ()
 
xboolIsValidDragSite ()
 
voidMoveItemsByIndex (xint item, xintsequence_ptr items)
 
voidMoveItemsByName (xrstring name, xstringsequence_ptr names)
 
xstringOnlyScrollItemNameIntoView ()
 
voidPushAction (uifcListAction action)
 
voidScrollItemNameIntoView (xrstring value)
 
voidSetAlternateRowColor (uifcColor_ptr color)
 
voidSetCanDrawContentDisabled (xbool flag)
 
voidSetCanRedraw (xbool flag)
 
voidSetCanResizeWhenNeeded (xbool flag)
 
voidSetCanTruncateText (xbool flag)
 
voidSetCanWrap (xbool flag)
 
voidSetColumnHeaderText (xrstring value)
 
voidSetColumnHeaderTextAlignment (uifcAlignment value)
 
voidSetContentArrangement (xint value)
 
voidSetDefaultColumnWidth (xint value)
 
voidSetDefaultHelpText (xrstring value)
 
voidSetDefaultTabStop (xint value)
 
voidSetDragCursorImage (xrstring value)
 
voidSetDragGroupName (xrstring value)
 
voidSetDragNotValidCursorImage (xrstring value)
 
voidSetEnabledItemNameArray (xstringsequence_ptr values)
 
voidSetFocusGroupName (xrstring value)
 
voidSetFocusItemName (xrstring value)
 
voidSetFrameOrigin (uifcPoint_ptr value)
 
voidSetFrameRectangle (uifcRectangle_ptr rect)
 
voidSetFrameSize (uifcDimension_ptr value)
 
voidSetGroupHelpTextArray (xstringsequence_ptr values)
 
voidSetGroupImageArray (xstringsequence_ptr values)
 
voidSetGroupItemNameArray (xstringsequence_ptr values)
 
voidSetGroupNameArray (xstringsequence_ptr values)
 
voidSetGroupOpenArray (xintsequence_ptr values)
 
voidSetGroupTextArray (xstringsequence_ptr values)
 
voidSetHasBorder (xbool flag)
 
voidSetHasScrollBarsWhenNeeded (xbool flag)
 
voidSetHeight (xint value)
 
voidSetHorizontalCells (xint value)
 
voidSetImageHeight (xint value)
 
voidSetImageWidth (xint value)
 
voidSetItemBackgroundColorArray (uifcColors_ptr colors)
 
voidSetItemCheckedStateArray (xintsequence_ptr values)
 
voidSetItemHelpTextArray (xstringsequence_ptr values)
 
voidSetItemImageArray (xstringsequence_ptr values)
 
voidSetItemNameArray (xstringsequence_ptr values)
 
voidSetItemSelectionDelay (xint value)
 
voidSetItemSelectionPolicy (uifcSelectionPolicy value)
 
voidSetItemSelectOnRMB (xbool flag)
 
voidSetItemTextArray (xstringsequence_ptr values)
 
voidSetItemTextColorArray (uifcColors_ptr colors)
 
voidSetKeyPressed (uifcKey_ptr key)
 
voidSetListType (uifcListType value)
 
voidSetMaximumWidth (xint value)
 
voidSetMinimumHeight (xint value)
 
voidSetMinimumWidth (xint value)
 
voidSetMixedStateImage (xrstring value)
 
voidSetOrientation (uifcOrientation value)
 
voidSetPrompt (xrstring value)
 
voidSetScrollBarPosition (uifcScrollBarPosition value)
 
voidSetScrollOnKeyboardInput (xbool flag)
 
voidSetSelectedItemIndex (xint value)
 
voidSetSelectedItemName (xrstring value)
 
voidSetSelectedItemNameArray (xstringsequence_ptr values)
 
voidSetSelectionVisible (xbool flag)
 
voidSetSetStateImage (xrstring value)
 
voidSetSizeByContents (xbool flag)
 
voidSetTabStopArray (xintsequence_ptr values)
 
voidSetUnsetStateImage (xrstring value)
 
voidSetValidDragSite (xbool flag)
 
voidSetVerticalCells (xint value)
 
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

uifcPoint_ptrGetFrameOrigin ()

 

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



voidDeleteGroupsByName (xstringsequence_ptr names)

 

Delete groups from the component.
Parameters:
names
Returns:



voidInsertGroups (uifcListGroups_ptr listgroups, uifcItemPositionData_ptr posData)

 


Parameters:
listgroups
posData
Returns:



voidMoveItemsByName (xrstring name, xstringsequence_ptr names)

 

Reorders the items of the component so that the given array of items are placed in the given order (implied by the order of names in the array) immediately after the named item. When the items are reordered any item-related data is also reordered, i.e. the labels, help-texts, states, foreground and background colors, etc.
Parameters:
name
names
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:



xintInsertChild (uifcComponent_ptr component)

 


Parameters:
component
Returns:



voidInsertGroup (uifcListGroup_ptr listgroup, uifcItemPositionData_ptr item_pos_data)

 


Parameters:
listgroup
item_pos_data
Returns:



voidMoveItemsByIndex (xint item, xintsequence_ptr items)

 

Reorders the items of the component so that the given array of items are placed in the given order (implied by the order of names in the array) immediately after the named item indices. When the items are reordered any item-related data is also reordered, i.e. the labels, help-texts, states, foreground and background colors, etc.
Parameters:
item
items
Returns:



voidDeleteChild (xrstring name)

 

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



uifcDimension_ptrGetFrameSize ()

 

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



voidDeletePopupMenu ()

 

Delete a MenuPane from the component.
Returns:



voidInsertItem (uifcListItem_ptr listitem, uifcItemPositionData_ptr item_pos_data)

 


Parameters:
listitem
item_pos_data
Returns:



uifcPoint_ptrGetScreenOrigin ()

 

Determine the screen position of the component, in pixels.
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:



voidInsertItems (uifcListItems_ptr listitems, uifcItemPositionData_ptr posData)

 


Parameters:
listitems
posData
Returns:



uifcRectangle_ptrGetFrameRectangle ()

 

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



voidDeleteItemsByName (xstringsequence_ptr names)

 

Delete items from the component.
Parameters:
names
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:



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:



voidDeleteItemsByIndex (xintsequence_ptr items)

 

Delete items from the component using item indices.
Parameters:
items
Returns:



uifcRectangle_ptrGetRectangleOfMonitor ()

 

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



xintGetMinimumWidth ()

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



voidSetMinimumWidth (xint value)

 

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



xintGetWidth ()

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



voidSetWidth (xint value)

 

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



xstringsequence_ptrGetSelectedItemNameArray ()

 
Returns:
The names of the selected items of the component.



voidSetSelectedItemNameArray (xstringsequence_ptr values)

 

Sets the names of the selected items of the component.
Parameters:
values
Returns:



xintGetMinimumHeight ()

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



voidSetMinimumHeight (xint value)

 

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



xstringGetColumnHeaderText ()

 
Returns:
The tab-separated labels to be displayed as the column headers of the List.



voidSetColumnHeaderText (xrstring value)

 

Sets the tab-separated labels to be displayed as the column headers of the List.
Parameters:
value
Returns:



xstringsequence_ptrGetGroupItemNameArray ()

 
Returns:
The names of the first item of each of the groups of the List.



voidSetGroupItemNameArray (xstringsequence_ptr values)

 

Sets the names of the first item of each of the groups of the List.
Parameters:
values
Returns:



xstringGetMixedStateImage ()

 
Returns:
The check mark image to be displayed next to an item when the state of the item is mixed.



voidSetMixedStateImage (xrstring value)

 

Sets the check mark image to be displayed next to an item when the state of the item is mixed.
Parameters:
value
Returns:



xstringsequence_ptrGetGroupNameArray ()

 
Returns:
The names of the group headers of the List.



voidSetGroupNameArray (xstringsequence_ptr values)

 

Sets the names of the group headers of the List.
Parameters:
values
Returns:



xboolCanDrawContentDisabled ()

 
Returns:
Flag indicating whether the images embedded in the label of an item of the List should be greyed-out whenever the item is insensitive.



voidSetCanDrawContentDisabled (xbool flag)

 

Sets flag indicating whether the images embedded in the label of an item of the List should be greyed-out whenever the item is insensitive.
Parameters:
flag
Returns:



xstringGetDefaultHelpText ()

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



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 items of the List.
Parameters:
value
Returns:



xintGetHeight ()

 
Returns:
The number of visible rows of the List.



voidSetHeight (xint value)

 

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



xstringGetDragItemName ()

 
Returns:
The name of the item being dragged when the user starts a drag & drop operation by dragging within the component.



uifcOrientationGetOrientation ()

 
Returns:
The orientation of the List.

ORIENTATION_HORIZONTAL Horizontal, with the items arranged in a row
ORIENTATION_VERTICAL Vertical, with the items arranged in a column



voidSetOrientation (uifcOrientation value)

 

Sets the orientation of the List.

ORIENTATION_HORIZONTAL Horizontal, with the items arranged in a row
ORIENTATION_VERTICAL Vertical, with the items arranged in a column

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:



xintsequence_ptrGetGroupOpenArray ()

 
Returns:
The expanded / collapsed state of each of the group headers of the List.



voidSetGroupOpenArray (xintsequence_ptr values)

 

Sets the expanded / collapsed state of each of the group headers of the List.
Parameters:
values
Returns:



uifcKey_ptrGetKeyPressed ()

 
Returns:
The key pressed which generated a OnKeyDown(). To indicate to the List 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 List 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:
Flag indicating whether the List should be initially sized according to its contents (xtrue).



voidSetSizeByContents (xbool flag)

 

Sets flag indicating whether the List should be initially sized according to its contents (xtrue).
Parameters:
flag
Returns:



xstringGetDropGroupName ()

 
Returns:
The name of the group beneath the pointer whilst the pointer is over the component during a drag & drop operation.



uifcAlignmentGetColumnHeaderTextAlignment ()

 
Returns:
The alignment of the text in the column header labels of the List.

ALIGNMENT_LEFT Left aligned
ALIGNMENT_CENTER Center aligned
ALIGNMENT_RIGHT Right aligned



voidSetColumnHeaderTextAlignment (uifcAlignment value)

 

Sets the alignment of the text in the column header labels of the List.

ALIGNMENT_LEFT Left aligned
ALIGNMENT_CENTER Center aligned
ALIGNMENT_RIGHT Right aligned

Parameters:
value
Returns:



xstringGetFocusGroupName ()

 
Returns:
The group of the List which should have the focus when the List component itself receives the focus.



voidSetFocusGroupName (xrstring value)

 

Sets the group of the List which should have the focus when the List component itself receives the focus.
Parameters:
value
Returns:



xboolCanWrap ()

 
Returns:
Flag to indicate whether the list items should wrap. If xtrue then wrap the list items horizontally. If xfalse then no wrapping is done.



voidSetCanWrap (xbool flag)

 

Sets flag to indicate whether the list items should wrap. If xtrue then wrap the list items horizontally. If xfalse then no wrapping is done.
Parameters:
flag
Returns:



uifcListTypeGetListType ()

 
Returns:
The display type of the List.

LIST_TYPE_STANDARD No column headers or check marks
LIST_TYPE_COLUMNS Display column headers, but do not display check marks
LIST_TYPE_CHECKBOXES Display check marks, but do not display column headers
LIST_TYPE_COLUMNS_AND_CHECKBOXES Display both column headers and check marks



voidSetListType (uifcListType value)

 

Sets the display type of the List.

LIST_TYPE_STANDARD No column headers or check marks
LIST_TYPE_COLUMNS Display column headers, but do not display check marks
LIST_TYPE_CHECKBOXES Display check marks, but do not display column headers
LIST_TYPE_COLUMNS_AND_CHECKBOXES Display both column headers and check marks

Parameters:
value
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_ptrGetItemTextColorArray ()

 
Returns:
The foreground colors of the items of the component, as a uifcColor.



voidSetItemTextColorArray (uifcColors_ptr colors)

 

Sets the foreground colors of the items of the component, as a uifcColor.
Parameters:
colors
Returns:



xintGetContentArrangement ()

 
Returns:
The alignment of the image and label of the items of the List.
This is made up of between 1 and 4 digits which represent the relative locations of the image and label.
The first digit is the image alignment within the bounds of the item:

1 2 3
4 5 6
7 8 9

The second digit is optional and is the label alignment within the bounds of the item, using the same scheme as above. If no digit is specified then the label alignment is assumed to be the same as the image alignment.
The third digit is also optional and is the relative position of the image and the label if the first 2 digits are equal. If no digit is specified then the relative position is assumed to be 1.

1 The image to the left of the label
2 The image to the right of the label
3 The image above the label
4 The image below the label

The fourth digit is also optional and is a flag representing whether how the image and label should be displayed. If no digit is specified then then fourth digit is assumed to be 1.

1 Display both the image and label
2 Display only the image
3 Display only the label



voidSetContentArrangement (xint value)

 

Sets the alignment of the image and label of the items of the List.
This is made up of between 1 and 4 digits which represent the relative locations of the image and label.
The first digit is the image alignment within the bounds of the item:

1 2 3
4 5 6
7 8 9

The second digit is optional and is the label alignment within the bounds of the item, using the same scheme as above. If no digit is specified then the label alignment is assumed to be the same as the image alignment.
The third digit is also optional and is the relative position of the image and the label if the first 2 digits are equal. If no digit is specified then the relative position is assumed to be 1.

1 The image to the left of the label
2 The image to the right of the label
3 The image above the label
4 The image below the label

The fourth digit is also optional and is a flag representing whether how the image and label should be displayed. If no digit is specified then then fourth digit is assumed to be 1.

1 Display both the image and label
2 Display only the image
3 Display only the label

Parameters:
value
Returns:



xintGetVerticalCells ()

 
Returns:
When wrapping is enabled, and the orientation is ORIENTATION_VERTICAL, determines the number of vertical cells before wrapping onto a new column.



voidSetVerticalCells (xint value)

 

Sets when wrapping is enabled, and the orientation is ORIENTATION_VERTICAL, determines the number of vertical cells before wrapping onto a new column.
Parameters:
value
Returns:



xstringGetDropItemName ()

 
Returns:
The name of the item beneath the pointer whilst the pointer is over the component during a drag & drop operation.



xstringsequence_ptrGetItemImageArray ()

 
Returns:
The images of the items of the component.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.



voidSetItemImageArray (xstringsequence_ptr values)

 

Sets the images of the items of the component.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
values
Returns:



xintGetDefaultTabStop ()

 
Returns:
The number of characters used as the default tab-stop of the List.



voidSetDefaultTabStop (xint value)

 

Sets the number of characters used as the default tab-stop of the List.
Parameters:
value
Returns:



xintsequence_ptrGetItemCheckedStateArray ()

 
Returns:
The state of each of the items of the List.



voidSetItemCheckedStateArray (xintsequence_ptr values)

 

Sets the state of each of the items of the List.
Parameters:
values
Returns:



uifcColor_ptrGetAlternateRowColor ()

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



voidSetAlternateRowColor (uifcColor_ptr color)

 

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



xstringsequence_ptrGetItemHelpTextArray ()

 
Returns:
The popup help-text to be displayed for the items of the component whilst the pointer is over the component.



voidSetItemHelpTextArray (xstringsequence_ptr values)

 

Sets the popup help-text to be displayed for the items of the component whilst the pointer is over the component.
Parameters:
values
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:



xintGetImageWidth ()

 
Returns:
The width of the images of the List, in pixels



voidSetImageWidth (xint value)

 

Sets the width of the images of the List, in pixels
Parameters:
value
Returns:



uifcColors_ptrGetItemBackgroundColorArray ()

 
Returns:
The background colors of the items of the component, as a uifcColor.



voidSetItemBackgroundColorArray (uifcColors_ptr colors)

 

Sets the background colors of the items of the component, as a uifcColor.
Parameters:
colors
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:



xstringGetDragGroupName ()

 
Returns:
The name of the group being dragged when the user starts a drag & drop operation by dragging within the component.



voidSetDragGroupName (xrstring value)

 

Sets the name of the group being dragged when the user starts a drag & drop operation by dragging within the component.
Parameters:
value
Returns:



xboolCanTruncateText ()

 
Returns:
Flag indicating whether to truncate the labels of the items of the List with ellipsis if there is insufficient space to display the entire text string.



voidSetCanTruncateText (xbool flag)

 

Sets flag indicating whether to truncate the labels of the items of the List with ellipsis if there is insufficient space to display the entire text string.
Parameters:
flag
Returns:



xboolDoesItemSelectOnRMB ()

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



voidSetItemSelectOnRMB (xbool flag)

 

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



xintGetHorizontalCells ()

 
Returns:
When wrapping is enabled, and the orientation is ORIENTATION_HORIZONTAL, determines the number of horizontal cells before wrapping onto a new row.



voidSetHorizontalCells (xint value)

 

Sets when wrapping is enabled, and the orientation is ORIENTATION_HORIZONTAL, determines the number of horizontal cells before wrapping onto a new row.
Parameters:
value
Returns:



xintGetMaximumWidth ()

 
Returns:
The maximum width of the List, in character widths.
When SizeByContents attribute is xtrue, this value limits the width of the List, with a value of 0 indicating that the List should indeed size itself based upon its contents.



voidSetMaximumWidth (xint value)

 

Sets the maximum width of the List, in character widths.
When SizeByContents attribute is xtrue, this value limits the width of the List, with a value of 0 indicating that the List should indeed size itself based upon its contents.
Parameters:
value
Returns:



xstringsequence_ptrGetItemNameArray ()

 
Returns:
The names of the items of the component.



voidSetItemNameArray (xstringsequence_ptr values)

 

Sets the names of the items of the component.
Parameters:
values
Returns:



xintGetItemSelectionDelay ()

 
Returns:
The delay time in milliseconds which the List should allow to elapse before issuing a OnItemSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnItemSelect() 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 OnItemActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnItemSelect() callback to be processed by the application.



voidSetItemSelectionDelay (xint value)

 

Sets the delay time in milliseconds which the List should allow to elapse before issuing a OnItemSelect() callback.
This is designed to allow applications to implement lengthy operations triggered from a OnItemSelect() 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 OnItemActivate() via a left-mouse-button double-click, without being hindered by the length of time taken for the preceding OnItemSelect() callback to be processed by the application.
Parameters:
value
Returns:



xintGetImageHeight ()

 
Returns:
The height of the images of the List, in pixels



voidSetImageHeight (xint value)

 

Sets the height of the images of the List, in pixels
Parameters:
value
Returns:



xboolIsSelectionVisible ()

 
Returns:
Flag to indicate the color of highlighted items in a List 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 List that doesn't have the focus. If xtrue the highlight color is blue. If xfalse the highlight color is grey.
Parameters:
flag
Returns:



xboolCanResizeWhenNeeded ()

 
Returns:
Flag indicating whether the List should attempt to resize when its contents are changed.



voidSetCanResizeWhenNeeded (xbool flag)

 

Sets flag indicating whether the List should attempt to resize when its contents are changed.
Parameters:
flag
Returns:



xstringGetUnsetStateImage ()

 
Returns:
The check mark image to be displayed next to an item when the state of the item is False.



voidSetUnsetStateImage (xrstring value)

 

Sets the check mark image to be displayed next to an item when the state of the item is False.
Parameters:
value
Returns:



xstringsequence_ptrGetEnabledItemNameArray ()

 
Returns:
The names of the selectable items of the component. An empty array indicates that every item of the component may be selected.



voidSetEnabledItemNameArray (xstringsequence_ptr values)

 

Sets the names of the selectable items of the component. An empty array indicates that every item of the component may be selected.
Parameters:
values
Returns:



xstringGetFocusItemName ()

 
Returns:
The item of the List which should have the focus when the List component itself receives the focus.



voidSetFocusItemName (xrstring value)

 

Sets the item of the List which should have the focus when the List component itself receives the focus.
Parameters:
value
Returns:



xboolCanRedraw ()

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



voidSetCanRedraw (xbool flag)

 

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



xstringGetMostRecentGroupName ()

 
Returns:
The group heading which was beneath the pointer the last time the pointer was over the component.



xstringsequence_ptrGetGroupHelpTextArray ()

 
Returns:
The popup help-text to be displayed for the group headers of the List whilst the pointer is over the component.



voidSetGroupHelpTextArray (xstringsequence_ptr values)

 

Sets the popup help-text to be displayed for the group headers of the List whilst the pointer is over the component.
Parameters:
values
Returns:



xstringGetMostRecentItemName ()

 
Returns:
The item which was beneath the pointer the last time the pointer was over the component.



xstringGetPrompt ()

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



voidSetPrompt (xrstring value)

 

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



xstringsequence_ptrGetGroupTextArray ()

 
Returns:
The labels of the group headers of the List.



voidSetGroupTextArray (xstringsequence_ptr values)

 

Sets the labels of the group headers of the List.
Parameters:
values
Returns:



xintsequence_ptrGetTabStopArray ()

 
Returns:
The character positions of the tab-stops of the List.



voidSetTabStopArray (xintsequence_ptr values)

 

Sets the character positions of the tab-stops of the List.
Parameters:
values
Returns:



xstringsequence_ptrGetItemTextArray ()

 
Returns:
The labels of the items of the component.



voidSetItemTextArray (xstringsequence_ptr values)

 

Sets the labels of the items of the component.
Parameters:
values
Returns:



xstringGetSetStateImage ()

 
Returns:
The check mark image to be displayed next to an item when the state of the item is True.



voidSetSetStateImage (xrstring value)

 

Sets the check mark image to be displayed next to an item when the state of the item is True.
Parameters:
value
Returns:



uifcSelectionPolicyGetItemSelectionPolicy ()

 
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



voidSetItemSelectionPolicy (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:
Specifies the minimum width of a column in a wrapped list (in character widths). If set to 0 then the maximum item width will be used.



voidSetDefaultColumnWidth (xint value)

 

Sets specifies the minimum width of a column in a wrapped list (in character widths). If set to 0 then the maximum item width will be used.
Parameters:
value
Returns:



xstringOnlyScrollItemNameIntoView ()

 
Returns:
The item of the List to which the List should scroll so that it can be viewed.



voidScrollItemNameIntoView (xrstring value)

 

Sets the item of the List to which the List should scroll so that it can be viewed.
Parameters:
value
Returns:



xboolDoesScrollOnKeyboardInput ()

 
Returns:
Flag indicating whether the List should automatically scroll to the first item whose label has the initial letter keyed by the user when the user presses a printable character key.



voidSetScrollOnKeyboardInput (xbool flag)

 

Sets flag indicating whether the List should automatically scroll to the first item whose label has the initial letter keyed by the user when the user presses a printable character key.
Parameters:
flag
Returns:



xstringsequence_ptrGetGroupImageArray ()

 
Returns:
The images of the group headers of the List.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.



voidSetGroupImageArray (xstringsequence_ptr values)

 

Sets the images of the group headers of the List.
Each image may be a BIF (the .bif extension is optional) file or a JPG, PNG, PCX, GIF, BMP, ICO or CUR file.
Parameters:
values
Returns:



xboolHasBorder ()

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



voidSetHasBorder (xbool flag)

 

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



xintGetSelectedItemIndex ()

 
Returns:
The index of the selected item of the component. Can be used if no more than one item in the component may be selected at any time.



voidSetSelectedItemIndex (xint value)

 

Sets the index of the selected item of the component. Can be used if no more than one item in the component may be selected at any time.
Parameters:
value
Returns:



xstringGetSelectedItemName ()

 
Returns:
The name of the selected item of the component. Can be used if no more than one item in the component may be selected at any time.



voidSetSelectedItemName (xrstring value)

 

Sets the name of the selected item of the component. Can be used if no more than one item in the component may be selected at any time.
Parameters:
value
Returns:



voidAddActionListener (uifcListListener_ptr listener)

 


Parameters:
listener
Returns:



voidPushAction (uifcListAction action)

 


Parameters:
action
Returns:



voidCreateTimer (uifcListTimer_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: