public class NSNumberFormatter extends NSFormatter
| Constructor and Description |
|---|
NSNumberFormatter() |
NSNumberFormatter(id id) |
NSNumberFormatter(int id) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsFloats() |
boolean |
alwaysShowsDecimalSeparator() |
NSString |
decimalSeparator() |
NSNumber |
maximum() |
int |
maximumFractionDigits() |
int |
maximumIntegerDigits() |
NSNumber |
minimum() |
void |
setAllowsFloats(boolean flag) |
void |
setMaximum(NSNumber number) |
void |
setMaximumFractionDigits(int number) |
void |
setMaximumIntegerDigits(int number) |
void |
setMinimum(NSNumber number) |
void |
setMinimumFractionDigits(int number) |
void |
setMinimumIntegerDigits(int number) |
void |
setNumberStyle(int style) |
void |
setPartialStringValidationEnabled(boolean b) |
stringForObjectValueaccessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSNumberFormatter()
public NSNumberFormatter(int id)
public NSNumberFormatter(id id)
public boolean allowsFloats()
public boolean alwaysShowsDecimalSeparator()
public NSString decimalSeparator()
public NSNumber maximum()
public int maximumFractionDigits()
public int maximumIntegerDigits()
public NSNumber minimum()
public void setAllowsFloats(boolean flag)
public void setMaximum(NSNumber number)
public void setMaximumFractionDigits(int number)
public void setMaximumIntegerDigits(int number)
public void setMinimum(NSNumber number)
public void setMinimumFractionDigits(int number)
public void setMinimumIntegerDigits(int number)
public void setNumberStyle(int style)
public void setPartialStringValidationEnabled(boolean b)