Class Timer
public class Timer : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
- Inheritance
-
JVMBridgeBaseJVMBridgeBase<Serializable>Timer
- Implements
-
IJVMBridgeCoreIJVMBridgeBaseStaticIJVMBridgeBaseIJVMBridgeDefinition
- Inherited Members
-
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)JVMBridgeBase<Serializable>.IsAssignableFrom<T>()JVMBridgeBase<Serializable>.Execute<T>(params T[])JVMBridgeBase<Serializable>.DynBridgeClazzJVMBridgeBase<Serializable>.BridgeClazzJVMBridgeBase.RuntimeClassNameOf<T>()JVMBridgeBase.ClassNameOf<T>()JVMBridgeBase.ClassOf<T>()JVMBridgeBase.WrapsDirect<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn>(IJavaObject)JVMBridgeBase.Wraps<TNewClass, TReturn, TConverter>(IJavaObject)JVMBridgeBase.MonitorEnter()JVMBridgeBase.MonitorExit()JVMBridgeBase.IsInstanceOf(IJavaType)JVMBridgeBase.IsInstanceOf<T>()JVMBridgeBase.RuntimeIsInstanceOf<T>()JVMBridgeBase.CastTo<TNewClass>()JVMBridgeBase.CastDirect<TNewClass>()JVMBridgeBase.Dispose()JVMBridgeBase.ToString()JVMBridgeBase.GetHashCode()JVMBridgeBase.Notify()JVMBridgeBase.NotifyAll()JVMBridgeBase.Wait()JVMBridgeBase.IExecuteWithSignature<TNewClass, TReturn, TConverter>(string, string, params object[])JVMBridgeBase.DynBridgeInstanceJVMBridgeBase.BridgeInstanceJVMBridgeBase.IsBridgeListener
- Extension Methods
Constructors
Timer()
Default constructor: even if the corresponding Java class does not have one, it is mandatory for JCOBridge
public Timer()
Timer(int, ActionListener)
public Timer(int arg0, ActionListener arg1)
Parameters
arg0
intarg1
ActionListener
Timer(params object[])
Generic constructor: it is useful for JCOBridge when there is a derived class which needs to pass arguments to the highest JVMBridgeBase class
public Timer(params object[] args)
Parameters
args
object[]
Properties
ActionCommand
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#getActionCommand() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#setActionCommand(java.lang.String)
public String ActionCommand { get; set; }
Property Value
ActionListeners
public ActionListener[] ActionListeners { get; }
Property Value
BridgeClassName
https://www.jcobridge.com/api-clr/html/P_MASES_JCOBridge_C2JBridge_JVMBridgeBase_BridgeClassName.htm
public override string BridgeClassName { get; }
Property Value
Delay
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#getDelay() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#setDelay(int)
public int Delay { get; set; }
Property Value
InitialDelay
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#getInitialDelay() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#setInitialDelay(int)
public int InitialDelay { get; set; }
Property Value
IsBridgeAbstract
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
public override bool IsBridgeStatic { get; }
Property Value
LogTimers
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#getLogTimers() https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/Timer.html#setLogTimers(boolean)
public static bool LogTimers { get; set; }
Property Value
Methods
AddActionListener(ActionListener)
public void AddActionListener(ActionListener arg0)
Parameters
GetListeners<T>(Class)
public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()
Parameters
Returns
- T[]
T
Type Parameters
IsCoalesce()
public bool IsCoalesce()
Returns
IsRepeats()
public bool IsRepeats()
Returns
IsRunning()
public bool IsRunning()
Returns
RemoveActionListener(ActionListener)
public void RemoveActionListener(ActionListener arg0)
Parameters
Restart()
public void Restart()
SetCoalesce(bool)
public void SetCoalesce(bool arg0)
Parameters
SetRepeats(bool)
public void SetRepeats(bool arg0)
Parameters
Start()
public void Start()
Stop()
public void Stop()