@qooxdoo/framework
Version:
The JS Framework for Coders
79 lines (59 loc) • 1.77 kB
JavaScript
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2016 Martijn Evers, The Netherlands
License:
MIT: https://opensource.org/licenses/MIT
See the LICENSE file in the project's top-level directory for details.
Authors:
* Martijn Evers (mever)
************************************************************************ */
/**
* Form interface for all form widgets which have arrays as their primary data type.
*/
qx.Interface.define("qx.ui.form.IArrayForm",
{
extend : qx.ui.form.IField,
/*
*****************************************************************************
EVENTS
*****************************************************************************
*/
events :
{
/** Fired when the value was modified */
"changeValue" : "qx.event.type.Data"
},
/*
*****************************************************************************
MEMBERS
*****************************************************************************
*/
members :
{
/*
---------------------------------------------------------------------------
VALUE PROPERTY
---------------------------------------------------------------------------
*/
/**
* Sets the element's value.
*
* @param value {qx.data.Array|null} The new value of the element.
*/
setValue : function(value) {
return arguments.length == 1;
},
/**
* Resets the element's value to its initial value.
*/
resetValue : function() {},
/**
* The element's user set value.
*
* @return {qx.data.Array|null} The value.
*/
getValue : function() {}
}
});