Class com.asual.enflash.ui.Collection

com.asual.enflash.EnFlashObject
   +--com.asual.enflash.ui.UIObject
      +--com.asual.enflash.ui.Collection

Field Index

firstItem, lastItem, length, list
Inherited from UIObject
alpha, h, margin, movieclip, onload, onresize, padding, visible, w, x, y
Inherited from EnFlashObject
id, oninit, onremove, parent, ref

Method Index

new Collection()

addItem(), addItemAt(), getIndex(), getItem(), getItemByProperty(), getNextItem(), getPreviousItem(), removeAll(), removeItem(), removeItemAt()
Inherited from UIObject
load(), main(), move(), setSize()
Inherited from EnFlashObject
addEventListener(), createDelegate(), debug(), dispatchEvent(), dispatchEventOnce(), getListeners(), getXML(), remove(), removeDelegate(), removeEventListener(), setXML(), toString()

Constructor Detail

Collection

public function Collection(id)

Field Detail

list

public list:List [Read Only]

length

public length:Number [Read Only]

firstItem

public firstItem [Read Only]

lastItem

public lastItem [Read Only]

Method Detail

getItem

public function getItem(index:Number)

getIndex

public function getIndex(component):Number

getItemByProperty

public function getItemByProperty(prop:String, value:String)

getPreviousItem

public function getPreviousItem(component, loop)

getNextItem

public function getNextItem(component, loop)

addItem

public function addItem(item, depth)

addItemAt

public function addItemAt(index, item, depth)

removeItem

public function removeItem(item)

removeItemAt

public function removeItemAt(index)

removeAll

public function removeAll():Array