| Modifier and Type | Field and Description |
|---|---|
static IContext |
PERMISSIVE
The
IContext that allows all events. |
static IContext |
RESTRICTIVE
The
IContext that forbids all events. |
| Constructor and Description |
|---|
UnknownContext(boolean allowEvents)
Creates a fallback
IContext. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowed(AbstractContextBasedITextEvent event)
Depending on its internal state allows or rejects all event.
|
public UnknownContext(boolean allowEvents)
IContext.allowEvents - defines whether the context allows all events or notpublic boolean isAllowed(AbstractContextBasedITextEvent event)
UnknownContext(boolean)Copyright © 1998–2022 iText Group NV. All rights reserved.