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, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System
|
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.
|
| 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, setSiteCreateObjRef, GetLifetimeService, 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,
ArgumentException,
OverflowException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionOverflowExceptionpublic Timer(double interval)
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentException,
OverflowException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionOverflowExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic Timer(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addElapsed(ElapsedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void BeginInit()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic 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,
ArgumentException,
ArgumentNullException
java.lang.ThrowableArgumentExceptionArgumentNullExceptionpublic void EndInit()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ObjectDisposedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NullReferenceException
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,
ArgumentOutOfRangeException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentNullException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentNullExceptionpublic void setEnabled(boolean Enabled)
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ObjectDisposedException,
ArgumentOutOfRangeException,
SecurityException,
InvalidOperationException,
NullReferenceException
public void setInterval(double Interval)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
NotImplementedException,
NotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
MissingManifestResourceException,
ObjectDisposedException,
FormatException
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionpublic 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,
ArgumentException,
ArgumentNullException,
ObjectDisposedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NullReferenceException
public void Stop()
throws java.lang.Throwable,
ArgumentException,
ArgumentNullException,
ObjectDisposedException,
ArgumentOutOfRangeException,
InvalidOperationException,
NullReferenceException