public class BackgroundWorker extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.ComponentModel.BackgroundWorker
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.ComponentModel.EventBasedAsync, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.EventBasedAsync
|
static java.lang.String |
className
Qualified class name: System.ComponentModel.BackgroundWorker
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
BackgroundWorker() |
BackgroundWorker(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDoWork(DoWorkEventHandler handler) |
void |
addProgressChanged(ProgressChangedEventHandler handler) |
void |
addRunWorkerCompleted(RunWorkerCompletedEventHandler handler) |
void |
CancelAsync() |
static BackgroundWorker |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into BackgroundWorker, a cast assert is made to check if types are compatible. |
boolean |
getCancellationPending() |
boolean |
getIsBusy() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
boolean |
getWorkerReportsProgress() |
boolean |
getWorkerSupportsCancellation() |
void |
removeDoWork(DoWorkEventHandler handler) |
void |
removeProgressChanged(ProgressChangedEventHandler handler) |
void |
removeRunWorkerCompleted(RunWorkerCompletedEventHandler handler) |
void |
ReportProgress(int percentProgress) |
void |
ReportProgress(int percentProgress,
NetObject userState) |
void |
RunWorkerAsync() |
void |
RunWorkerAsync(NetObject argument) |
void |
setJCOInstance(JCObject instance) |
void |
setWorkerReportsProgress(boolean WorkerReportsProgress) |
void |
setWorkerSupportsCancellation(boolean WorkerSupportsCancellation) |
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public BackgroundWorker()
throws java.lang.Throwable
java.lang.Throwablepublic BackgroundWorker(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addDoWork(DoWorkEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addProgressChanged(ProgressChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addRunWorkerCompleted(RunWorkerCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void CancelAsync()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException
public static BackgroundWorker cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into BackgroundWorker, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedBackgroundWorker instancejava.lang.Throwable - in case of error during cast operationpublic boolean getCancellationPending()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsBusy()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ComponentString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ComponentString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ComponentObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ComponentString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ComponentJCType representing the CLR Type of the instantiated Classpublic boolean getWorkerReportsProgress()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getWorkerSupportsCancellation()
throws java.lang.Throwable
java.lang.Throwablepublic void removeDoWork(DoWorkEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeProgressChanged(ProgressChangedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeRunWorkerCompleted(RunWorkerCompletedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void ReportProgress(int percentProgress)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException
public void ReportProgress(int percentProgress,
NetObject userState)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
OutOfMemoryException
public void RunWorkerAsync()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
NotSupportedException,
OutOfMemoryException,
EventSourceException,
IndexOutOfRangeException
public void RunWorkerAsync(NetObject argument) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, OutOfMemoryException, NotSupportedException, EventSourceException, IndexOutOfRangeException
public void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setWorkerReportsProgress(boolean WorkerReportsProgress)
throws java.lang.Throwable
java.lang.Throwablepublic void setWorkerSupportsCancellation(boolean WorkerSupportsCancellation)
throws java.lang.Throwable
java.lang.Throwable