SpecialActionHandler

Since: true if the special action should be displayed, false otherwise.

#include <bb/extensions/cascades/tokenentry/SpecialActionHandler>

A class to handle the special action icon in the TokenEntry completion list (i.e.

Add to contacts icon).


Overview

Public Functions Index

SpecialActionHandler ()
virtual ~SpecialActionHandler ()
virtual boolshouldDisplaySpecialAction (TokenData *currentlySelectedToken)
virtual voidspecialActionRequested (TokenData *currentlySelectedToken)

Public Functions

SpecialActionHandler ()

virtual~SpecialActionHandler ()

Destructor.

virtual bool shouldDisplaySpecialAction (

Determines whether to display the special action on the list of the selected token.

Parameters
currentlySelectedToken

the TokenData that is currently selected.

Return:

true if the special action should be displayed, false otherwise.

virtual void specialActionRequested (

Called when the special action is selected on a list item.

Parameters
currentlySelectedToken

the TokenData that is currently selected. This is not the TokenData that was tapped on in the list.

Last modified: 2015-07-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus