Class: SC.CheckboxView

Extends SC.ButtonView.

Represents a Checkbox Button.

The view is an SC.ButtonView put into toggle mode and with the 'theme' property set to "checkbox".


SC.ButtonView delegates its rendering to its theme. As the theme is set to "checkbox", the way the checkbox renders (including DOM) will actually be different than SC.ButtonView's.

Defined in: checkbox.js

SproutCore 1.0

Field Summary

Fields borrowed from SC.ButtonView:
action, autoResizePadding, buttonBehavior, contentIconKey, contentTitleKey, displayProperties, escapeHTML, icon, isCancel, isDefault, keyEquivalent, localize, supportFocusRing, target, themeName, title, toggleOffValue, toggleOnValue, value
Fields borrowed from SC.View:
acceptsMultitouch, ariaHidden, attributeBindings, autoMixins, backgroundColor, childViewLayout, childViewLayoutOptions, childViews, childViewsNeedLayout, classNameBindings, concatenatedProperties, createdByParent, designMode, 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, 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:
Fields borrowed from SC.Control:
controlSize, errorLabel, fieldKey, fieldLabel, isActive, isControl, isSelected

Instance Methods

Field Detail

ariaRole String
The WAI-ARIA role of checkbox.
classNames Array
Default value:
['sc-checkbox-view', 'sc-checkbox-control']
needsEllipsis Boolean
Ellipsis is disabled by default to allow multiline text
Default value:
renderDelegateName String
Default value:

Instance Method Detail

`YES` if `isEnabledInPane` is `YES`, `NO` otherwise
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)