Class: SC.SourceListView
Extends
SC.ListView.
Displays a source list like the source list in iTunes
. SourceList views
are very similar to ListView's but come preconfigured with the correct
appearance and default behaviors of a source list.
Defined in: source_list.js
- Since:
- SproutCore 1.0
Field Summary
- Fields borrowed from SC.ListView:
- acceptsFirstResponder, insertionPointView, layoutDirection, rowDelegate, rowHeightForContentIndex, showAlternatingRows
- Fields borrowed from SC.CollectionView:
- action, ACTION_DELAY, allContentIndexes, calculatedHeight, calculatedWidth, canDeleteContent, canEditContent, canReorderContent, content, contentDelegate, contentExampleViewKey, contentGroupExampleViewKey, contentValueKey, delegate, displayProperties, dragContent, dragDataTypes, exampleView, groupExampleView, isActive, isDropTarget, isEditable, isEnabled, isSelectable, length, nowShowing, proposedDropOperation, proposedInsertionIndex, renderDelegateName, reorderDataType, rightIconAction, rightIconTarget, selection, selectionDelegate, target, useFastPath, useToggleSelection
- Fields borrowed from SC.View:
- acceptsMultitouch, ariaHidden, ariaRole, attributeBindings, autoMixins, backgroundColor, childViewLayout, childViewLayoutOptions, childViews, childViewsNeedLayout, classNameBindings, concatenatedProperties, createdByParent, designMode, enabledState, firstKeyView, hasLayout, hasTouch, hasVisibility, isBuildingIn, isBuildingOut, isChildViewLayoutLive, isFixedHeight, isFixedPosition, isFixedSize, isFixedWidth, isKeyResponder, isTextSelectable, isView, isVisible, lastKeyView, layerLocationNeedsUpdate, layerNeedsUpdate, modeAdjust, nextKeyView, page, pane, parentView, previousKeyView, shouldInheritCursor, shouldInheritEnabled, tagName, themeName, toolTip, touchBoundary, transitionAdjust, transitionAdjustOptions, transitionHide, transitionHideOptions, transitionIn, transitionInOptions, transitionOut, transitionOutOptions, transitionShow, transitionShowOptions, useStaticLayout
- Fields borrowed from SC.Responder:
- hasFirstResponder, isFirstResponder, responderContext
- Fields borrowed from SC.Object:
- isDestroyed, isObject, nextProperty, object, property, toInvalidate
- Fields borrowed from SC.Observable:
- isObservable
- Methods borrowed from SC.ListView:
- computeLayout, contentIndexesInRect, hideInsertionPoint, insertionIndexForLocation, layout, layoutForContentIndex, rowHeightDidChangeForIndexes, rowOffsetForContentIndex, rowSizeDidChangeForIndexes, rowSizeForContentIndex, showInsertionPoint
- Methods borrowed from SC.CollectionView:
- acceptDragOperation, adjustLayout, collapse, collectionViewShouldBeginDrag, collectionViewShouldSelectItem, computeDragOperations, computeNowShowing, contentIndexForLayerId, contentLengthDidChange, contentPropertyDidChange, contentRangeDidChange, createItemView, deleteSelection, deselect, doubleClick, dragDataForType, dragEnded, dragUpdated, expand, insertBacktab, insertTab, itemViewForContentIndex, itemViewForContentObject, itemViewForEvent, layerIdFor, performDragOperation, reload, reloadIfNeeded, reloadSelectionIndexes, reloadSelectionIndexesIfNeeded, removeContentRangeObserver, scrollToContentIndex, scrollToItemView, select, selectNextItem, selectPreviousItem, updateContentRangeObserver
- Methods borrowed from SC.View:
- $, adjust, animate, appendChild, applyAttributesToContext, beginLiveResize, borderFrame, buildIn, buildInChild, buildInDidCancel, buildInDidFinish, buildInDidFinishFor, buildOut, buildOutChild, buildOutDidCancel, buildOutDidFinish, cancelAnimation, clippingFrame, computeFrameWithParentFrame, computeParentDimensions, containerLayer, contextMenu, convertFrameFromView, convertFrameToView, createChildView, createChildViews, createLayer, cursor, destroy, destroyLayer, didBecomeKeyResponderFrom, didLoseKeyResponderTo, displayDidChange, displayToolTip, emitDesign, encodeDesign, endLiveResize, findLayerInParentLayer, frame, init, insertBefore, insertText, interpretKeyEvents, invokeRenderDelegateMethod, isContextMenuEnabled, isDescendantOf, isEnabledInPane, isFixedLayout, layer, layerId, layerIdDidChange, layoutChildViews, layoutChildViewsIfNeeded, layoutDidChange, layoutDidChangeFor, layoutStyle, layoutView, nextResponder, nextValidKeyView, owner, parentViewDidChange, parentViewDidResize, performKeyEquivalent, previousValidKeyView, propertyDidChange, recomputeIsVisibleInWindow, removeAllChildren, removeChild, removeChildAndDestroy, removeFromParent, render, renderChildViews, renderContext, renderDelegate, renderDelegateProxy, renderLayout, replaceAllChildren, replaceChild, replaceLayer, resetAnimation, resetBuild, resetBuildState, respondsTo, scrollToVisible, selectStart, theme, touchIsInBoundary, tryToPerform, updateDesignMode, updateLayer, updateLayerIfNeeded, updateLayerLocation, updateLayerLocationIfNeeded, updateLayout, viewDidResize, willBecomeKeyResponderFrom, willLoseKeyResponderTo
- Methods borrowed from SC.Responder:
- becomeFirstResponder, didBecomeFirstResponder, resignFirstResponder, willLoseFirstResponder
- Methods borrowed from SC.Object:
- activate, awake, deactivate, instanceOf, invokeLast, invokeLater, invokeNext, invokeOnce, invokeOnceLater, invokeWith, kindOf, mixin, notifyPropertyDidChange, superclass, toString
- Methods borrowed from SC.Observable:
- addObserver, addObservesHandler, addProbe, allPropertiesDidChange, automaticallyNotifiesObserversFor, beginPropertyChanges, bind, decrementProperty, destroyObservable, didChangeFor, endPropertyChanges, get, getEach, getPath, hasObserverFor, incrementProperty, initObservable, logProperty, notifyPropertyChange, observersForKey, propertyWillChange, registerDependentKey, removeObserver, removeObservesHandler, removeProbe, set, setIfChanged, setPath, setPathIfChanged, toggleProperty, unknownProperty
Field Detail
actOnSelect BooleanBy default, SourceListView's trigger any action you set whenever the user clicks on an item. This gives the SourceList a "menu" like behavior.
- Default value:
- YES
- See:
- SC.ListView#actOnSelect
- Default value:
- ['sc-source-list']
- See:
- SC.View#classNames
Default row height for source list items is larger.
- Default value:
- 32
- See:
- SC.ListView#rowHeight
By default source lists should not select on mouse down since you will often want to drag an item instead of selecting it.
- Default value:
- NO
- See:
- SC.ListView#selectOnMouseDown
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 03 2015 13:12:20 GMT+0100 (CET)