public class Timer extends Component
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Timers.Timer
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.TypeConverter, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.ComponentModel.TypeConverter
|
static java.lang.String |
className
Qualified class name: System.Timers.Timer
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Timer() |
Timer(double interval) |
Timer(java.lang.Object instance)
Internal constructor.
|
Timer(TimeSpan interval) |
| Modifier and Type | Method and Description |
|---|---|
void |
addElapsed(ElapsedEventHandler handler) |
void |
BeginInit() |
static Timer |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Timer, a cast assert is made to check if types are compatible. |
void |
Close() |
void |
EndInit() |
boolean |
getAutoReset() |
boolean |
getEnabled() |
double |
getInterval() |
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
|
ISynchronizeInvoke |
getSynchronizingObject() |
void |
removeElapsed(ElapsedEventHandler handler) |
void |
setAutoReset(boolean AutoReset) |
void |
setEnabled(boolean Enabled) |
void |
setInterval(double Interval) |
void |
setJCOInstance(JCObject instance) |
void |
setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) |
void |
Start() |
void |
Stop() |
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 Timer()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException,
IndexOutOfRangeException,
InvalidTimeZoneException,
OverflowException,
ArgumentNullException,
SecurityException
public Timer(double interval)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
PlatformNotSupportedException,
ArgumentException,
InvalidTimeZoneException,
OverflowException,
NotSupportedException,
ArgumentNullException,
CultureNotFoundException
public Timer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic Timer(TimeSpan interval) throws java.lang.Throwable, PlatformNotSupportedException, OverflowException, ArgumentOutOfRangeException, ArgumentException, NotSupportedException, CultureNotFoundException, ArgumentNullException, InvalidOperationException, ObjectDisposedException
public void addElapsed(ElapsedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void BeginInit()
throws java.lang.Throwable,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
ArgumentNullException
java.lang.ThrowableLockRecursionExceptionAbandonedMutexExceptionSynchronizationLockExceptionArgumentNullExceptionpublic static Timer cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Timer, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTimer instancejava.lang.Throwable - in case of error during cast operationpublic void Close()
throws java.lang.Throwable,
LockRecursionException,
NotSupportedException,
OutOfMemoryException,
AbandonedMutexException,
SynchronizationLockException
java.lang.ThrowableLockRecursionExceptionNotSupportedExceptionOutOfMemoryExceptionAbandonedMutexExceptionSynchronizationLockExceptionpublic void EndInit()
throws java.lang.Throwable,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
public boolean getAutoReset()
throws java.lang.Throwable
java.lang.Throwablepublic boolean getEnabled()
throws java.lang.Throwable
java.lang.Throwablepublic double getInterval()
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 ISynchronizeInvoke getSynchronizingObject() throws java.lang.Throwable
java.lang.Throwablepublic void removeElapsed(ElapsedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setAutoReset(boolean AutoReset)
throws java.lang.Throwable,
ArgumentException,
NotSupportedException,
InvalidOperationException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
IndexOutOfRangeException,
FormatException,
LockRecursionException,
OutOfMemoryException,
AbandonedMutexException,
EventSourceException,
ThreadStateException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionFormatExceptionLockRecursionExceptionOutOfMemoryExceptionAbandonedMutexExceptionEventSourceExceptionThreadStateExceptionpublic void setEnabled(boolean Enabled)
throws java.lang.Throwable,
LockRecursionException,
NotSupportedException,
OutOfMemoryException,
AbandonedMutexException,
SynchronizationLockException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
FormatException
public void setInterval(double Interval)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
ObjectDisposedException,
InvalidOperationException,
LockRecursionException,
OutOfMemoryException,
AbandonedMutexException,
EventSourceException,
ThreadStateException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionPlatformNotSupportedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionObjectDisposedExceptionInvalidOperationExceptionLockRecursionExceptionOutOfMemoryExceptionAbandonedMutexExceptionEventSourceExceptionThreadStateExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class Componentpublic void setSynchronizingObject(ISynchronizeInvoke SynchronizingObject) throws java.lang.Throwable
java.lang.Throwablepublic void Start()
throws java.lang.Throwable,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException
public void Stop()
throws java.lang.Throwable,
LockRecursionException,
AbandonedMutexException,
SynchronizationLockException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException