Package org.robovm.apple.foundation
Class NSUnitEnergy
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.foundation.NSUnit
-
- org.robovm.apple.foundation.NSDimension
-
- org.robovm.apple.foundation.NSUnitEnergy
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class NSUnitEnergy extends NSDimension implements NSSecureCoding
- Since:
- Available in iOS 10.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NSUnitEnergy.NSUnitEnergyPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSDimension
NSDimension.NSDimensionPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSUnit
NSUnit.NSUnitPtr
-
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 protected
NSUnitEnergy()
NSUnitEnergy(java.lang.String symbol)
NSUnitEnergy(java.lang.String symbol, NSUnitConverter converter)
protected
NSUnitEnergy(NSObject.Handle h, long handle)
protected
NSUnitEnergy(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NSUnitEnergy
getCalories()
static NSUnitEnergy
getJoules()
static NSUnitEnergy
getKilocalories()
static NSUnitEnergy
getKilojoules()
static NSUnitEnergy
getKilowattHours()
-
Methods inherited from class org.robovm.apple.foundation.NSDimension
getBaseUnit, getConverter, init
-
Methods inherited from class org.robovm.apple.foundation.NSUnit
encode, getSymbol, init, init, supportsSecureCoding
-
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
-
NSUnitEnergy
protected NSUnitEnergy()
-
NSUnitEnergy
protected NSUnitEnergy(NSObject.Handle h, long handle)
-
NSUnitEnergy
protected NSUnitEnergy(NSObject.SkipInit skipInit)
-
NSUnitEnergy
public NSUnitEnergy(java.lang.String symbol, NSUnitConverter converter)
-
NSUnitEnergy
public NSUnitEnergy(java.lang.String symbol)
-
-
Method Detail
-
getKilojoules
public static NSUnitEnergy getKilojoules()
-
getJoules
public static NSUnitEnergy getJoules()
-
getKilocalories
public static NSUnitEnergy getKilocalories()
-
getCalories
public static NSUnitEnergy getCalories()
-
getKilowattHours
public static NSUnitEnergy getKilowattHours()
-
-