public class WriteEventArgs extends Object implements IEventArgs
IWriteEvents
interface that can be queried from the WriteEvents
property.
This class holds a reference to the write context
and the Item
that is
currently being written.
EMPTY
Constructor and Description |
---|
WriteEventArgs(IWriteContext context,
Object item)
Initializes a new instance of the
WriteEventArgs class. |
Modifier and Type | Method and Description |
---|---|
IWriteContext |
getContext()
Gets the context that is being used for writing.
|
Object |
getItem()
Gets the item that is currently being written or
null if nothing is applicable. |
public WriteEventArgs(IWriteContext context, Object item)
WriteEventArgs
class.public final IWriteContext getContext()
public final Object getItem()
null
if nothing is applicable.