Package org.robovm.apple.mapkit
Class MKDistanceFormatter
- 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.mapkit.MKDistanceFormatter
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class MKDistanceFormatter extends NSFormatter
- Since:
- Available in iOS 7.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKDistanceFormatter.MKDistanceFormatterPtr
-
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 MKDistanceFormatter()
protected
MKDistanceFormatter(NSObject.Handle h, long handle)
protected
MKDistanceFormatter(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
distanceFromString(java.lang.String distance)
NSLocale
getLocale()
MKDistanceFormatterUnits
getUnits()
MKDistanceFormatterUnitStyle
getUnitStyle()
void
setLocale(NSLocale v)
void
setUnits(MKDistanceFormatterUnits v)
void
setUnitStyle(MKDistanceFormatterUnitStyle v)
java.lang.String
stringFromDistance(double distance)
-
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
-
MKDistanceFormatter
public MKDistanceFormatter()
-
MKDistanceFormatter
protected MKDistanceFormatter(NSObject.Handle h, long handle)
-
MKDistanceFormatter
protected MKDistanceFormatter(NSObject.SkipInit skipInit)
-
-
Method Detail
-
getLocale
public NSLocale getLocale()
-
setLocale
public void setLocale(NSLocale v)
-
getUnits
public MKDistanceFormatterUnits getUnits()
-
setUnits
public void setUnits(MKDistanceFormatterUnits v)
-
getUnitStyle
public MKDistanceFormatterUnitStyle getUnitStyle()
-
setUnitStyle
public void setUnitStyle(MKDistanceFormatterUnitStyle v)
-
stringFromDistance
public java.lang.String stringFromDistance(double distance)
-
distanceFromString
public double distanceFromString(java.lang.String distance)
-
-