ProcessProgressEventArgs

Inheritance: java.lang.Object, com.aspose.ms.System.EventArgs, com.groupdocs.signature.handler.events.ProcessEventArgs

public class ProcessProgressEventArgs extends ProcessEventArgs

Provides data for OnProgress event of signing, verification and search processes.

Constructors

Constructor Description
ProcessProgressEventArgs()

Methods

Method Description
getProgress() Represents progress in percents.
setProgress(int value) Represents progress in percents.
getTicks() Represents time spent in milliseconds since process Start event.
setTicks(long value) Represents time spent in milliseconds since process Start event.
getProcessedSignatures() Represents quantity of processed signatures.
setProcessedSignatures(int value) Represents quantity of processed signatures.
getCancel() Indicates whether process should be canceled.
setCancel(boolean value) Indicates whether process should be canceled.

ProcessProgressEventArgs()

public ProcessProgressEventArgs()

getProgress()

public final int getProgress()

Represents progress in percents. Value range is from 0 to 100.

Returns: int

setProgress(int value)

public final void setProgress(int value)

Represents progress in percents. Value range is from 0 to 100.

Parameters:

Parameter Type Description
value int

getTicks()

public final long getTicks()

Represents time spent in milliseconds since process Start event.

Returns: long

setTicks(long value)

public final void setTicks(long value)

Represents time spent in milliseconds since process Start event.

Parameters:

Parameter Type Description
value long

getProcessedSignatures()

public final int getProcessedSignatures()

Represents quantity of processed signatures.

Returns: int

setProcessedSignatures(int value)

public final void setProcessedSignatures(int value)

Represents quantity of processed signatures.

Parameters:

Parameter Type Description
value int

getCancel()

public final boolean getCancel()

Indicates whether process should be canceled.

Returns: boolean

setCancel(boolean value)

public final void setCancel(boolean value)

Indicates whether process should be canceled.

Parameters:

Parameter Type Description
value boolean