API Docs for: 0.1
Show:

File: /home/alex/dev/work/webapps/branches/scopes/doc/src/bindings/src/column-layout.js

/**
 * 
 * Describes a column layout for preview widgets.
 * 
 * @module ScopeJS
 * @class ColumnLayout
 * 
 * @constructor
 * @param num_of_columns The number of columns for the layout.*/
function ColumnLayout(){}

ColumnLayout.prototype = {
/**
* Adds a new column and assigns widgets to it.
 * @method add_column
 * @param widget_ids ColumnLayout expects exactly the number of columns passed to the constructor to be created with the add_column method.
*/
add_column: function(Array of Strings: widget_ids) {
},
/**
* Get the current number of columns in this layout.
 * @method size
 * @return The number of columns added with add_column()
*/
size: function() {
},
/**
* Get the number of columns expected by this layout as specified in the constructor.
 * @method number_of_columns
 * @return The number of columns expected by this layout.
*/
number_of_columns: function() {
},
/**
* Retrieve the list of widgets for given column.
 * @method column
 * @param index The index of a column.
 * @return The widget identifiers for the given column index.
*/
column: function(index) {
}
};