| FoxitPDFSDKforWeb v11.0.4 Archives Foxit PDF SDK for Web

Public Member Functions | Public Attributes | Protected Member Functions | List of all members
Activatable Class Referenceabstract
PDFViewCtrl » interfaces

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:

## 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

@2025 Foxit Software Incorporated. All rights reserved.