Skip to main content

NamedAction Class

A named action in a PDF document.

Declaration

public class NamedAction extends InteractiveAction

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject

Constructors

NamedAction(ActionName actionName) Constructor

Initializes a new instance of the NamedAction class with the specified predefined action name.

Declaration

public NamedAction(ActionName actionName)

Parameters

Name Type Description
actionName ActionName

A predefined action name.

NamedAction(String name) Constructor

Initializes a new instance of the NamedAction class with the specified custom action name.

Declaration

public NamedAction(String name)

Parameters

Name Type Description
name String

The custom action name.

Methods

getActionName() Method

Returns the predefined action name.

Declaration

public ActionName getActionName()

Returns

Type Description
ActionName

The predefined action name. ActionName.CUSTOM if the action uses a custom name.

getCustomName() Method

Returns the custom action name.

Declaration

public String getCustomName()

Returns

Type Description
String

The custom action name. null if the action uses a predefined name.