Class TListItemCollection
TListItemCollection class.
TListItemCollection maintains a list of TListItem
for TListControl
.
- TComponent
-
TList implements IteratorAggregate, ArrayAccess, Countable
-
TListItemCollection
Direct known subclasses
TActiveListItemCollection
Package: System\Collections
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TListItemCollection.php
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Since: 3.0
Located at Collections/TListItemCollection.php
public
|
#
createListItem( integer $index = -1 )
Creates a list item object. This method may be overriden to provide a customized list item object. |
protected
|
|
public
|
|
public
integer
|
#
findIndexByValue( string $value, boolean $includeDisabled = true )
Finds the lowest cardinal index of the item whose value is the one being looked for. |
public
integer
|
#
findIndexByText( string $text, boolean $includeDisabled = true )
Finds the lowest cardinal index of the item whose text is the one being looked for. |
public
|
#
findItemByValue( string $value, boolean $includeDisabled = true )
Finds the item whose value is the one being looked for. |
public
|
#
findItemByText( string $text, boolean $includeDisabled = true )
Finds the item whose text is the one being looked for. |
public
|
#
loadState( array|null $state )
Loads state into every item in the collection. This method should only be used by framework and control developers. |
public
array|null
|
#
saveState( )
Saves state of items. This method should only be used by framework and control developers. |
__construct(),
add(),
clear(),
contains(),
copyFrom(),
count(),
getCount(),
getIterator(),
getReadOnly(),
indexOf(),
insertAfter(),
insertBefore(),
itemAt(),
mergeWith(),
offsetExists(),
offsetGet(),
offsetSet(),
offsetUnset(),
remove(),
removeAt(),
setReadOnly(),
toArray()
|
GLOBAL_RAISE_EVENT_LISTENER
|