new InterpreterDescription()
Constructor: Calls the constructor of the WidgetDescription
and initializes the inAttributeTypes.
Extends
Requires
- module:easejs
- module:AttributeTypeList
- module:WidgetDescription
Members
-
protectedcallbackNamesarray
-
Array of available callback names.
-
protectedidstring
-
Id of the Widget that are described by this object.
-
protectednamestring
-
Name of the Widget that are described by this object.
-
protectedoutAttributeTypesAttributeTypeList
-
List of attributeTypes that are provided.
Methods
-
inherited addOutAttributeType(_outAttributeType)
-
Adds an outAttributeType to the list
Name Type Description _outAttributeType
AttributeType AttributeType that are provided -
inherited addOutAttributeTypes(_outAttributeTypes)
-
Adds outAttributeTypes that are provided by the Widget
Name Type Description _outAttributeTypes
AttributeTypeList | Array List of AttributeType that are provided -
inherited doesSatisfyAttributeType(_attributeType){boolean}
-
Returns true if the widget can satisfy the requested attribute type.
Name Type Description _attributeType
AttributeType -
inherited getId(){String}
-
Returns the id of the described widget.
-
getInAttributeTypes(){AttributeTypeList}
-
Returns inAttributeTypes of the interpreter
-
inherited getName(){String}
-
Returns the name of the described widget.
-
inherited getOutAttributeTypes(){AttributeTypeList}
-
Returns outAttributeTypes of the widget.
-
Sets the id of the described widget.
-
setInAttributeType(_inAttributeType)
-
Adds an inAttributeType to the list
Name Type Description _inAttributeType
AttributeType AttributeType that are expected -
setInAttributeTypes(_inAttributeTypes)
-
Adds inAttributeTypes that are expected
Name Type Description _inAttributeTypes
AttributeTypeList | Array List of AttributeType that are expected -
inherited setName()
-
Sets the name of the described widget.
-
inherited withId(_id){WidgetDescription}
-
Builder for id
Name Type Description _id
string Id of the Widget that are described by this object. -
withInAttributeType(_inAttributeType){InterpreterDescription}
-
Builder for inAttributeType
Name Type Description _inAttributeType
AttributeType AttributeType that are expected -
withInAttributeTypes(_inAttributeTypes){InterpreterDescription}
-
Builder for inAttributeType list
Name Type Description _inAttributeTypes
AttributeTypeList | Array List of AttributeType that are expected -
inherited withName(_name){WidgetDescription}
-
Builder for name
Name Type Description _name
string Name of the Widget that are described by this object. -
inherited withOutAttributeTypes(_outAttributeTypes){WidgetDescription}
-
Builder for outAttributeType list
Name Type Description _outAttributeTypes
AttributeTypeList | Array List of AttributeType that are provided