Foxit PDF SDK  9.1
FSMenuViewManager Class Reference
Inheritance diagram for FSMenuViewManager:

Instance Methods

(void) - addMenuItemGroup:forMenuViewType:
 Add group for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(void) - exchangeMenuItemGroupAtIndex:withMenuItemGroupAtIndex:forMenuViewType:
 Exchange group1's index with group2's index .If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(NSArray< FSMenuItemGroup * > *) - getMenuItemGroupsForMenuViewType:
 Get groups for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(id< FSMenuView >) - getMenuViewForMenuViewType:
 Get id<FSMenuView> for menu view type. More...
 
(void) - insertMenuItemGroup:afterGroup:forMenuViewType:
 Insert the group after the sibling group. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(void) - insertMenuItemGroup:atIndex:forMenuViewType:
 Insert group at index . If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(void) - insertMenuItemGroup:beforeGroup:forMenuViewType:
 Insert the group before the sibling group. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(instancetype) - NS_UNAVAILABLE
 
(void) - removeMenuItemGroup:forMenuViewType:
 Remove group for menu view type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 
(void) - setMenuView:forMenuViewType:
 Set id<FSMenuView> for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior. More...
 

Class Methods

(instancetype) + NS_UNAVAILABLE
 Disable the default initialization. More...
 

Method Documentation

◆ addMenuItemGroup:forMenuViewType:

- (void) addMenuItemGroup: (FSMenuItemGroup *)  group
forMenuViewType: (FSMenuViewType menuViewType 

Add group for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]groupThe group.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ exchangeMenuItemGroupAtIndex:withMenuItemGroupAtIndex:forMenuViewType:

- (void) exchangeMenuItemGroupAtIndex: (NSInteger)  index1
withMenuItemGroupAtIndex: (NSInteger)  index2
forMenuViewType: (FSMenuViewType menuViewType 

Exchange group1's index with group2's index .If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]index1The group1's index.
[in]index2The group2's index.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ getMenuItemGroupsForMenuViewType:

- (NSArray <FSMenuItemGroup *> *) getMenuItemGroupsForMenuViewType: (FSMenuViewType menuViewType

Get groups for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.
Returns
The groups.

◆ getMenuViewForMenuViewType:

- (id<FSMenuView>) getMenuViewForMenuViewType: (FSMenuViewType menuViewType

Get id<FSMenuView> for menu view type.

Parameters
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.
Returns
The id<FSMenuView> .

◆ insertMenuItemGroup:afterGroup:forMenuViewType:

- (void) insertMenuItemGroup: (FSMenuItemGroup *)  group
afterGroup: (FSMenuItemGroup *)  siblingGroup
forMenuViewType: (FSMenuViewType menuViewType 

Insert the group after the sibling group. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]groupThe group that needs to be inserted.
[in]siblingGroupExisting sibling group.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ insertMenuItemGroup:atIndex:forMenuViewType:

- (void) insertMenuItemGroup: (FSMenuItemGroup *)  group
atIndex: (NSInteger)  index
forMenuViewType: (FSMenuViewType menuViewType 

Insert group at index . If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]groupThe group.
[in]indexIndex of group in menu view.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ insertMenuItemGroup:beforeGroup:forMenuViewType:

- (void) insertMenuItemGroup: (FSMenuItemGroup *)  group
beforeGroup: (FSMenuItemGroup *)  siblingGroup
forMenuViewType: (FSMenuViewType menuViewType 

Insert the group before the sibling group. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]groupThe group that needs to be inserted.
[in]siblingGroupExisting sibling group.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ NS_UNAVAILABLE [1/2]

- (instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE [2/2]

+ (instancetype) NS_UNAVAILABLE

Disable the default initialization.

◆ removeMenuItemGroup:forMenuViewType:

- (void) removeMenuItemGroup: (FSMenuItemGroup *)  group
forMenuViewType: (FSMenuViewType menuViewType 

Remove group for menu view type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]groupThe group that need to be removed.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.

◆ setMenuView:forMenuViewType:

- (void) setMenuView: (id< FSMenuView >)  menuView
forMenuViewType: (FSMenuViewType menuViewType 

Set id<FSMenuView> for menu vew type. If the current menu view uses the current interface, the menu group is invalidated and the id<FSMenuView> is responsible for all behavior.

Parameters
[in]menuViewThe id<FSMenuView>.
[in]menuViewTypeThe view type that supports menu view. Please refer to FSMenuViewTypeXXX values and it would be one of these values.