Field Summary |
public
| __alternateColor |
| the color of the alternate row background*
|
|
public
| __backgroundColor |
| the color of the rows background*
|
|
public
| __hGridLineColor |
| the color of horizontal gridlines*
|
|
public
| __highlightColor |
| the color of the rows background when the mouse is over*
|
|
public
| __selectColor |
| the color of the rows background when selected*
|
|
public
| __selectedValueFormatter: Object |
| public var selectedValueFormatterOptions:String;
|
|
public
| __selectedValuePath: String |
|
|
|
public
| __vGridLineColor |
| the color of vertical gridlines*
|
|
public
| autoSync: Boolean |
| do we auto sync the underlying source when there is a selection
|
|
public
| body: ListItemsControl |
| The list items holder
|
|
public
| canEdit: Boolean |
|
|
|
public
| canInsert: Boolean |
| do we allow rows to be inserted
|
|
public static
| classInfo: Object |
| A static class information object
|
|
public
| editable: Boolean |
| do we allow rows to be edited
|
|
public
| editorType: String |
|
|
|
public
| editRow |
| Reference to the edit row
|
|
public
| footer |
| A reference to the footer row group
|
|
public
| header |
| A reference to the header row group
|
|
public
| hGridLines: Boolean |
| controls whether horizontal gridlines are displayed*
|
|
public
| hLargeScroll: Number |
| The amount to scroll when the ScrollBar track is clicked
|
|
public
| hscrollbar: ScrollBar |
| A reference to the horizontal scrollbar
|
|
public
| hScrollPolicy: String |
| Indicates whether the horizontal scroll bar is displayed ("on") or not ("off"), or displayed when needed ("auto")..
|
|
public
| hSmallScroll: Number |
| The amount to scroll when the ScrollBar arrows are clicked
|
|
public
| isSelectionRequired: Boolean |
| Gets or set whether selection is required
|
|
public
| scrollMode: String |
| Controls how we scroll - one of row,pixel,page
|
|
public
| statusbar |
| A reference to the statusbar
|
|
public
| tabStop: Boolean |
| Gets or sets whether a control should be included in tab navigation.
|
|
public
| textHighlightColor |
| the color of text when the row is highlighted*
|
|
public
| textSelectColor |
| the color of text when the row is selected*
|
|
public
| titlebar |
| A reference to the titlebar
|
|
public
| topIndex: Number |
| index of the first visible Row
|
|
public
| useRollOver: Boolean |
| controls whether rows are higlighted as teh mouse rollsover*
|
|
public
| vGridLines: Boolean |
| controls whether vertical gridlines are displayed*
|
|
public
| vLargeScroll: Number |
| The amount to scroll when the ScrollBar track is clicked
|
|
public
| vscrollbar: ScrollBar |
| A reference to the vertical scrollbar
|
|
public
| vScrollPolicy: String |
| Indicates whether the vertical scroll bar is displayed ("on"), not displayed ("off"), or displayed when needed ("auto").
|
|
public
| vSmallScroll: Number |
| The amount to scroll when the ScrollBar arrows are clicked
|
|
| Fields inherited from class xp.system.UIControl__layout, allowDrop, autoLayout, bindingDefaultValue, bindingFormatter, bindingPath, bindingSource, bindingType, bindingValidator, border, causesValidation, classInfo, clickOnENTER, clickOnSPACE, container, context, data, disableAcceptButton, disableCancelButton, enableBGMouseEvents, enableDblClickEvent, enableKeyDownEvents, enableKeyEvents, enableKeyUpEvents, enableMouseWheelEvents, formatterOptions, horizontalAlignment, index, isBinding, itemId, logEnabled, parent, parentContainer, parentForm, percentageHeight, percentageWidth, styleClass, tabIndex, tabStop, tooltip, tree, verticalAlignment |
|
Property Summary |
public
| alternateColor: Object (read, write) |
|
|
|
public
| backgroundColor: Object (read, write) |
|
|
|
public
| contentHeight: Number (read-only)
|
| the height of the content in the viewport window
|
|
public
| contentPixelHeight (read-only)
|
| The height in pixels of the content
|
|
public
| contentWidth: Number (read-only)
|
| the width of the content in the viewport window
|
|
public
| hGridLineColor: Object (read, write) |
|
|
|
public
| highlightColor: Object (read, write) |
|
|
|
public
| hPosition: Number (read-only)
|
|
|
|
public
| rowAutosize (read, write) |
| Controls whether rows can resize themselves in response to data changes
|
|
public
| rowHeight: Number (read, write) |
| The default pixel height of rows in the list.
|
|
public
| rowWidth: Number (read, write) |
| The max width a row can be.
|
|
public
| sbHHeight: Number (read-only)
|
| The effective width of the ScrollBar i.e. if not visible 0 , if visible the ScrollBar width
|
|
public
| sbVWidth: Number (read-only)
|
| The effective width of the ScrollBar i.e. if not visible 0 , if visible the ScrollBar width
|
|
public
| selectColor: Object (read, write) |
|
|
|
public
| selectedIndex: Number (read, write) |
| The index of a selection in a single-selection list.
|
|
public
| selectedIndices: Array (read-only)
|
| An array of the selected items in a multiple-selection list.
|
|
public
| selectedItem: Object (read, write) |
| The selected item in a single-selection list.
|
|
public
| selectedItems: Array (read-only)
|
| The selected item objects in a multiple-selection list.
|
|
public
| selectedValue: (write)
|
| The value from the currently selected item
|
|
public
| selectedValue: Object (read)
|
|
|
|
public
| selectedValueFormatter: Object (read, write) |
| The formmater object to the selectedValue
|
|
public
| selectedValuePath: String (read, write) |
| The data path in the selectedItem to the selectedValue
|
|
public
| selectionMode: String (read, write) |
| Gets or set the selection mode for the list.
|
|
public
| variableRowHeight: Boolean (read, write) |
| Controls whether rows contain variable heigth data and can resize themselves in response to data changes
|
|
public
| vGridLineColor: Object (read, write) |
|
|
|
public
| viewportHeight: viewportPixelHeight (read-only)
|
| the height of the viewable window
|
|
public
| viewportLeft (read-only)
|
| The location of the left of the viewport
|
|
public
| viewportPixelHeight (read-only)
|
| The height in pixels of the viewport
|
|
public
| viewportTop (read-only)
|
| The location of the top of the viewport
|
|
public
| viewportWidth (read-only)
|
| the width of the viewable window
|
|
public
| virtualMode: Boolean (read, write) |
| If true there is not a direct reltionship between a row in the ListItemsControl and a row in the ListDataSource, instead a pool of rows are constanly recycled to display data as needed. If flase there is a one to one reltionship sbetween a row and the row in the ListDataSource
|
|
public
| vPosition: Number (read-only)
|
|
|
|
| Properties inherited from class xp.system.UIControlalpha, autosize, background, backgroundVisible, bindings, borderBrush, borderRadius, borderShadow, borderStyle, borderThickness, bottom, dataSource, enableMouseEvents, focusManager, height, id, isEnabled, isFocused, isMouseOver, isPressed, isSelected, isValid, layout, left, margin, maxHeight, maxWidth, measuredHeight, measuredMinHeight, measuredMinWidth, measuredWidth, minHeight, minWidth, padding, readOnly, resources, right, styleName, top, triggers, visible, width, x, y |
|
Constructor |
public
| ScrollSelectView (
)
|
| Constructor - This should not be called directly.
|
|
Method Summary |
public
| clearSelected (
): Void |
| Clears all selected indices
|
|
public
| drawComponent (
): Void |
| Override to call resize
|
|
public
| getClass (
): Function |
| Returns a reference to the components static class
|
|
public
| getItemAt (
index
): Object |
| given an index find the item from the source
|
|
public
| getItemIndex (
item: Object
): Number |
| given an item find its index
|
|
public
| getItemValue (
v
): Object |
| given an item find its value
|
|
public
| getValueIndex (
value: Object
): Number |
| given a value find its index
|
|
public
| isSelected (
index: Number
): Boolean |
| is the specifed row selected
|
|
public
| setScrollContentVPos (
pos: Number
): Void |
| Set the vertical scroll position
|
|
public
| setSelectedIndices (
indices: Array
): Void |
| Sets the selected indices in a multiple select list.
|
|
public
| setSelectedItems (
items: Array
): Void |
| Sets the selected items in a multiple select list.
|
|
| Methods inherited from class xp.system.UIControladdBinding, addBindings, addEventListener, addPropertyTrigger, applyStyle, beginDeferUpdate, canUpdate, centerContent, checkState, containsFocus, destroy, destroyObject, drawFocus, endDeferUpdate, findFocusFromObject, findFocusInChildren, getBinding, getBounds, getCenter, getClass, getFocus, getFocusManager, getFocusRect, getLocation, getPropertyValue, getSize, getStateName, getTrigger, globalToLocalPoint, invalidate, invalidateLayout, invalidateSize, invalidateSizeAndLayout, invalidChild, isChild, isMouseDirectlyOver, isParent, localToGlobalPoint, localToLocalPoint, measure, mouseWheel, move, onChildFocus, onKillFocus, onSetFocus, processEnterKey, processEscapeKey, processTabKey, redraw, refresh, removeEventListener, routeEvent, setBounds, setFocus, setLocation, setPropertyValue, setSize, setValueChanged, update, validate |
|
|