Type | Name | Description | Notes |
Boolean | autoLabelAlignment | Sets the automatic label alignment mode. In this mode, a label offset is automatically computed to make sure that all the item's pictures are visible, and all the item's label are aligned.
Returns true if the automatic label alignment mode is enabled. | |
Void | addLabel(String label) | Adds a copy of the string label to the end of the list. | |
Boolean | dragdrop | Specifies whether drag-and-drop operations are allowed for the list (true ). | |
Boolean | editable | Specifies whether the list is editable (true ). | |
Boolean | exclusive | Sets the exclusive selection mode for the string list (true ). When the exclusive selection mode is set, only one label can be selected at a time. Returns false if more than one item can be selected. | |
Object | firstSelectedItem | Sets and returns the first item displayed in this list. | |
Boolean | fullSelection | Specifies whether the string list is in full selection mode. | |
Object | getItem(UInt index) | Returns the item specified by the index parameter. | |
Object | getItemByName(String name) | Returns the item whose name is specified as a parameter. | |
String | getLabel(UInt index) | Returns the label at the position index th in the list. | |
Boolean | hasTooltips | Specifies whether the items in the list are associated with tooltips. | |
Boolean | isSelected(UInt index) | Specifies whether the label at the position index is selected. | |
UInt | itemsCount | Returns the number of strings stored in the object. | |
UInt | itemsHeight | Sets the height of all the items in the list. If the height is set to 0 , each item keeps its own height.
Returns the height of the items when all items are the same height. It returns 0 when the items are different heights. | |
UInt | labelOffset | Sets the label offset. When a label offset is used, all the item's labels are aligned using the given offset.
Returns the offset used to display each item's label. It returns 0 if the list does not use an offset. | |
Direction | labelPosition | Sets or returns the default position of the menu item labels relative to their picture. | |
StringArray | labels | Returns an array of count strings that includes all the items stored in the object.
|
The returned array is a static array, internally managed. Other Rogue Wave Views Views routines may overwrite this buffer so it should be copied in a safe place if it needs to be persistent.
|
|
| |
Void | removeLabel(UInt index) | Removes the index th item. | |
UIntArray | selection | Returns an array of strings that includes all the selected items.
|
The returned array is a static array, internally managed. Other Rogue Wave Views Views routines may overwrite this buffer so it should be copied in a safe place if it needs to be persistent.
|
|
| |
Int | selectionLimit | Gets or sets the maximum number of items that can be selected when the string list is not in exclusive mode. Set to -1 to have no limitation. | |
UInt | selectionMode | Sets and returns the selection mode of the string list. | |
Void | setLabel(UInt index, String label) | Sets the label at the position index in the list to label . | |
Boolean | showLabel | Specifies whether the labels associated with the list items are displayed (true ) or not (false ). | |
Boolean | showPicture | Specifies whether the pictures associated with the list items are displayed (true ) or not (false ). | |
UInt | spacing | Sets or gets the spacing between items. | |