class OnClearEventArgs extends OnClearEventArgs (View source)

Provides event arguments for the onClear event.

Methods

getDocumentManager()

Retrieves the associated DocumentManager.

string|null
getDocumentClass()

Returns the name of the document class that is cleared, or null if all are cleared.

bool
clearsAllDocuments()

Returns whether this event clears all documents.

Details

DocumentManager getDocumentManager()

Retrieves the associated DocumentManager.

Return Value

DocumentManager

string|null getDocumentClass()

Returns the name of the document class that is cleared, or null if all are cleared.

Return Value

string|null

bool clearsAllDocuments()

Returns whether this event clears all documents.

Return Value

bool