Timer
Overview
Timer class to trigger a method every few msec.
Location
- Reference: Island.fx
- Namespace: RemObjects.Elements.System
constructor
constructor
Timer()
init()
Timer()
Sub New()
constructor (Int32)
constructor(aInterval: Int32)
Timer(Int32 aInterval)
init(_ aInterval: Int32)
Timer(Int32 aInterval)
Sub New(aInterval As Int32)
Parameters:
- aInterval:
Parameters:
- aInterval:
- aRepeat:
Data
User data attached to the timer.
property Data: Object read write;
Object Data { get; set; }
var Data: Object { get{} set{} }
Object Data { __get; __set; }
Property Data() As Object
Dispose
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Elapsed
Callback for when the timer triggered.
property Elapsed: TimerElapsedBlock read write;
TimerElapsedBlock Elapsed { get; set; }
var Elapsed: TimerElapsedBlock { get{} set{} }
TimerElapsedBlock Elapsed { __get; __set; }
Property Elapsed() As TimerElapsedBlock
Enabled
If true, it triggers.
property Enabled: Boolean read write;
Boolean Enabled { get; set; }
var Enabled: Boolean { get{} set{} }
Boolean Enabled { __get; __set; }
Property Enabled() As Boolean
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Interval
Interval in msec of this timer.
property Interval: Int32 read write;
Int32 Interval { get; set; }
var Interval: Int32 { get{} set{} }
Int32 Interval { __get; __set; }
Property Interval() As Int32
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
Repeat
If true, repeatedly trigger the timer, else only once.
property Repeat: Boolean read write;
Boolean Repeat { get; set; }
var Repeat: Boolean { get{} set{} }
Boolean Repeat { __get; __set; }
Property Repeat() As Boolean
Start
method Start
void Start()
func Start()
void Start()
Sub Start()
Stop
method Stop
void Stop()
func Stop()
void Stop()
Sub Stop()
ToString virtual (declared in Object)
Gets the string representation of this method.
Data
User data attached to the timer.
property Data: Object read write;
Object Data { get; set; }
var Data: Object { get{} set{} }
Object Data { __get; __set; }
Property Data() As Object
Elapsed
Callback for when the timer triggered.
property Elapsed: TimerElapsedBlock read write;
TimerElapsedBlock Elapsed { get; set; }
var Elapsed: TimerElapsedBlock { get{} set{} }
TimerElapsedBlock Elapsed { __get; __set; }
Property Elapsed() As TimerElapsedBlock
Enabled
If true, it triggers.
property Enabled: Boolean read write;
Boolean Enabled { get; set; }
var Enabled: Boolean { get{} set{} }
Boolean Enabled { __get; __set; }
Property Enabled() As Boolean
Interval
Interval in msec of this timer.
property Interval: Int32 read write;
Int32 Interval { get; set; }
var Interval: Int32 { get{} set{} }
Int32 Interval { __get; __set; }
Property Interval() As Int32
Repeat
If true, repeatedly trigger the timer, else only once.
ReferenceEquals (declared in Object)
Compares two references for equivalence (even if they have an equals operator)
Parameters:
- a: left value
- b: right value
constructor
constructor
Timer()
init()
Timer()
Sub New()
constructor (Int32)
constructor(aInterval: Int32)
Timer(Int32 aInterval)
init(_ aInterval: Int32)
Timer(Int32 aInterval)
Sub New(aInterval As Int32)
Parameters:
- aInterval:
Parameters:
- aInterval:
- aRepeat:
Dispose
method Dispose
void Dispose()
func Dispose()
void Dispose()
Sub Dispose()
Equals virtual (declared in Object)
Default constructor.
Parameters:
- aOther: the reference to compare this with.
Finalize protected virtual (declared in Object)
method Finalize
void Finalize()
func Finalize()
void Finalize()
Sub Finalize()
GetHashCode virtual (declared in Object)
Returns a hashcode for this object. Overriden implementations should make sure that the number returned here is constant given the same object.
method GetHashCode: Int32
Int32 GetHashCode()
func GetHashCode() -> Int32
Int32 GetHashCode()
Function GetHashCode() As Int32
GetType (declared in Object)
Returns the actual type of this class
method GetType: Type
Type GetType()
func GetType() -> Type
Type GetType()
Function GetType() As Type
Start
method Start
void Start()
func Start()
void Start()
Sub Start()
Stop
method Stop
void Stop()
func Stop()
void Stop()
Sub Stop()
ToString virtual (declared in Object)
Gets the string representation of this method.