All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Timer

java.lang.Object
   |
   +----com.apple.alpha.core.NativeObject
           |
           +----com.apple.alpha.core.Timer

public class Timer
extends NativeObject
This class wraps the Objective-C class NSTimer.


Constructor Index

 o Timer()
This default constructor is equivalent to Objective-C's [[NSTimer alloc] init].
 o Timer(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.

Method Index

 o fire()
A wrapper for the - fire Objective-C instance method.
 o fireDate()
A wrapper for the - fireDate Objective-C instance method.
 o invalidate()
A wrapper for the - invalidate Objective-C instance method.
 o isValid()
A wrapper for the - isValid Objective-C instance method.
 o scheduledTimer(double, Object, Selector, Object, boolean)
A wrapper for the + scheduledTimerWithTimeInterval:target:selector:userInfo:repeats: Objective-C class method.
 o scheduledTimerInvocation(double, Invocation, boolean)
A wrapper for the + scheduledTimerWithTimeInterval:invocation:repeats: Objective-C class method.
 o timeInterval()
A wrapper for the - timeInterval Objective-C instance method.
 o timer(double, Object, Selector, Object, boolean)
A wrapper for the + timerWithTimeInterval:target:selector:userInfo:repeats: Objective-C class method.
 o timerInvocation(double, Invocation, boolean)
A wrapper for the + timerWithTimeInterval:invocation:repeats: Objective-C class method.
 o userInfo()
A wrapper for the - userInfo Objective-C instance method.

Constructors

 o Timer
 protected Timer(boolean shouldAllocate,
                 int objcObject)
Protected constructor used by the bridge to wrap an Objective-C object. It should never be invoked directly.

 o Timer
 public Timer()
This default constructor is equivalent to Objective-C's [[NSTimer alloc] init].

Methods

 o timerInvocation
 public static native Timer timerInvocation(double ti,
                                            Invocation invocation,
                                            boolean yesOrNo)
A wrapper for the + timerWithTimeInterval:invocation:repeats: Objective-C class method.

 o scheduledTimerInvocation
 public static native Timer scheduledTimerInvocation(double ti,
                                                     Invocation invocation,
                                                     boolean yesOrNo)
A wrapper for the + scheduledTimerWithTimeInterval:invocation:repeats: Objective-C class method.

 o timer
 public static native Timer timer(double ti,
                                  Object aTarget,
                                  Selector aSelector,
                                  Object userInfo,
                                  boolean yesOrNo)
A wrapper for the + timerWithTimeInterval:target:selector:userInfo:repeats: Objective-C class method.

 o scheduledTimer
 public static native Timer scheduledTimer(double ti,
                                           Object aTarget,
                                           Selector aSelector,
                                           Object userInfo,
                                           boolean yesOrNo)
A wrapper for the + scheduledTimerWithTimeInterval:target:selector:userInfo:repeats: Objective-C class method.

 o fire
 public native void fire()
A wrapper for the - fire Objective-C instance method.

 o fireDate
 public native Date fireDate()
A wrapper for the - fireDate Objective-C instance method.

 o timeInterval
 public native double timeInterval()
A wrapper for the - timeInterval Objective-C instance method.

 o invalidate
 public native void invalidate()
A wrapper for the - invalidate Objective-C instance method.

 o isValid
 public native boolean isValid()
A wrapper for the - isValid Objective-C instance method.

 o userInfo
 public native Object userInfo()
A wrapper for the - userInfo Objective-C instance method.


All Packages  Class Hierarchy  This Package  Previous  Next  Index