@qooxdoo/framework
Version:
The JS Framework for Coders
52 lines (40 loc) • 1.31 kB
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2008 1&1 Internet AG, Germany, http://www.1und1.de
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Martin Wittemann (martinwittemann)
************************************************************************ */
/**
* This interface should be used in all objects managing a set of items
* implementing {@link qx.ui.form.IModel}.
*/
qx.Interface.define("qx.ui.form.IModelSelection",
{
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/**
* Tries to set the selection using the given array containing the
* representative models for the selectables.
*
* @param value {Array} An array of models.
*/
setModelSelection : function(value) {},
/**
* Returns an array of the selected models.
*
* @return {Array} An array containing the models of the currently selected
* items.
*/
getModelSelection : function() {}
}
});