BCList

Namespace: PP.Ui;

Inheritance Hierarchy

Object

List

BCList

Description

The BCList class is a base class for working with collections of the Breadcrumb component items.

Comments

The BCList class inherits from the Listclass.

Classes BreadcrumbItemsList and BreadcrumbSelectedItemsList inherit from the BCList class.

Syntax

PP.initClass(PP.Ui.BCList, PP.List, "BCList");

Method

  Method name Brief description
findById The findById method finds an element in the collection by its identifier.

Methods inherited from the class List

  Method name Brief description
add The add method adds an element to the collection.
clear The clear method removes all objects from the collection.
contains The contains method determines whether the collection includes the specified element.
getCount The getCount method returns the number of collection elements.
getItem The getItem method returns the collection element by the specified index.
indexOf The indexOf method returns index of the specified collection element.
insert The insert method inserts an element to the specified position.
insertBefore The insertBefore method inserts an element to the position before the specified element.
remove The remove method removes the specified element from the collection.
setItem The setItem method writes the element to the specified position in the collection.

Events inherited from the class List

   Event name Brief description
Changed The Changed event occurs after changing collection state.
Changing The Changing event occurs on changing collection state.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getId The getId method returns repository object identifier.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setId The setId method determines a repository object identifier.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP.Ui