FoxitPDFSDKforWeb  v10.0.0
Foxit PDF SDK for Web
Activatable Class Referenceabstract

The Activatable class defines methods for activatable objects. The activatable object need to override its methods to implement the activation and deactivation operations. More...

Inheritance diagram for Activatable:
AnnotComponent MarkupAnnotComponent

Public Member Functions

 active ()
 Sets isActive to true and calls doActive method. More...
 
 unActive ()
 Sets isActive to false and calls doDeactive method. More...
 

Public Attributes

boolean isActive
 Whether this activatable objec has been activated or not!
 

Protected Member Functions

abstract doActive ()
 Subclasses of Activatable should override this method to implement activation operation.
 
abstract doDeactive ()
 Subclasses of Activatable should override this method to implement deactivation operation.
 

Detailed Description

The Activatable class defines methods for activatable objects. The activatable object need to override its methods to implement the activation and deactivation operations.

See also
AnnotRender.getComponent
PDFViewer.activateElement

Member Function Documentation

◆ active()

Activatable::active ( )
inline

Sets isActive to true and calls doActive method.

Returns
void

◆ unActive()

Activatable::unActive ( )
inline

Sets isActive to false and calls doDeactive method.

Returns
void

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