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

Instance Methods

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

Method Documentation

◆ addMenuItemGroup:forMenuViewType:

- (void) addMenuItemGroup: (PDFScanMenuItemGroup *)  group
forMenuViewType: (PDFScanMenuViewType menuViewType 

Add group for menu vew type.

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

◆ exchangeMenuItemGroupAtIndex:withMenuItemGroupAtIndex:forMenuViewType:

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

Exchange group1's index with group2's index .

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

◆ getMenuItemGroupsForMenuViewType:

- (NSArray <PDFScanMenuItemGroup *> *) getMenuItemGroupsForMenuViewType: (PDFScanMenuViewType menuViewType

Get groups for menu vew type.

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

◆ getMenuViewForMenuViewType:

- (id<PDFScanMenuView>) getMenuViewForMenuViewType: (PDFScanMenuViewType menuViewType

Get id<PDFScanMenuView> for menu view type.

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

◆ insertMenuItemGroup:afterGroup:forMenuViewType:

- (void) insertMenuItemGroup: (PDFScanMenuItemGroup *)  group
afterGroup: (PDFScanMenuItemGroup *)  siblingGroup
forMenuViewType: (PDFScanMenuViewType menuViewType 

Insert the group after the sibling group.

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

◆ insertMenuItemGroup:atIndex:forMenuViewType:

- (void) insertMenuItemGroup: (PDFScanMenuItemGroup *)  group
atIndex: (NSInteger)  index
forMenuViewType: (PDFScanMenuViewType menuViewType 

Insert group at index .

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

◆ insertMenuItemGroup:beforeGroup:forMenuViewType:

- (void) insertMenuItemGroup: (PDFScanMenuItemGroup *)  group
beforeGroup: (PDFScanMenuItemGroup *)  siblingGroup
forMenuViewType: (PDFScanMenuViewType menuViewType 

Insert the group before the sibling group.

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

◆ removeMenuItemGroup:forMenuViewType:

- (void) removeMenuItemGroup: (PDFScanMenuItemGroup *)  group
forMenuViewType: (PDFScanMenuViewType menuViewType 

Remove group for menu view type.

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

◆ setMenuView:forMenuViewType:

- (void) setMenuView: (id< PDFScanMenuView >)  menuView
forMenuViewType: (PDFScanMenuViewType menuViewType 

Set id<PDFScanMenuView> for menu vew type. If the current menu view uses the current interface, the interface addMenuItemGroup insertMenuItemGroup removeMenuItemGroup exchangeMenuItemGroupAtIndex are invalidated, and the id<PDFScanMenuView> is responsible for all behavior.

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