Package | com.flexicious.components |
Class | public class BreadCrumb |
Inheritance | BreadCrumb ![]() |
Property | Defined By | ||
---|---|---|---|
atMax : Boolean [read-only]
Returns true if the maxDepth has been reached
| BreadCrumb | ||
atRoot : Boolean [read-only]
Returns true if the root breadcrumb is the only one active
| BreadCrumb | ||
breadCrumbSeperatorCharacter : String = >
Character that seperates the breadcrumbs. | BreadCrumb | ||
dataField : String = data
The property on the dataprovider that should be used as the code value for the breadcrumb. | BreadCrumb | ||
dataProvider : Array
A list of objects that have the labelField and dataField properties. | BreadCrumb | ||
empty : Boolean [read-only]
Returns true if there are no breadcrumbs
| BreadCrumb | ||
itemRenderer : IFactory
The item renderer for each of the clickable links in the breadcrumbs. | BreadCrumb | ||
labelField : String = label
The property on the dataprovider that should map to the text of the labels
| BreadCrumb | ||
labelFunction : Function = null
A function that determines the text to display on the breadcrumb. | BreadCrumb | ||
maxDepth : int [read-only]
The maximum number of breadcrumbs that can be added to this list
| BreadCrumb |
Method | Defined By | ||
---|---|---|---|
getAllPopups():Array
Gets a list of all Popup Children
| BreadCrumb | ||
getBreadCrumbs():Array
Gets all the instantiated breadcrumbs
| BreadCrumb | ||
popTo(item:*, useDataField:Boolean = false):Boolean
Removes all breadcrumbs upto the specified item
| BreadCrumb | ||
popupToPopup(item:*):void
Removes all the popups opened after the passed in one in the popup list
| BreadCrumb | ||
push(nv:Object):void
Adds a breadcrumb to the list
| BreadCrumb | ||
rebuild():void
Redraws all the breadcrumbs
| BreadCrumb | ||
removeAllPopups():void
Gets a list of all Popup Children
| BreadCrumb | ||
reset():void
Removes all the breadcrumbs
| BreadCrumb |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when the user clicks on a breadcrumb. | BreadCrumb | |||
Dispatched when all the breadcrumbs are about to be destroyed. | BreadCrumb | |||
Dispatched when all the breadcrumbs have been built. | BreadCrumb |
atMax | property |
atMax:Boolean
[read-only] Returns true if the maxDepth has been reached
This property can be used as the source for data binding.
public function get atMax():Boolean
atRoot | property |
atRoot:Boolean
[read-only] Returns true if the root breadcrumb is the only one active
This property can be used as the source for data binding.
public function get atRoot():Boolean
breadCrumbSeperatorCharacter | property |
public var breadCrumbSeperatorCharacter:String = >
Character that seperates the breadcrumbs. Defaults to '> '
dataField | property |
public var dataField:String = data
The property on the dataprovider that should be used as the code value for the breadcrumb. This value is then used when you call the popTo method passing in a parameter to use the dataField
dataProvider | property |
dataProvider:Array
A list of objects that have the labelField and dataField properties.
This property can be used as the source for data binding.
public function get dataProvider():Array
public function set dataProvider(value:Array):void
empty | property |
empty:Boolean
[read-only] Returns true if there are no breadcrumbs
This property can be used as the source for data binding.
public function get empty():Boolean
itemRenderer | property |
public var itemRenderer:IFactory
The item renderer for each of the clickable links in the breadcrumbs.
labelField | property |
public var labelField:String = label
The property on the dataprovider that should map to the text of the labels
labelFunction | property |
public var labelFunction:Function = null
A function that determines the text to display on the breadcrumb.
maxDepth | property |
maxDepth:int
[read-only] The maximum number of breadcrumbs that can be added to this list
This property can be used as the source for data binding.
public function get maxDepth():int
getAllPopups | () | method |
public function getAllPopups():Array
Gets a list of all Popup Children
ReturnsArray |
getBreadCrumbs | () | method |
public function getBreadCrumbs():Array
Gets all the instantiated breadcrumbs
ReturnsArray |
popTo | () | method |
public function popTo(item:*, useDataField:Boolean = false):Boolean
Removes all breadcrumbs upto the specified item
Parameters
item:* | |
useDataField:Boolean (default = false )
|
Boolean |
popupToPopup | () | method |
public function popupToPopup(item:*):void
Removes all the popups opened after the passed in one in the popup list
Parameters
item:* |
push | () | method |
public function push(nv:Object):void
Adds a breadcrumb to the list
Parameters
nv:Object |
rebuild | () | method |
public function rebuild():void
Redraws all the breadcrumbs
removeAllPopups | () | method |
public function removeAllPopups():void
Gets a list of all Popup Children
reset | () | method |
public function reset():void
Removes all the breadcrumbs
breadCrumbClick | Event |
com.flexicious.events.BreadCrumbEvent
Dispatched when the user clicks on a breadcrumb.
breadCrumbRemove | Event |
com.flexicious.events.BreadCrumbEvent
Dispatched when all the breadcrumbs are about to be destroyed.
breadCrumbsBuilt | Event |
com.flexicious.events.BreadCrumbEvent
Dispatched when all the breadcrumbs have been built. These can then be accessed using the getBreadCrumbs method.