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
Greenhouse
My cool new app.
MediaExamples
A small demonstration app that shows different ways of consuming media.
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.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.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.DesignerDropTarget
This View is used by Greenhouse when application is in design mode
SC.DesktopScrollerView
Implements a custom desktop-like scroller view that handles your basic scrollbar events:
- Arrow buttons for incremental scrolling in either direction.
SC.DesktopScrollView
Implements a desktop scroll view using mouse events.
SC.DisclosureView
Disclosure triangle button.
SC.Drag
An instance of this object is created whenever a drag occurs.
SC.DragDataSource
This protocol implements a dynamic data source for a drag operation.
SC.DragSource
The DragSource protocol is used to dynamically generate multiple types of data from a single object.
SC.DropTarget
Implement the DropTarget protocol in your view to be able to accept drop events.
SC.Editable
The Editable mixin is a standard protocol used to activate keyboard editing on views that are editable such as text fields, label views and item views.
SC.EmptyState
Represents an empty state that gets assigned as a state's initial substate if the state does not have an initial substate defined.
SC.EmptyTheme
SC.Enumerable
This mixin defines the common interface implemented by enumerable objects in SproutCore.
SC.Enumerator
An object that iterates over all of the values in an object.
SC.Error
An error, used to represent an error state.
SC.Event
SC.ExceptionHandler
If an exception is thrown during execution of your SproutCore app, this object will be given the opportunity to handle it.
SC.FetchedAttribute
Describes a single attribute that is fetched dynamically from the server when you request it.
SC.FieldView
Base view for managing a view backed by an input element.
SC.FixturesDataSource
TODO: Describe Class
SC.FlowedLayout
Normal SproutCore views are absolutely positioned--parent views have relatively little input on where their child views are placed.
SC.FormView
FormView lays out rows, manages their label widths, binds their content properties, and sets up their
contentValueKeysas needed.SC.Freezable
The
SC.SC.Function
SC.Gesturable
You can mix in
SC.SC.Gesture
An
SC.SC.GridView
A grid view renders a collection of items in a grid of rows and columns.
SC.HistoryState
Represents a history state that can be assigned to a
SC.SC.ImageButtonView
Provides a button that displays an image instead of the standard button user interface.
SC.imageQueue
The image queue can be used to control the order of loading images.
SC.ImageView
Displays an image in the browser.
SC.IndexSet
A collection of ranges.
SC.InlineEditable
This mixin is used for views that show a seperate editor view to edit.
SC.InlineEditor
This mixin is for a view that is editable but is acting as a proxy to edit another view.
SC.InlineEditorDelegate
This delegate is consulted by view implementing
SC.SC.InlineTextFieldDelegate
This is the default InlineEditorDelegate for
SC.SC.InlineTextFieldView
The inline text editor is used to display an editable area for controls that are not always editable such as label views and source list views.
SC.InnerFrame
InnerFrame provides the
innerFrameForSizefunction, which will return a frame for the given size adjusted to fit within the given outer size, according to the align and scale properties.SC.LabelView
Displays a static string of text.
SC.LegacyTheme.progressRenderDelegate
Renders and updates DOM representations of progress bars.
SC.ListItemView
Many times list items need to display a lot more than just a label of text.
SC.ListView
A list view renders vertical lists of items.
SC.Logger
Object to allow for safe logging actions, such as using the browser console.
SC.MainPane
Most SproutCore applications have a main pane, which dominates the application page.
SC.ManyArray
A
ManyArrayis used to map an array of record ids back to their record objects which will be materialized from the owner store on demand.SC.ManyAttribute
ManyAttribute is a subclass of
RecordAttributeand handles to-many relationships.SC.MasterDetailView
Master/Detail view is a simple view which manages a master view and a detail view.
SC.Math
Implements some enhancements to the built-in Number object that makes it easier to handle rounding and display of numbers.
SC.mediaCapabilities
An easy-to-reference list of media capabilities which the current running browser supports such as HTML5 and Plugin detection.
SC.MediaControlsView
(Document Your View Here)
SC.MediaSlider
The MediaSlider element takes the original
SC.SC.MenuItemView
An SC.MenuItemView is created for every item in a menu.
SC.MenuPane
SC.SC.MenuScrollerView
Implements a complete scroller view for menus.
SC.MenuScrollView
Implements a scroll view for menus.
SC.MiniMediaControlsView
SC.ModalPane
A modal pane is used to capture mouse events inside a pane that is modal.
SC.NavigationBarView
NavigationBars do Great Things.
SC.NavigationBuilder
NavigationBuilder is an implementation of the Builder protocol.
SC.NavigationView
NavigationView is very loosely based on UINavigationController: that is, it implements a push/pop based API.
SC.NestedStore
A nested store can buffer changes to a parent store and then commit them all at once.
SC.Object
Root object for the SproutCore framework.
SC.ObjectController
An ObjectController gives you a simple way to manage the editing state of an object.
SC.Observable
Key-Value-Observing (KVO) simply allows one object to observe changes to a property on another object.
SC.Page
SC.SC.PalettePane
Displays a non-modal, default positioned, drag&drop-able palette pane.
SC.Pane
A Pane is like a regular view except that it does not need to live within a parent view.
SC.PanelPane
Most SproutCore applications need modal panels.
SC.PickerPane
Display a non-modal pane that automatically repositions around a view so as to remain visible.
SC.PinchGesture
SC.PopupButtonView
SC.SC.PopupButtonView.InstantiateMenuTask
An
SC.SC.ProgressView
Displays a progress bar.
SC.Query
This permits you to perform queries on your data store, written in a SQL-like language.
SC.RadioView
A RadioView is used to create a group of radio buttons.
SC.RangeObserver
A RangeObserver is used by Arrays to automatically observe all of the objects in a particular range on the array.
SC.Record
A Record is the core model class in SproutCore.
SC.RecordArray
A
RecordArraywraps an array ofstoreKeysand, optionally, aQueryobject.SC.RecordAttribute
A RecordAttribute describes a single attribute on a record.
SC.Reducers
SC.RelationshipSupport
Provides support for having relationships propagate by data provided by the data source.
SC.RenderContext
A RenderContext is a builder that can be used to generate HTML for views or to update an existing element.
SC.RenderDelegate
Base class for all render delegates.
SC.Request
Implements support for Ajax requests using XHR, XHR 2 and other protocols.
SC.Request.manager
The request manager coordinates all of the active XHR requests.
SC.Responder
Provides common methods for sending events down a responder chain.
SC.ResponderContext
The root object for a responder chain.
SC.Response
A response represents a single response from a server request.
SC.RootResponder
The RootResponder captures events coming from a web browser and routes them to the correct view in the view hierarchy.
SC.routes
SC.SC.Scanner
A Scanner reads a string and interprets the characters into numbers.
SC.SceneView
Displays several views as scenes that can slide on and off the screen.
SC.Scrollable
SC.ScrollerView
Displays a horizontal or vertical scroller.
SC.ScrollView
Implements a complete scroll view.
SC.SegmentedView
SegmentedView is a special type of button that can display multiple segments.
SC.SegmentView
SegmentViews are the views used and arranged by
SC.SC.SelectButtonView
SelectButtonView has a functionality similar to that of
SelectFieldClicking the SelectButtonView button displays a menu pane with a list of items.
SC.SelectFieldView
DEPRECATED.
SC.SelectionSet
A SelectionSet contains a set of objects that represent the current selection.
SC.SelectionSupport
Implements common selection management properties for controllers.
SC.SelectView
SelectView has a functionality similar to that of SelectField
Clicking the SelectView button displays a menu pane with a list of items.
SC.SeparatorView
Displays a horizontal or vertical separator line.
SC.Set
An unordered collection of objects.
SC.SheetPane
Displays a modal sheet pane that animates from the top of the viewport.
SC.SimpleMediaControlsView
SC.SingleAttribute
SingleAttributeis a subclass ofRecordAttributeand handles to-one relationships.SC.SliderView
A SliderView shows a horizontal slider control that you can use to set variable values.
SC.SourceListGroupView
Displays a group view in a source list.
SC.SourceListView
Displays a source list like the source list in
iTunes.SC.SparseArray
A dynamically filled array.
SC.SparseArrayDelegate
Delegate that provides data for a sparse array.
SC.SplitChild
Child views of SplitViews should use this mixin to get their positioning logic and default settings.
SC.SplitDividerView
A SplitDividerView displays a divider between two views within a SplitView.
SC.SplitThumb
A SplitThumb may be placed inside any view in a SplitView, and can even be a direct child of the SplitView.
SC.SplitView
A split view is used to show views that the user can resize or collapse.
SC.StackedView
A StackedView is a CollectionView that expects its content to use static layout to stack vertically.
SC.State
Represents a state within a statechart.
SC.StatechartDelegate
Apply to objects that are to represent a delegate for a
SC.SC.StatechartManager
The startchart manager mixin allows an object to be a statechart.
SC.StatePathMatcher
The
SC.SC.StateRouteHandlerContext
Represents contextual information for whenever a state handles a triggered route.
SC.StaticContentView
StaticContentView allows you to display arbitrary HTML content inside your view hierarchy.
SC.StaticLayout
SC.SC.Store
The Store is where you can find all of your
dataHashes.SC.String
Implements support methods useful when working with strings in SproutCore applications.
SC.SwipeGesture
SC.TableColumn
An abstract object that manages the state of the columns behind a
SC.SC.TableHeaderView
The views that make up the column header cells in a typical
SC.SC.TableHeadView
The head of a
SC.SC.TableRowView
The default example view for a table row.
SC.TableView
A table view renders a two-dimensional grid of data.
SC.TabView
Incorporates a segmented view and a container view to display the selected tab.
SC.TapGesture
SC.TemplateCollectionView
SC.TemplatePane
SC.SC.TemplateView
SC.SC.TextField
SC.TextFieldSupport
SC.TextFieldView
A text field is an input element with type "text".
SC.TextSelection
A simple object representing the selection inside a text field.
SC.Theme
Represents a theme, and is also the core theme in which SC looks for other themes.
SC.ThumbView
A ThumbView works in concert with
SC.SC.Timer
A Timer executes a method after a defined period of time.
SC.ToolbarView
A toolbar view can be anchored at the top or bottom of the window to contain your main toolbar buttons.
SC.Touch
SC.SC.TouchScrollerView
SC.TouchScrollView
Implements touch events for a scroll view
Since the
iPaddoesn't allow native one-finger scrolling, this has to do all of the work of implementing the solution over again.SC.TreeController
A TreeController manages a tree of model objects that you might want to display in the UI using a collection view.
SC.TreeItemContent
A tree item is a model object that acts as a node in a tree-like data structure such as a hierarchy of folders or outline of items.
SC.UndoManager
This is a simple undo manager.
SC.UserDefaults
The UserDefaults object provides an easy way to store user preferences in your application on the local machine.
SC.Validatable
Views that include the Validatable mixin can be used with validators to ensure their values are valid.
SC.Validator
Validators provide a way for you to implement simple form field validation and transformation.
SC.Validator.CreditCard
Validate a field value as a credit card number.
SC.Validator.Date
SC.Validator.DateTime
SC.Validator.Email
SC.Validator.EmailOrEmpty
SC.Validator.NotEmpty
SC.Validator.Number
SC.Validator.Password
SC.Validator.PositiveInteger
SC.VideoView
Renders a
videoViewusing different technologies like HTML5 video tag, quicktime and flash.SC.View
Base class for managing a view.
SC.ViewDesigner
A Designer class provides the core editing functionality you need to edit a view in the UI.
SC.WebView
Used to display an iframe.
SC.WellView
A WellView is a ContainerView with a border.
SC.WorkspaceView
WorkspaceView manages a content view and two optional toolbars (top and bottom).
SC.XHRResponse
Concrete implementation of
SC.Showcase
My cool new app.
String
Test
My cool new app.
TestRunner
My cool new app.
Welcome
The Welcome app is displayed when you load the root URL and the dev server is visible.
Documentation generated by JsDoc Toolkit 2.4.0 on Thu Apr 11 2013 16:14:36 GMT+0800 (CST)
