jACOB 2.7 API Documentation.

de.tif.jacob.screen.dialogs
Interface IDocumentDialog

All Superinterfaces:
IDialog

public interface IDocumentDialog
extends IDialog

Base interface for document dialog implementations.
Document dialogs are used to view, download and print documents, which are either loaded from a datasource or created on the fly. the respective row.

A new document dialog can be created by means of:

  • IClientContext.createDocumentDialog(DataDocumentValue)
  • IClientContext.createDocumentDialog(String, DataDocumentValue)
  • IClientContext.createDocumentDialog(String, String, byte[])


    Field Summary
    static java.lang.String RCS_ID
              The internal revision control system id.
    static java.lang.String RCS_REV
              The internal revision control system id in short form.
     
    Method Summary
     void enforcePrinting(boolean flag)
              Enforces the printing of the document, i.e. a printer select dialog will be popped up after the document has been downloaded.
     boolean isEnforcePrinting()
              Returns whether printing of the document is enforced or not.
     
    Methods inherited from interface de.tif.jacob.screen.dialogs.IDialog
    show, show
     

    Field Detail

    RCS_ID

    static final java.lang.String RCS_ID
    The internal revision control system id.

    See Also:
    Constant Field Values

    RCS_REV

    static final java.lang.String RCS_REV
    The internal revision control system id in short form.

    See Also:
    Constant Field Values
    Method Detail

    enforcePrinting

    void enforcePrinting(boolean flag)
    Enforces the printing of the document, i.e. a printer select dialog will be popped up after the document has been downloaded.

    Note: By default printing is not enforced.

    Parameters:
    flag - true to enforce printing, otherwise false

    isEnforcePrinting

    boolean isEnforcePrinting()
    Returns whether printing of the document is enforced or not.

    Returns:
    true if printing is enforced, otherwise false

    jACOB 2.7 API Documentation.