public class DispatcherTimer extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Threading.DispatcherTimer
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: WindowsBase, Version=11.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: WindowsBase
|
static java.lang.String |
className
Qualified class name: System.Windows.Threading.DispatcherTimer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
DispatcherTimer()
Initializes a new instance by invoking the .NET constructor.
|
DispatcherTimer(DispatcherPriority priority)
Initializes a new instance by invoking the .NET constructor.
|
DispatcherTimer(DispatcherPriority priority,
Dispatcher dispatcher)
Initializes a new instance by invoking the .NET constructor.
|
DispatcherTimer(java.lang.Object instance)
Internal constructor.
|
DispatcherTimer(TimeSpan interval,
DispatcherPriority priority,
EventHandler callback,
Dispatcher dispatcher)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTick(EventHandler handler)
Invokes the .NET member addTick.
|
static DispatcherTimer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into DispatcherTimer, a cast assert is made to check if types are compatible. |
Dispatcher |
getDispatcher()
Gets the value of the .NET property Dispatcher.
|
TimeSpan |
getInterval()
Gets the value of the .NET property Interval.
|
boolean |
getIsEnabled()
Gets the value of the .NET property IsEnabled.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
NetObject |
getTag()
Gets the value of the .NET property Tag.
|
void |
removeTick(EventHandler handler)
Invokes the .NET member removeTick.
|
void |
setInterval(TimeSpan Interval)
Sets the value of the .NET property Interval.
|
void |
setIsEnabled(boolean IsEnabled)
Sets the value of the .NET property IsEnabled.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setTag(NetObject Tag)
Sets the value of the .NET property Tag.
|
void |
Start()
Invokes the .NET member Start.
|
void |
Stop()
Invokes the .NET member Stop.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public DispatcherTimer()
throws java.lang.Throwable,
PlatformNotSupportedException,
ArgumentException,
ArgumentNullException,
LockRecursionException,
SynchronizationLockException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
InvalidCastException,
InvalidOperationException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
NullReferenceException,
NotSupportedException
java.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itLockRecursionException - if the .NET member raises itSynchronizationLockException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itpublic DispatcherTimer(DispatcherPriority priority) throws java.lang.Throwable, PlatformNotSupportedException, ArgumentOutOfRangeException, ArgumentNullException, RankException, IndexOutOfRangeException, ArgumentException, ArrayTypeMismatchException, InvalidCastException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, NotSupportedException, FormatException, OutOfMemoryException
priority - the argument of type DispatcherPriorityjava.lang.Throwable - if the .NET constructor failsPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itInvalidCastException - if the .NET member raises itInvalidOperationException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itTimeoutException - if the .NET member raises itNullReferenceException - if the .NET member raises itNotSupportedException - if the .NET member raises itFormatException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic DispatcherTimer(DispatcherPriority priority, Dispatcher dispatcher) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
priority - the argument of type DispatcherPrioritydispatcher - the argument of type Dispatcherjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic DispatcherTimer(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback, Dispatcher dispatcher) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, NullReferenceException, Win32Exception
interval - the argument of type TimeSpanpriority - the argument of type DispatcherPrioritycallback - the argument of type EventHandlerdispatcher - the argument of type Dispatcherjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itNullReferenceException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void addTick(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static DispatcherTimer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into DispatcherTimer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedDispatcherTimer instancejava.lang.Throwable - in case of error during cast operationpublic Dispatcher getDispatcher() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic TimeSpan getInterval() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsEnabled()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectpublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeTick(EventHandler handler) throws java.lang.Throwable
handler - the argument of type EventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setInterval(TimeSpan Interval) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, InvalidEnumArgumentException, ArrayTypeMismatchException, IndexOutOfRangeException
Interval - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic void setIsEnabled(boolean IsEnabled)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
LockRecursionException,
NullReferenceException,
OutOfMemoryException,
DuplicateWaitObjectException,
AbandonedMutexException,
IndexOutOfRangeException,
InvalidCastException,
Win32Exception,
InvalidEnumArgumentException
IsEnabled - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class NetObjectinstance - the new underlying objectpublic void setTag(NetObject Tag) throws java.lang.Throwable
Tag - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Start()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
LockRecursionException,
NullReferenceException,
OutOfMemoryException,
DuplicateWaitObjectException,
AbandonedMutexException,
InvalidEnumArgumentException,
Win32Exception
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itWin32Exception - if the .NET member raises itpublic void Stop()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
LockRecursionException,
NullReferenceException,
OutOfMemoryException,
DuplicateWaitObjectException,
AbandonedMutexException,
IndexOutOfRangeException,
InvalidCastException,
Win32Exception,
InvalidEnumArgumentException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itLockRecursionException - if the .NET member raises itNullReferenceException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itDuplicateWaitObjectException - if the .NET member raises itAbandonedMutexException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itInvalidCastException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises it