Legato.Util.LayerValueAccessor

Small helper class which implements some sort of an setter, getter Pattern.  With this class you’re able to wrap some other classes so that the wrapped classed is accessed just with the getter setter Pattern.

Summary
Legato.Util.LayerValueAccessorSmall helper class which implements some sort of an setter, getter Pattern.
Functions
initializeBasic ctor for the accessor class

Functions

initialize

initialize : function(options)

Basic ctor for the accessor class

Parameters

options{Object} A Hashmap containing option parameters for this class The following keys are supported
  • target {Object} the used target instance
  • field {String} Optional field specification.  Will be used as getter and setter if defined
  • setter {String} Optional function specification which must exists in target
  • getter {String} Optional function specification which must exists in target
initialize : function(options)
Basic ctor for the accessor class