Class: WidgetHandleList

WidgetHandleList

This class represents a list for WidgetHandle.

new WidgetHandleList()

Extends

Requires

  • module:easejs
  • module:AbstractList
  • module:WidgetHandle

Members

protectedcounterinteger

Number of items.

protecteditemsWidgetHandleList

ItemList.

Methods

Clears this list.

contains(_item){boolean}

Verifies whether the given item is included in this list.
Name Type Description
_item WidgetHandle WidgetHandle that should be verified.

inherited containsKey(_key){boolean}

Verifies whether an item exists for the specified key.
Name Type Description
_key string Key that should be verified.

equals(_list){boolean}

Compare the specified WidgetHandleList with this instance.
Name Type Description
_list WidgetHandleList WidgetHandleList that should be compared.

inherited getItem(_key){*}

Returns the item for the specified key.
Name Type Description
_key string key that should be searched for

inherited abstractgetItems(){Array}

Returns all items.

inherited getKeys(){Array}

Returns the keys of all items.

inherited isEmpty(){boolean}

Verifies whether the list is empty.

put(_widgetHandle)

Adds the specified item to theitem list.
Name Type Description
_widgetHandle WidgetHandle WidgetHandle

putAll(_widgetHandleList)

Adds all items in the specified list to the item list.
Name Type Description
_widgetHandleList WidgetHandleList WidgetHandleList

inherited removeItem(_key)

Removes the item from this list for the specified key.
Name Type Description
_key string key that should be searched for
Returns the number of items that are included.

withItems(_widgetHandleList){WidgetHandleList}

Builder for item list.
Name Type Description
_widgetHandleList WidgetHandleList | Array WidgetHandleList