public class DispatcherTimer extends NetObject
.NET documentation at https://docs.microsoft.com/en-us/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=9.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() |
DispatcherTimer(DispatcherPriority priority) |
DispatcherTimer(DispatcherPriority priority,
Dispatcher dispatcher) |
DispatcherTimer(java.lang.Object instance)
Internal constructor.
|
DispatcherTimer(TimeSpan interval,
DispatcherPriority priority,
EventHandler callback,
Dispatcher dispatcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTick(EventHandler handler) |
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() |
TimeSpan |
getInterval() |
boolean |
getIsEnabled() |
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
|
NetObject |
getTag() |
void |
removeTick(EventHandler handler) |
void |
setInterval(TimeSpan Interval) |
void |
setIsEnabled(boolean IsEnabled) |
void |
setJCOInstance(JCObject instance) |
void |
setTag(NetObject Tag) |
void |
Start() |
void |
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,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
InvalidOperationException,
ArgumentNullException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
RankException,
ArrayTypeMismatchException,
InvalidEnumArgumentException,
Win32Exception,
TimeoutException,
NullReferenceException,
CultureNotFoundException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionInvalidOperationExceptionArgumentNullExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionRankExceptionArrayTypeMismatchExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionCultureNotFoundExceptionpublic DispatcherTimer(DispatcherPriority priority) throws java.lang.Throwable, NotSupportedException, ArgumentException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, IndexOutOfRangeException, InvalidEnumArgumentException, Win32Exception, TimeoutException, NullReferenceException, InvalidCastException, CultureNotFoundException, OutOfMemoryException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionArgumentNullExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionTimeoutExceptionNullReferenceExceptionInvalidCastExceptionCultureNotFoundExceptionOutOfMemoryExceptionpublic DispatcherTimer(DispatcherPriority priority, Dispatcher dispatcher) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionpublic DispatcherTimer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic DispatcherTimer(TimeSpan interval, DispatcherPriority priority, EventHandler callback, Dispatcher dispatcher) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, FormatException, InvalidEnumArgumentException, MulticastNotSupportedException, NullReferenceException, Win32Exception
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionNotSupportedExceptionObjectDisposedExceptionInvalidOperationExceptionRankExceptionArrayTypeMismatchExceptionArgumentNullExceptionIndexOutOfRangeExceptionFormatExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionNullReferenceExceptionWin32Exceptionpublic void addTick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic 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.Throwablepublic TimeSpan getInterval() throws java.lang.Throwable
java.lang.Throwablepublic boolean getIsEnabled()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic NetObject getTag() throws java.lang.Throwable
java.lang.Throwablepublic void removeTick(EventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setInterval(TimeSpan Interval) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, Win32Exception, InvalidEnumArgumentException, MulticastNotSupportedException
public void setIsEnabled(boolean IsEnabled)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidCastException,
Win32Exception,
InvalidEnumArgumentException,
MulticastNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidCastExceptionWin32ExceptionInvalidEnumArgumentExceptionMulticastNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class NetObjectpublic void setTag(NetObject Tag) throws java.lang.Throwable
java.lang.Throwablepublic void Start()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
InvalidEnumArgumentException,
Win32Exception,
MulticastNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionInvalidEnumArgumentExceptionWin32ExceptionMulticastNotSupportedExceptionpublic void Stop()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
ArgumentException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
OutOfMemoryException,
InvalidCastException,
Win32Exception,
InvalidEnumArgumentException,
MulticastNotSupportedException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionArgumentExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionInvalidCastExceptionWin32ExceptionInvalidEnumArgumentExceptionMulticastNotSupportedException