API Documentation Index

_global_

Array

Boolean

CoreTest

CoreTest is the unit testing library for SproutCore.

CoreTest.Plan

A test plan contains a set of functions that will be executed in order.

CoreTest.Suite

A test Suite defines a group of reusable unit tests that can be added to a test plan at any time by calling the generate() method.

Date

Function

SC

All SproutCore methods and functions are defined inside of this namespace.

SC.AceTheme

SproutCore's Ace theme.

SC.AceTheme.Dark

SC.

SC.ActionSupport

Implements basic target and action support for views.

SC.AlertPane

Displays a preformatted modal alert pane.

SC.appCache

This is a very simple object that makes it easier to use the window.applicationCache in a SproutCore application.

SC.Application

The root object for a SproutCore application.

SC.Array

This module implements Observer-friendly Array-like behavior.

SC.ArrayController

An ArrayController provides a way for you to publish an array of objects for CollectionView or other controllers to work with.

SC.Async

Represents a call that is intended to be asynchronous.

SC.AudioView

Renders a audioView using different technologies like HTML5 audio tag, quicktime and flash.

SC.AutoMixin

Use this mixin to automatically mix in a a collection of mixins into all child views created by the view (that are created at view initialization).

SC.AutoResize

Use this mixin to make your view automatically resize based upon its value, title, or other string property.

SC.AutoResizingMenuItemView

Extends SC.MenuItemView to support auto resize.

SC.AutoResizingMenuPane

Extends SC.MenuPane to add support for automatic resizing.

SC.BaseTheme.canvasImageRenderDelegate

Renders and updates DOM representations of an image.

SC.BaseTheme.imageRenderDelegate

Renders and updates DOM representations of an image.

SC.BaseTheme.labelRenderDelegate

Renders and updates DOM representations of a label.

SC.BaseTheme.radioGroupRenderDelegate

Renders and updates the HTML representation of a group of radio buttons.

SC.BaseTheme.selectRenderDelegate

Renders and updates the DOM representation of a SelectView.

SC.Benchmark

This bit of meta-programming magic can install a benchmark handler on any object method.

SC.Binding

A binding simply connects the properties of two objects so that whenever the value of one property changes, the other property will be changed also.

SC.browser

This object contains information about the browser environment SproutCore is running in.

SC.Builder

The Builder class makes it easy to create new chained-builder API's such as those provided by CoreQuery or jQuery.

SC.Button

SC.ButtonView

Implements a push-button-style button.

SC.CalculatesEmptiness

A view is empty if all of its children are empty.

SC.CascadeDataSource

A cascading data source will actually forward requests onto an array of additional data sources, stopping when one of the data sources returns YES, indicating that it handled the request.

SC.Checkbox

SC.CheckboxView

Represents a Checkbox Button.

SC.ChildArray

A `ChildArray` is used to map an array of `ChildRecord` objects.

SC.ChildAttribute

ChildAttribute is a subclass of RecordAttribute and handles to-one relationships for child records.

SC.ChildRecord

SC.ChildrenAttribute

ChildrenAttribute is a subclass of ChildAttribute and handles to-many relationships for child records.

SC.CollectionContent

This mixin provides standard methods used by a CollectionView to provide additional meta-data about content in a collection view such as selection or enabled state.

SC.CollectionGroup

Any view you want to use as a group view in a collection must include this mixin.

SC.CollectionRowDelegate

CollectionRowDelegates are consulted by SC.

SC.CollectionView

This class renders a collection of views based on the items array set as its content.

SC.CollectionViewDelegate

A Collection View Delegate is consulted by a SC.

SC.Color

Provides colorspace conversions between rgb and hsl.

SC.Comparable

Implements some standard methods for comparing objects.

SC.ContainerView

A container view will display its "content" view as its only child.

SC.ContainerView.DISSOLVE

Provides dissolve transitions for SC.

SC.ContainerView.FADE_COLOR

Provides fade through color transitions to SC.

SC.ContainerView.MOVE_IN

Provides move in transitions to SC.

SC.ContainerView.PUSH

Provides push transitions to SC.

SC.ContainerView.REVEAL

Provides reveal transitions to SC.

SC.ContentDisplay

The SC.

SC.ContentValueSupport

This mixin allows a view to get its value from a content object based on the value of its contentValueKey.

SC.Control

A Control is a view that also implements some basic state functionality.

SC.Controller

The controller base class provides some common functions you will need for controllers in your applications, especially related to maintaining an editing context.

SC.ControlTestPane

Generates a pane that will display vertically stacked views for testing.

SC.Cookie

Allows for easier handling of the document.cookie object.

SC.Copyable

Implements some standard methods for copying an object.

SC.CoreScrollerView

Displays a horizontal or vertical scroller.

SC.CoreScrollView

The core scroll view component.

SC.CoreSet

CoreSet is just like set but not observable.

SC.CoreView

SC.CSSRule

SC.

SC.CSSStyle

SC.

SC.CSSStyleSheet

SC.

SC.Cursor

SC.

SC.DataSource

A DataSource connects an in-memory store to one or more server backends.

SC.DateFieldView

A Date field add behaviour to the Text Field to support date management, for example, disabling deletion, and special behaviour to tabs commands.

SC.DateTime

A class representation of a date and time.

SC.DelegateSupport

Support methods for the Delegate design pattern.

SC.DesignCoder

A DesignCoder encodes specifically the design for a set of views.

SC.DesktopScrollerView

Implements a custom desktop-like scroller view that handles your basic scrollbar events: