Package | at.display |
Class | public class CallButtonBarNavigator |
Inheritance | CallButtonBarNavigator ![]() ![]() |
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
Property | Defined by | ||
---|---|---|---|
![]() | buttonHeight : Number = 25
Sets the height for all buttons.
| ButtonBarNavigator | |
![]() | buttonList : Array
A list of all of the Buttons in the
ButtonBarNavigator . | ButtonBarNavigator | |
![]() | buttonsPerRow : 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 | ||
![]() | cursor : IViewCursor
Cursor for the dataProvider.
| ButtonBarNavigator | |
![]() | dataProvider : Object
Data to be used for the control.
| ButtonBarNavigator | |
![]() | debugMode : Boolean = false
Outputs useful information for debugging this component for developers when
true . | ButtonBarNavigator | |
![]() | enableButtons : Boolean
Returns whether all
Buttons are enabled in the ButtonBarNavigator
| ButtonBarNavigator | |
indicationID : int
The id of the current indication for the current brand.
| CallButtonBarNavigator | ||
![]() | labelField : String
Value in to use for the
dataProvider to use for the label of
the Buttons . | ButtonBarNavigator | |
![]() | numRows : int
Read-only variable for the number of rows determined by the number of
<row> s in the navXML XMLList . | ButtonBarNavigator | |
![]() | rowList : Array
A list of all of the rows in the
ButtonBarNavigator . | ButtonBarNavigator | |
![]() | selectable : Boolean
When
true only one button can be selected at a time. | ButtonBarNavigator | |
![]() | selectedChild : DisplayObject
Sets the selected
Button by DisplayObject . | ButtonBarNavigator | |
![]() | selectedIndex : int
Sets the
selected property to the button at the index supplied. | ButtonBarNavigator | |
![]() | selectedItem : Object
The
data from the currently selected Button in
the component. | ButtonBarNavigator | |
![]() | spacerList : Array
A list of all of the
Spacer 's created, if the attribute
"buttonBarVisualSpaceAfter" is set. | ButtonBarNavigator | |
![]() | validateNavigation : Boolean = true
If set to true, buttons automatically disable if they violate a navigation business constraint.
| ButtonBarNavigator |
Method | Defined by | ||
---|---|---|---|
Constructor.
| CallButtonBarNavigator | ||
![]() |
collectionChangeHandler(e:CollectionEvent):void
Updates the
label if the property in the
dataProvider changes. | ButtonBarNavigator | |
![]() |
destroy():void
Removes the event listeners and all of the buttons and rows inside of
this component.
| ButtonBarNavigator | |
reset():void
Refreshes underlying data
| CallButtonBarNavigator | ||
![]() |
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 |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when a button is clicked on to change the call. | CallButtonBarNavigator | |||
![]() | Dispatched when an button was clicked. | ButtonBarNavigator | ||
![]() |
Dispatched when all of the buttons have been created based on a new
dataProvider . | ButtonBarNavigator | ||
![]() | Dispatched when an button has been selected. | ButtonBarNavigator | ||
![]() | Dispatched when the user clicks on an item in the control. | ButtonBarNavigator |
currentCallID | property |
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
.
public function get currentCallID():int
public function set currentCallID(value:int):void
indicationID | property |
indicationID:int
[read-write]The id of the current indication for the current brand.
The default value is -1
.
public function get indicationID():int
public function set indicationID(value:int):void
CallButtonBarNavigator | () | constructor |
public function CallButtonBarNavigator()
Constructor.
reset | () | method |
public function reset():void
Refreshes underlying data
callChanged | event |
at.events.EveDataChangeEvent
Dispatched when a button is clicked on to change the call.