All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Value

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

public class Value
extends NativeObject
implements Coding
This class wraps the Objective-C class NSValue.


Constructor Index

 o Value()
This default constructor is equivalent to Objective-C's [[NSValue alloc] init].
 o Value(boolean, int)
Protected constructor used by the bridge to wrap an Objective-C object.
 o Value(Coder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Method Index

 o encodeWithCoder(Coder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).
 o isEqualToValue(Value)
A wrapper for the - isEqualToValue: Objective-C instance method.
 o pointValue()
A wrapper for the - pointValue Objective-C instance method.
 o rectValue()
A wrapper for the - rectValue Objective-C instance method.
 o sizeValue()
A wrapper for the - sizeValue Objective-C instance method.
 o valueWithPoint(Point)
A wrapper for the + valueWithPoint: Objective-C class method.
 o valueWithRect(Rect)
A wrapper for the + valueWithRect: Objective-C class method.
 o valueWithSize(Size)
A wrapper for the + valueWithSize: Objective-C class method.

Constructors

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

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

 o Value
 public Value(Coder aDecoder)
This constructor has the same effect as calling - initWithCoder: on a newly allocated object.

Methods

 o isEqualToValue
 public native boolean isEqualToValue(Value value)
A wrapper for the - isEqualToValue: Objective-C instance method.

 o valueWithPoint
 public static native Value valueWithPoint(Point point)
A wrapper for the + valueWithPoint: Objective-C class method.

 o valueWithSize
 public static native Value valueWithSize(Size size)
A wrapper for the + valueWithSize: Objective-C class method.

 o valueWithRect
 public static native Value valueWithRect(Rect rect)
A wrapper for the + valueWithRect: Objective-C class method.

 o pointValue
 public native Point pointValue()
A wrapper for the - pointValue Objective-C instance method.

 o sizeValue
 public native Size sizeValue()
A wrapper for the - sizeValue Objective-C instance method.

 o rectValue
 public native Rect rectValue()
A wrapper for the - rectValue Objective-C instance method.

 o encodeWithCoder
 public native void encodeWithCoder(Coder aCoder)
A wrapper for the - encodeWithCoder: Objective-C instance method defined by the Coding interface (known as the NSCoding Objective-C protocol).


All Packages  Class Hierarchy  This Package  Previous  Next  Index