Table of Contents

Class Timer

Namespace
Javax.Swing
Assembly
MASES.JNet.dll
public class Timer : Serializable, IDynamicMetaObjectProvider, IJVMBridgeCore, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeDefinition, ISerializable
Inheritance
JVMBridgeBase
JVMBridgeBase<Serializable>
Timer
Implements
IJVMBridgeCore
IJVMBridgeBaseStatic
IJVMBridgeBase
IJVMBridgeDefinition
Inherited Members
JVMBridgeBase<Serializable>.IsAssignableFrom(IJavaType)
JVMBridgeBase<Serializable>.IsAssignableFrom<T>()
JVMBridgeBase<Serializable>.Execute<T>(params T[])
JVMBridgeBase<Serializable>.DynBridgeClazz
JVMBridgeBase<Serializable>.BridgeClazz
JVMBridgeBase.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.DynBridgeInstance
JVMBridgeBase.BridgeInstance
JVMBridgeBase.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 int

int

arg1 ActionListener

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

public String ActionCommand { get; set; }

Property Value

String

ActionListeners

public ActionListener[] ActionListeners { get; }

Property Value

ActionListener[]

BridgeClassName

public override string BridgeClassName { get; }

Property Value

string

Delay

public int Delay { get; set; }

Property Value

int

InitialDelay

public int InitialDelay { get; set; }

Property Value

int

IsBridgeAbstract

public override bool IsBridgeAbstract { get; }

Property Value

bool

IsBridgeCloseable

public override bool IsBridgeCloseable { get; }

Property Value

bool

IsBridgeInterface

public override bool IsBridgeInterface { get; }

Property Value

bool

IsBridgeStatic

public override bool IsBridgeStatic { get; }

Property Value

bool

LogTimers

public static bool LogTimers { get; set; }

Property Value

bool

Methods

AddActionListener(ActionListener)

public void AddActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

GetListeners<T>(Class)

public T[] GetListeners<T>(Class arg0) where T : IEventListener, new()

Parameters

arg0 Class

Class

Returns

T[]

T

Type Parameters

T

IEventListener

IsCoalesce()

public bool IsCoalesce()

Returns

bool

bool

IsRepeats()

public bool IsRepeats()

Returns

bool

bool

IsRunning()

public bool IsRunning()

Returns

bool

bool

RemoveActionListener(ActionListener)

public void RemoveActionListener(ActionListener arg0)

Parameters

arg0 ActionListener

ActionListener

Restart()

public void Restart()

SetCoalesce(bool)

public void SetCoalesce(bool arg0)

Parameters

arg0 bool

bool

SetRepeats(bool)

public void SetRepeats(bool arg0)

Parameters

arg0 bool

bool

Start()

public void Start()

Stop()

public void Stop()