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.

CoreTools

This framework contains common code shared by the SproutCore developer tools including the test runner, doc viewer and welcome apps.

CoreTools.Target

Describes a target in the build system.

CoreTools.Test

(Document your Model here)

Date

Function

Greenhouse

My cool new app.

Greenhouse.AnchorView

(Document Your View Here)

Greenhouse.ApplicationListItem

This class is here to receive custom editor events

Greenhouse.Design

(Document your Model here)

Greenhouse.designController

(Document Your Controller Here)

Greenhouse.Dir

dir properties

Greenhouse.EventBlocker

prevents drag events from hitting iframe

thanks to Jonathan Lewis

Greenhouse.File

file properties

Greenhouse.fileController

(Document Your Controller Here)

Greenhouse.filesController

Greenhouse.layoutController

Layout controller properties used by the layout palette.

Greenhouse.libraryController

Based on SCUI.

Greenhouse.ListItem

This class is here to receive custom editor events

Greenhouse.pageController

(Document Your Controller Here)

Greenhouse.PlistItemView

This class is here to receive custom editor events

Greenhouse.propertyController

(Document Your Controller Here)

Greenhouse.propertyEditorController

buffers changes on property editor

Greenhouse.SimpleButton

This view come from SCUI.

Greenhouse.Target

Describes a target in the build system.

Greenhouse.targetController

(Document Your Controller Here)

Greenhouse.targetsController

The full set of targets available in the application.

Greenhouse.TearOffPicker

Greenhouse.ViewConfig

(Document your Model here)

Greenhouse.viewConfigsController

Greenhouse.WebView

provides access to the iframes memoryspace

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.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.Border

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.CollectionFastPath

An experimental CollectionView mixin that makes it extremely fast under certain circumstances, including for mobile devices.

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

Renders a collection of views from a source array of model objects.

SC.CollectionViewDelegate

A Collection View Delegate is consulted by a SC.

SC.Comparable

Implements some standard methods for comparing objects.

SC.ContainerView

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

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.controllersController

in suppressMain mode all controllers files register with this array controller

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.designController

(Document Your Controller Here)

SC.DesignerDropTarget

This View is used by Greenhouse when application is in design mode

SC.designsController

(Document Your Controller Here)

this controller is used by Greenhouse to list all of the views in a page files

SC.DesktopScrollerView

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