Package org.robovm.apple.foundation
Class NSPersonNameComponentsFormatter
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSFormatter
-
- org.robovm.apple.foundation.NSPersonNameComponentsFormatter
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class NSPersonNameComponentsFormatter extends NSFormatter
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSPersonNameComponentsFormatter.NSPersonNameComponentsFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSFormatter
NSFormatter.NSFormatterPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description NSPersonNameComponentsFormatter()
protected
NSPersonNameComponentsFormatter(NSObject.Handle h, long handle)
protected
NSPersonNameComponentsFormatter(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
format(NSPersonNameComponents components)
NSAttributedString
formatAnnotated(NSPersonNameComponents components)
static java.lang.String
formatLocalized(NSPersonNameComponents components, NSPersonNameComponentsFormatterStyle nameFormatStyle, NSPersonNameComponentsFormatterOptions nameOptions)
NSPersonNameComponentsFormatterStyle
getStyle()
boolean
isPhonetic()
NSPersonNameComponents
parse(java.lang.String string)
void
setPhonetic(boolean v)
void
setStyle(NSPersonNameComponentsFormatterStyle v)
-
Methods inherited from class org.robovm.apple.foundation.NSFormatter
encode, init
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
NSPersonNameComponentsFormatter
public NSPersonNameComponentsFormatter()
-
NSPersonNameComponentsFormatter
protected NSPersonNameComponentsFormatter(NSObject.Handle h, long handle)
-
NSPersonNameComponentsFormatter
protected NSPersonNameComponentsFormatter(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getStyle
public NSPersonNameComponentsFormatterStyle getStyle()
-
setStyle
public void setStyle(NSPersonNameComponentsFormatterStyle v)
-
isPhonetic
public boolean isPhonetic()
-
setPhonetic
public void setPhonetic(boolean v)
-
format
public java.lang.String format(NSPersonNameComponents components)
-
formatAnnotated
public NSAttributedString formatAnnotated(NSPersonNameComponents components)
-
parse
public NSPersonNameComponents parse(java.lang.String string)
- Since:
- Available in iOS 10.0 and later.
-
formatLocalized
public static java.lang.String formatLocalized(NSPersonNameComponents components, NSPersonNameComponentsFormatterStyle nameFormatStyle, NSPersonNameComponentsFormatterOptions nameOptions)
-
-