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.
| Legato. | Small helper class which implements some sort of an setter, getter Pattern. |
| Properties | |
| target | {Object} The wrapped target class |
| field | If defined the field will be used if existing in target |
| setter | If defined this function will be used as setter if existing in target |
| getter | If defined this function will be used as getter if existing in target |
| Functions | |
| initialize | Basic ctor for the accessor class |
| setValue | Setter for wraped target instance value |
| getValue | Getter for wraped target instance value |
initialize : function( options )
Basic ctor for the accessor class
| options | {Object} A Hashmap containing option parameters for this class The following keys are supported |
Basic ctor for the accessor class
initialize : function( options )
Setter for wraped target instance value
setValue : function( value )
Getter for wraped target instance value
getValue : function()