Sha256: c5e9d2246d3ecf287198eac2a128e4c1247bd68dbb32a6e8317f4c6694ddc5fa

Contents?: true

Size: 1.31 KB

Versions: 7

Compression:

Stored size: 1.31 KB

Contents

/*   Riassence Framework
 *   Copyright 2006 Riassence Inc.
 *   http://riassence.com/
 *
 *   You should have received a copy of the GNU General Public License along
 *   with this software package. If not, contact licensing@riassence.com
 */

/*** = Description
  ** Define default setting here. Will be used, when no or invalid constructor
  ** options are supplied.
  ***/
HControlDefaults = HClass.extend({
  
/** The default label. A label is the "visual value" of a component that
  * operates on a "hidden" value.
  **/
  label:    "",

/** The default initial visibility of the component.
  **/
  visible:  true,
  
/** The default initial event responders to register to a component.
  * By default no events are enabled.
  **/
  events:   null,
  
  constructor: function(){
    if(!this.events){
      this.events = {};
    }
  },
  
/** The default initial value of the component.
  **/
  value:    0,
  
/** The default initial enabled state of the component.
  **/
  enabled:  true,
  
/** The default initial active state of the component.
  **/
  active:   false,
  
/** The default initial minimum value of the component.
  **/
  minValue: -2147483648,
  
/** The default initial maximum value of the component.
  **/
  maxValue:  2147483648
  
});

// Alias for backwards-compatibility.
HComponentDefaults = HControlDefaults;

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rsence-2.0.0.5.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.4.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.3.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.2.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.1.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.0.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.pre js/foundation/control/controldefaults/controldefaults.js