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

Field Detail

ariaRole String
Default value:
'tab'
classNames Array
Default value:
['sc-segment-view']
See:
SC.View#classNames
controlSize String
Default value:
null
See:
SC.Control#controlSize
displayTitle String
Localized title.
Default value:
""
escapeHTML Boolean
Default value:
YES
icon String
Default value:
null
isActive Boolean
Default value:
NO
See:
SC.Control#isActive
isSegment Boolean
Default value:
YES
isSelected Boolean
Default value:
NO
See:
SC.Control#isSelected
keyEquivalent String
Default value:
null
layoutDirection String

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
localItem Object
The item represented by this view.
Default value:
null
localize Boolean
Default value:
null
needsEllipsis Boolean
Default value:
YES
renderDelegateName String
Default value:
'segmentRenderDelegate'
supportFocusRing Boolean
Default value:
NO
See:
SC.ButtonView#supportFocusRing
title String
Default value:
""
toolTip String
Default value:
null
See:
SC.View#toolTip
useStaticLayout Boolean
Default value:
YES
value Object
Default value:
null
width Number
Default value:
null
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:21 GMT-0600 (CST)