UNPKG

@qooxdoo/framework

Version:

The JS Framework for Coders

49 lines (40 loc) 1.26 kB
/* ************************************************************************ qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2004-2009 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: * Christian Hagendorn (chris_schmidt) ************************************************************************ */ /** * Defines the callback for the single selection manager. * * @internal */ qx.Interface.define("qx.ui.core.ISingleSelectionProvider", { /* ***************************************************************************** MEMBERS ***************************************************************************** */ members : { /** * Returns the elements which are part of the selection. * * @return {qx.ui.core.Widget[]} The widgets for the selection. */ getItems: function() {}, /** * Returns whether the given item is selectable. * * @param item {qx.ui.core.Widget} The item to be checked * @return {Boolean} Whether the given item is selectable */ isItemSelectable : function(item) {} } });