jACOB 2.7 API Documentation.

de.tif.jacob.screen.dialogs
Interface IUploadDialogCallback


public interface IUploadDialogCallback

Interface which has to be implemented by callback handlers for file upload dialogs.

See Also:
IUploadDialog

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 onCancel(IClientContext context)
          This method will be invoked, if the user has clicked on the cancel button.
 void onOk(IClientContext context, java.lang.String fileName, byte[] fileData)
          This method will be invoked, if the user has selected a file on client side and has clicked on the OK button.
 

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

onOk

void onOk(IClientContext context,
          java.lang.String fileName,
          byte[] fileData)
          throws java.lang.Exception
This method will be invoked, if the user has selected a file on client side and has clicked on the OK button.

Parameters:
context - The current client context
fileName - The name of the selected file
fileData - The content of the selected file
Throws:
java.lang.Exception

onCancel

void onCancel(IClientContext context)
              throws java.lang.Exception
This method will be invoked, if the user has clicked on the cancel button.

Parameters:
context - The current client context
Throws:
java.lang.Exception

jACOB 2.7 API Documentation.