Class: SC.MenuScrollView


Extends SC.ScrollView.

Implements a scroll view for menus. This class extends SC.ScrollView for menus.

The main difference with SC.ScrollView is that there is only vertical scrolling. Value Syncing between SC.MenuScrollView and SC.MenuScrollerView is done using valueBinding.

Defined in: menu_scroll.js

Since:
SproutCore 1.0

Field Summary

Fields borrowed from SC.ScrollView:
acceptsMultitouch, autohidesHorizontalScroller, autohidesVerticalScroller, canScale, canScrollHorizontal, containerView, contentView, decelerationRate, fadeOutDelay, hasVerticalScroller, horizontalAlign, horizontalFade, horizontalLineScroll, horizontalOverlay, horizontalPageScroll, horizontalScrollerLayout, horizontalScrollerView, horizontalScrollOffset, initialHorizontalAlign, initialVerticalAlign, isHorizontalScrollerVisible, isScrollable, isVerticalScrollerVisible, maximumHorizontalScrollOffset, maximumScale, maximumVerticalScrollOffset, minimumHorizontalScrollOffset, minimumScale, minimumVerticalScrollOffset, scale, scaleGestureThreshold, scrollGestureThreshold, scrollLockGestureThreshold, verticalAlign, verticalFade, verticalLineScroll, verticalOverlay, verticalPageScroll, verticalScrollerLayout, verticalScrollerView, verticalScrollOffset
Fields borrowed from SC.View:
acceptsFirstResponder, ariaHidden, ariaRole, attributeBindings, autoMixins, backgroundColor, childViewLayout, childViewLayoutOptions, childViews, childViewsNeedLayout, classNameBindings, concatenatedProperties, createdByParent, designMode, displayProperties, enabledState, firstKeyView, hasLayout, hasTouch, hasVisibility, isBuildingIn, isBuildingOut, isChildViewLayoutLive, isEnabled, isFixedHeight, isFixedPosition, isFixedSize, isFixedWidth, isKeyResponder, isTextSelectable, isView, isVisible, lastKeyView, layerLocationNeedsUpdate, layerNeedsUpdate, layout, modeAdjust, nextKeyView, page, pane, parentView, previousKeyView, renderDelegateName, 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, target, toInvalidate
Fields borrowed from SC.Observable:
isObservable
Methods borrowed from SC.ScrollView:
init, scrollBy, scrollDownLine, scrollDownPage, scrollLeftLine, scrollLeftPage, scrollRightLine, scrollRightPage, scrollTo, scrollToRect, scrollToVisible, scrollUpLine, scrollUpPage, touchStart
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, 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, 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

bottomScrollerView SC.View

The bottom scroller view class. This will be replaced with a view instance when the MenuScrollView is created unless hasVerticalScroller is false.

Default value:
SC.MenuScrollerView
canScrollVertical Boolean
Read Only
Returns true if the view has both a vertical scroller and the scroller is visible.
See:
SC.ScrollView
classNames Array
SC.View.prototype
Default value:
['sc-menu-scroll-view']
See:
SC.View#classNames
controlSize String
Control Size for Menu content: change verticalLineScroll
Default value:
SC.REGULAR_CONTROL_SIZE
See:
SC.Control
hasHorizontalScroller Boolean

YES if the view should maintain a horizontal scroller. This property must be set when the view is created.

Default value:
false
See:
SC.ScrollView
topScrollerView SC.View

The top scroller view class. This will be replaced with a view instance when the MenuScrollView is created unless hasVerticalScroller is false.

Default value:
SC.MenuScrollerView
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Feb 03 2015 13:12:20 GMT+0100 (CET)