Class: WidgetDescription

WidgetDescription

The description of a Widget and the communication with it.

abstractnew WidgetDescription()

Constructor: Initializes the inAttributeTypes.

Requires

  • module:easejs
  • module:AttributeTypeList

Members

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

Returns the id of the described widget.
Returns the name of the described widget.
Returns outAttributeTypes of the widget.
Sets the id of the described widget.
Sets the name of the described widget.

setOutAttributeType(_outAttributeType)

Adds an outAttributeType to the list
Name Type Description
_outAttributeType AttributeType AttributeType that are provided

setOutAttributeTypes(_outAttributeTypes)

Adds outAttributeTypes that are provided by the Widget
Name Type Description
_outAttributeTypes AttributeTypeList | Array List of AttributeType that are provided
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
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