iText 8.0.2 API
|
The fallback IContext. More...
Public Member Functions |
|
UnknownContext (bool allowEvents) | |
Creates a fallback IContext. More... |
|
virtual bool | IsAllowed (AbstractContextBasedITextEvent @event) |
Depending on its internal state allows or rejects all event. More... |
|
Static Public Attributes |
|
static readonly IContext | RESTRICTIVE = new iText.Commons.Actions.Contexts.UnknownContext(false) |
The IContext that forbids all events. More... |
|
static readonly IContext | PERMISSIVE = new iText.Commons.Actions.Contexts.UnknownContext(true) |
The IContext that allows all events. More... |
|
The fallback IContext.
|
inline |
Creates a fallback IContext.
allowEvents | defines whether the context allows all events or not |
|
inlinevirtual |
Depending on its internal state allows or rejects all event.
Depending on its internal state allows or rejects all event. Behaviour is defined via constructor UnknownContext(bool)
event |
Determines weather event should be processed or not.
Determines weather event should be processed or not.
Implements iText.Commons.Actions.Contexts.IContext.
|
static |
The IContext that allows all events.
|
static |
The IContext that forbids all events.