Class: SC.SegmentView
Extends
SC.View.
SegmentViews are the views used and arranged by SC.SegmentedView
and are very similar to a SC.ButtonView
without any event handling. The event handling is done by the parent view.
Defined in: segment.js
- Since:
- SproutCore 1.5
Field Summary
- ariaRole
- classNames
- controlSize
- displayTitle
- escapeHTML
- icon
- isActive
- isSegment
- isSelected
- keyEquivalent
- layoutDirection
- localItem
- localize
- needsEllipsis
- renderDelegateName
- supportFocusRing
- title
- toolTip
- useStaticLayout
- value
- width
- Fields borrowed from SC.View:
- acceptsFirstResponder, acceptsMultitouch, ariaHidden, 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, shouldInheritCursor, shouldInheritEnabled, tagName, themeName, touchBoundary, transitionAdjust, transitionAdjustOptions, transitionHide, transitionHideOptions, transitionIn, transitionInOptions, transitionOut, transitionOutOptions, transitionShow, transitionShowOptions
- 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
Field Detail
ariaRole String- Default value:
- 'tab'
- Default value:
- ['sc-segment-view']
- See:
- SC.View#classNames
- Default value:
- null
- See:
- SC.Control#controlSize
Localized title.
- Default value:
- ""
- Default value:
- YES
- Default value:
- null
- Default value:
- NO
- See:
- SC.Control#isActive
- Default value:
- YES
- Default value:
- NO
- See:
- SC.Control#isSelected
- Default value:
- null
Change the layout direction to make this a vertical segment instead of horizontal ones. Possible values:
SC.LAYOUT_HORIZONTAL
SC.LAYOUT_VERTICAL
- Default value:
- SC.LAYOUT_HORIZONTAL
The item represented by this view.
- Default value:
- null
- Default value:
- null
- Default value:
- YES
- Default value:
- 'segmentRenderDelegate'
- Default value:
- NO
- See:
- SC.ButtonView#supportFocusRing
- Default value:
- ""
- Default value:
- null
- See:
- SC.View#toolTip
- Default value:
- YES
- Default value:
- null
- Default value:
- null
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)