src/elements/Text.js
function Text(value, parameters) {
    abstractions.Element.call(this, utilities.types.TEXT, parameters);
    value = value || '';  // default value

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Text(value, parameters) {
    abstractions.Element.call(this, utilities.types.TEXT, parameters);
    value = value || '';  // default value

    // since this element is immutable the value must be read-only
    this.getValue = function() { return value; };

    return this;
}
function Text ( value , parameters ) { abstractions . Element . call ( this , utilities . types . TEXT , parameters ) ; value = value || '' ; // default value // since this element is immutable the value must be read-only this . getValue = function ( ) { return value ; } ; return this ; }
PUBLIC CONSTRUCTOR 
This constructor creates a new text string element using the specified value.

@constructor
@param {String} value The value of the text string.
@param {Parameters} parameters Optional parameters used to parameterize this element.
@returns {Text} The new text string.
PUBLIC CONSTRUCTOR This constructor creates a new text string element using the specified value .