All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.apple.alpha.core.Formatter

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

public class Formatter
extends NativeObject
implements Coding
This class wraps the Objective-C class NSFormatter.


Constructor Index

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

Method Index

 o attributedStringForObjectValue(Object, Dictionary)
A wrapper for the - attributedStringForObjectValue:withDefaultAttributes: Objective-C instance method.
 o editingStringForObjectValue(Object)
A wrapper for the - editingStringForObjectValue: Objective-C instance method.
 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 stringForObjectValue(Object)
A wrapper for the - stringForObjectValue: Objective-C instance method.

Constructors

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

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

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

Methods

 o stringForObjectValue
 public native String stringForObjectValue(Object obj)
A wrapper for the - stringForObjectValue: Objective-C instance method.

 o attributedStringForObjectValue
 public native AttributedString attributedStringForObjectValue(Object obj,
                                                               Dictionary attrs)
A wrapper for the - attributedStringForObjectValue:withDefaultAttributes: Objective-C instance method.

 o editingStringForObjectValue
 public native String editingStringForObjectValue(Object obj)
A wrapper for the - editingStringForObjectValue: 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