| Package | Description |
|---|---|
| com.itextpdf.commons.actions | |
| com.itextpdf.commons.actions.contexts |
| Constructor and Description |
|---|
AbstractContextBasedEventHandler(IContext onUnknownContext)
Creates a new instance of the handler with the defined fallback for events within unknown contexts.
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericContext
Generic context that allows AbstractContextBasedITextEvent based on the whitelist of supported events.
|
class |
UnknownContext
The fallback IContext.
|
| Modifier and Type | Field and Description |
|---|---|
static IContext |
UnknownContext.PERMISSIVE
The IContext that allows all events.
|
static IContext |
UnknownContext.RESTRICTIVE
The IContext that forbids all events.
|
| Modifier and Type | Method and Description |
|---|---|
IContext |
ContextManager.getContext(Class> clazz)
Gets the context associated with the passed class object.
|
IContext |
ContextManager.getContext(String className)
Gets the context associated with the passed class object.
|
Copyright © 1998–2022 iText Group NV. All rights reserved.