Sha256: cce2c5e14a3a4444b4bfefcf5579bc3deabf3bad82237ec35c6e771944dfef44

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

/*   RSence
 *   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

5 entries across 5 versions & 1 rubygems

Version Path
rsence-2.0.0.10.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.9.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.8.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.7.pre js/foundation/control/controldefaults/controldefaults.js
rsence-2.0.0.6.pre js/foundation/control/controldefaults/controldefaults.js