Packageat.display
Classpublic class CallButtonBarNavigator
InheritanceCallButtonBarNavigator Inheritance ButtonBarNavigator Inheritance mx.containers.VBox

The CallButtonBarNavigator extends the ButtonBarNavigator to show a list of all the calls for an indication.

The component can accept any dataProvider but the easiest way to load the calls is to provide the indicationID. This will talk to the DataInterface and pull down the current calls for the current brand.

The CallButtonBarNavigator defaults to labelField equal to titleAbbr and buttonsPerRow equal to [100] to show all of the calls in one button row. Additionally, selectable is false

Default MXML PropertydataProvider

See also

at.display.ButtonBarNavigator


Public Properties
 PropertyDefined by
 InheritedbuttonHeight : Number = 25
Sets the height for all buttons.
ButtonBarNavigator
 InheritedbuttonList : Array
A list of all of the Buttons in the ButtonBarNavigator.
ButtonBarNavigator
 InheritedbuttonsPerRow : Array
Determines how many buttons will be displayed per row based on the values in an Array.
ButtonBarNavigator
  currentCallID : int
Selects the button with the call id.
CallButtonBarNavigator
 Inheritedcursor : IViewCursor
Cursor for the dataProvider.
ButtonBarNavigator
 InheriteddataProvider : Object
Data to be used for the control.
ButtonBarNavigator
 InheriteddebugMode : Boolean = false
Outputs useful information for debugging this component for developers when true.
ButtonBarNavigator
 InheritedenableButtons : Boolean
Returns whether all Buttons are enabled in the ButtonBarNavigator
ButtonBarNavigator
  indicationID : int
The id of the current indication for the current brand.
CallButtonBarNavigator
 InheritedlabelField : String
Value in to use for the dataProvider to use for the label of the Buttons.
ButtonBarNavigator
 InheritednumRows : int
Read-only variable for the number of rows determined by the number of <row>s in the navXML XMLList.
ButtonBarNavigator
 InheritedrowList : Array
A list of all of the rows in the ButtonBarNavigator.
ButtonBarNavigator
 Inheritedselectable : Boolean
When true only one button can be selected at a time.
ButtonBarNavigator
 InheritedselectedChild : DisplayObject
Sets the selected Button by DisplayObject.
ButtonBarNavigator
 InheritedselectedIndex : int
Sets the selected property to the button at the index supplied.
ButtonBarNavigator
 InheritedselectedItem : Object
The data from the currently selected Button in the component.
ButtonBarNavigator
 InheritedspacerList : Array
A list of all of the Spacer's created, if the attribute "buttonBarVisualSpaceAfter" is set.
ButtonBarNavigator
 InheritedvalidateNavigation : Boolean = true
If set to true, buttons automatically disable if they violate a navigation business constraint.
ButtonBarNavigator
Public Methods
 MethodDefined by
  
Constructor.
CallButtonBarNavigator
 Inherited
collectionChangeHandler(e:CollectionEvent):void
Updates the label if the property in the dataProvider changes.
ButtonBarNavigator
 Inherited
destroy():void
Removes the event listeners and all of the buttons and rows inside of this component.
ButtonBarNavigator
  
reset():void
Refreshes underlying data
CallButtonBarNavigator
 Inherited
setSelected(value:Object):void
This method sets currently selected button's property selected to true, while setting false to all other buttons if selectable is true.
ButtonBarNavigator
Protected Methods
 MethodDefined by
 Inherited
buttonClickHandler(e:MouseEvent):void
Executed when a button is clicked.
ButtonBarNavigator
 Inherited
Creates the entire button navigation.
ButtonBarNavigator
 Inherited
Handles navigation changes if not by clicking on a button.
ButtonBarNavigator
 Inherited
Handles a navigation change event when a navigationManager is set.
ButtonBarNavigator
Events
 EventSummaryDefined by
   Dispatched when a button is clicked on to change the call.CallButtonBarNavigator
 Inherited Dispatched when an button was clicked.ButtonBarNavigator
 Inherited Dispatched when all of the buttons have been created based on a new dataProvider.ButtonBarNavigator
 Inherited Dispatched when an button has been selected.ButtonBarNavigator
 Inherited Dispatched when the user clicks on an item in the control.ButtonBarNavigator
Styles
 StyleDescriptionDefined by
 Inherited Type: String   CSS Inheritance: no
This defines the styleName for each button.
ButtonBarNavigator
 Inherited Type: String   CSS Inheritance: no
This defines the styleName for each of the row(s) of buttons.
ButtonBarNavigator
 Inherited Type: int
The amout of padding in pixels horizontally between each Button.
ButtonBarNavigator
 Inherited Type: uint
When a Button's selected property is true, the Button defaults to the normal text color for the control.
ButtonBarNavigator
 Inherited Type: int
The amout of padding in pixels vertically between each row of Buttons.
ButtonBarNavigator
Property detail
currentCallIDproperty
currentCallID:int  [read-write]

Selects the button with the call id.

If the currentCallID is provided, the button with the corresponding call id will appear selected, and deselect all other buttons.

The default value is -1.

Implementation
    public function get currentCallID():int
    public function set currentCallID(value:int):void
indicationIDproperty 
indicationID:int  [read-write]

The id of the current indication for the current brand.

The default value is -1.

Implementation
    public function get indicationID():int
    public function set indicationID(value:int):void
Constructor detail
CallButtonBarNavigator()constructor
public function CallButtonBarNavigator()

Constructor.

Method detail
reset()method
public function reset():void

Refreshes underlying data

Event detail
callChangedevent 
Event object type: at.events.EveDataChangeEvent

Dispatched when a button is clicked on to change the call.