Package com.aspose.zip
Class ProgressCancelEventArgs
- java.lang.Object
-
- com.aspose.ms.System.EventArgs
-
- com.aspose.zip.ProgressEventArgs
-
- com.aspose.zip.ProgressCancelEventArgs
-
public class ProgressCancelEventArgs extends ProgressEventArgs
Class for cancelable event data containing the number of bytes proceeded.
-
-
Constructor Summary
Constructors Constructor Description ProgressCancelEventArgs(long proceededBytes)Initializes a new instance of theProgressCancelEventArgsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetCancel()Gets a value indicating whether the event should be canceled.voidsetCancel(boolean value)Sets a value indicating whether the event should be canceled.-
Methods inherited from class com.aspose.zip.ProgressEventArgs
getProceededBytes
-
-
-
-
Constructor Detail
-
ProgressCancelEventArgs
public ProgressCancelEventArgs(long proceededBytes)
Initializes a new instance of the
ProgressCancelEventArgsclass.- Parameters:
proceededBytes- The number of bytes proceeded.
-
-
Method Detail
-
getCancel
public final boolean getCancel()
Gets a value indicating whether the event should be canceled.
- Returns:
- True if the event should be canceled; otherwise, false.
-
setCancel
public final void setCancel(boolean value)
Sets a value indicating whether the event should be canceled.
- Parameters:
value- a value indicating whether the event should be canceled.
-
-