virtualnew WidgetDescription()
Constructor: Initializes the inAttributeTypes.
Requires
- module:easejs
- module:AttributeTypeList
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
-
addOutAttributeType(_outAttributeType)
-
Adds an outAttributeType to the list
Name Type Description _outAttributeType
AttributeType AttributeType that are provided -
addOutAttributeTypes(_outAttributeTypes)
-
Adds outAttributeTypes that are provided by the Widget
Name Type Description _outAttributeTypes
AttributeTypeList | Array List of AttributeType that are provided -
doesSatisfyAttributeType(_attributeType){boolean}
-
Returns true if the widget can satisfy the requested attribute type.
Name Type Description _attributeType
AttributeType -
getId(){String}
-
Returns the id of the described widget.
-
getName(){String}
-
Returns the name of the described widget.
-
getOutAttributeTypes(){AttributeTypeList}
-
Returns outAttributeTypes of the widget.
-
Sets the id of the described widget.
-
setName()
-
Sets the name of the described widget.
-
withId(_id){WidgetDescription}
-
Builder for id
Name Type Description _id
string Id of the Widget that are described by this object. -
withInAttributeType(_outAttributeType){WidgetDescription}
-
Builder for outAttributeType
Name Type Description _outAttributeType
AttributeType AttributeType that are provided -
withName(_name){WidgetDescription}
-
Builder for name
Name Type Description _name
string Name of the Widget that are described by this object. -
withOutAttributeTypes(_outAttributeTypes){WidgetDescription}
-
Builder for outAttributeType list
Name Type Description _outAttributeTypes
AttributeTypeList | Array List of AttributeType that are provided