Class SwingWorker<T, V>
public class SwingWorker<T, V> : RunnableFuture<T>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition, IRunnableFuture<T>
Type Parameters
TV
- Inheritance
-
SwingWorker<T, V>
- Implements
- Extension Methods
Constructors
SwingWorker()
public SwingWorker()
SwingWorker(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public SwingWorker(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Progress
public int Progress { get; }
Property Value
PropertyChangeSupport
public PropertyChangeSupport PropertyChangeSupport { get; }
Property Value
State
public SwingWorker.StateValue State { get; }
Property Value
Methods
AddPropertyChangeListener(PropertyChangeListener)
public void AddPropertyChangeListener(PropertyChangeListener arg0)
Parameters
Cancel(bool)
public bool Cancel(bool arg0)
Parameters
Returns
CreatePoolableInstance()
HPA initializer for SwingWorker()
public static SwingWorker<T, V> CreatePoolableInstance()
Returns
- SwingWorker<T, V>
Execute()
public void Execute()
FirePropertyChange(String, object, object)
public void FirePropertyChange(String arg0, object arg1, object arg2)
Parameters
Get()
public T Get()
Returns
- T
T
Exceptions
Get(long, TimeUnit)
public T Get(long arg0, TimeUnit arg1)
Parameters
Returns
- T
T
Exceptions
IsCancelled()
public bool IsCancelled()
Returns
IsDone()
public bool IsDone()
Returns
RemovePropertyChangeListener(PropertyChangeListener)
public void RemovePropertyChangeListener(PropertyChangeListener arg0)
Parameters
Run()
public void Run()
Operators
implicit operator SwingWorker(SwingWorker<T, V>)
Converter from SwingWorker<T, V> to SwingWorker
public static implicit operator SwingWorker(SwingWorker<T, V> t)
Parameters
tSwingWorker<T, V>