Library Mobile API Reference for iPad  MicroStrategy 2019
<RWDNavigationBarItemsValidatorHandler > Protocol Reference

#import <RWDNavigationBarItems.h>

Inheritance diagram for <RWDNavigationBarItemsValidatorHandler >:

Instance Methods

(BOOL) - validateButtonWithType:
 
(void) - handleButtonWithType:sender:
 
(BOOL) - isButtonDisabledWithType:
 
(BOOL) - isCollaborationEnabled
 
(NavigationTabBarController *) - navigationTabBarController
 
(ThemeType- themeType
 
(NSString *) - documentID
 
(UIInterfaceOrientation) - orientation
 

Method Documentation

◆ documentID()

- (NSString * RWDNavigationBarItemsValidatorHandler) documentID
optional

This method is for getting document's ID

◆ handleButtonWithType:sender:()

- (void RWDNavigationBarItemsValidatorHandler) handleButtonWithType: (RWDNavigationButtonType)  type
sender: (id)  sender 

This method should handle the action of a button with given type.

Parameters
typeis the button type defined by enumerator RWDNavigationButtonType.
senderis the real sender if it is a custom view which has different states (such as UISegmentedControl), or nil otherwise.

◆ isButtonDisabledWithType:()

- (BOOL RWDNavigationBarItemsValidatorHandler) isButtonDisabledWithType: (RWDNavigationButtonType)  type

This method should return whether the button with given type is disbaled.

Parameters
typeis the button type defined by enumerator RWDNavigationButtonType.
Returns
YES to gray out and disable the button in its corresponding places (left/right navigation items or shared bar).

◆ isCollaborationEnabled()

- (BOOL RWDNavigationBarItemsValidatorHandler) isCollaborationEnabled

This method should return whether the collaboration is enabled in the bar.

◆ navigationTabBarController()

- (NavigationTabBarController * RWDNavigationBarItemsValidatorHandler) navigationTabBarController
optional

This method is for customizing more button title.

◆ orientation()

- (UIInterfaceOrientation RWDNavigationBarItemsValidatorHandler) orientation
optional

This method is for getting document's current orientation

◆ themeType()

- (ThemeType RWDNavigationBarItemsValidatorHandler) themeType
optional

This method is for customizing theme related button color

◆ validateButtonWithType:()

- (BOOL RWDNavigationBarItemsValidatorHandler) validateButtonWithType: (RWDNavigationButtonType)  type

This method should return the validation of a button with given type.

Parameters
typeis the button type defined by enumerator RWDNavigationButtonType.
Returns
YES to show the button in its corresponding places (left/right navigation items or shared bar).