![]() |
API
0.9.6
|
#import <CPNumberFormatter.h>
Additional Inherited Members | |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(void) | + initialize |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
![]() | |
Class | isa |
CPNumberFormatter takes a numeric CPNumber value and formats it as text for display. It also supports the converse, taking text and interpreting it as a CPNumber by configurable formatting rules.
Definition at line 2 of file CPNumberFormatter.h.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 367 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 383 of file CPNumberFormatter.j.
|
implementation |
The default implementation of this method invokes stringForObjectValue:.
When implementing a subclass, override this method only when the string that users see and the string that they edit are different. In your implementation, return an CPString object that is used for editing, following the logic recommended for implementing stringForObjectValue:. As an example, you would implement this method if you want the dollar signs in displayed strings removed for editing.
anObject | the object for which to return an editing string |
Reimplemented from CPFormatter.
Definition at line 167 of file CPNumberFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPNumberFormatter(CPCoding).
Definition at line 250 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 399 of file CPNumberFormatter.j.
|
implementation |
Definition at line 172 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 303 of file CPNumberFormatter.j.
|
implementation |
Initializes the receiver
Reimplemented from CPObject.
Definition at line 70 of file CPNumberFormatter.j.
|
implementation |
Reimplemented from CPFormatter.
Provided by category CPNumberFormatter(CPCoding).
Definition at line 231 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 351 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 335 of file CPNumberFormatter.j.
Definition at line 151 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 271 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 287 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 319 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 375 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 391 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 407 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 311 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 212 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 206 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 181 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 295 of file CPNumberFormatter.j.
|
implementation |
Synthesized accessor method.
Provided by category CPNumberFormatter(CPSynthesizedAccessors).
Definition at line 200 of file CPNumberFormatter.j.
|
implementation |
The default implementation of this method raises an exception.
When implementing a subclass, return the CPString object that textually represents the view's object for display and if editingStringForObjectValue: is unimplemented for editing. First test the passed-in object to see if it's of the correct class. If it isn't, return nil; but if it is of the right class, return a properly formatted and, if necessary, localized string. (See the specification of the CPString class for formatting and localizing details.)
anObject | The object for which a textual representation is returned |
Reimplemented from CPFormatter.
Definition at line 159 of file CPNumberFormatter.j.
Definition at line 88 of file CPNumberFormatter.j.