FoxitPDFSDKforWeb  v9.2.0
Foxit PDF SDK for Web
IContextMenuItem Class Reference

This is an abstract contextmenu-item class. The various behaviors of the user-customized contextmenu-item can be encapsulated in its subclasses, and then its subclasses should be obtained from IContextMenu::getItem by the name to complete the contextmenu customization. More...

Public Member Functions

 disable ()
 Abstract function for implementing disabling of a menu item.
 
 enable ()
 Abstract function for implementing enabling of a menu item.
 
 isEnabled ()
 Abstract function for implementing detection disable/enable status of a menu item. More...
 

Detailed Description

This is an abstract contextmenu-item class. The various behaviors of the user-customized contextmenu-item can be encapsulated in its subclasses, and then its subclasses should be obtained from IContextMenu::getItem by the name to complete the contextmenu customization.

Member Function Documentation

◆ isEnabled()

IContextMenuItem::isEnabled ( )
inline

Abstract function for implementing detection disable/enable status of a menu item.

Returns
boolean Whether the menu item is enabled.

Foxit Software Corporation Logo
@2023 Foxit Software Incorporated. All rights reserved.