Sha256: 24d62eb1b3b912be65fd251757ed9e6d31fe8a9bade341904820501e4072e293

Contents?: true

Size: 1.13 KB

Versions: 27

Compression:

Stored size: 1.13 KB

Contents

/*** = Description
  ** A HDummyValue is just a placeholder for HValue values. HDummyValue
  ** is a light-weight alternative that doesn't implement any actual HValue
  ** functionality, but implements the essential methods and keeps the HControl
  ** content when an actual HValue instance isn't bound.
  ** It's the default valueObj type for components not bound to real HValue instances.
***/
var//RSence.Foundation
HDummyValue = HClass.extend({
  
/** = Description
  * HDummyValue is initialized just like a real HValue.
  *
  * = Parameters
  * +_id+::    Any string or integer, just a placeholder for HValue.id
  * +_value+:: Any valid js object, just as for HValue.value
  *
  **/
  constructor: function(_id, _value) {
    this.id = _id;
    this.value = _value;
  },

/** Sets a new instance payload value.
  **/
  set: function(_value) {
    this.value = _value;
  },

/** Returns the instance payload value.
  **/
  get: function() {
    return this.value;
  },
  
/** Binds HControl, does actually nothing.
  **/
  bind: function( _theObj ){},
  
/** Unbinds (releases) HControl, does actually nothing.
  **/
  unbind: function( _theObj ){}
});

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
rsence-pre-3.0.0.16 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.15 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.14 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.12 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.11 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.10 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.9 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.8 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.7 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.6 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.5 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.4 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.3 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.2 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.1 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-3.0.0.0 client/js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-2.3.0.26 js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-2.3.0.25 js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-2.3.0.24 js/foundation/control/dummyvalue/dummyvalue.js
rsence-pre-2.3.0.23 js/foundation/control/dummyvalue/dummyvalue.js