FoxitPDFSDKforWeb  8.5.0
Foxit PDF SDK for Web
AnnotOperationController Class Reference

It's a abstract controller class provides an easy way for sub-controller classes to take control the contextmenu-item's visibility and usability before contextmenu shown. More...

Inheritance diagram for AnnotOperationController:
ApplyAllRedactController ApplyRedactController CopyAnnotTextController DeleteAnnotController MediaDownloadController MediaPauseController MediaPlayController ShowActionsController ShowAnnotReplyController ShowRedactPlaceDialogController

Protected Member Functions

 usable (annot)
 A method for subclasses to override to take control the component usability, this method is called before parent component shown. More...
 
 visibility (annot)
 A method for subclasses to override to take control the component visibility, this method is called before parent component shown. More...
 

Detailed Description

It's a abstract controller class provides an easy way for sub-controller classes to take control the contextmenu-item's visibility and usability before contextmenu shown.

Member Function Documentation

◆ usable()

AnnotOperationController::usable (   annot)
inlineprotected

A method for subclasses to override to take control the component usability, this method is called before parent component shown.

Parameters
annotPDF.annots.Annot
Returns
Promise<boolean> | boolean

◆ visibility()

AnnotOperationController::visibility (   annot)
inlineprotected

A method for subclasses to override to take control the component visibility, this method is called before parent component shown.

Parameters
annotPDF.annots.Annot

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