Package org.eclipse.swt.internal.cocoa
Class NSNumber
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSValue
org.eclipse.swt.internal.cocoa.NSNumber
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
double
float
long
int
intValue()
static NSNumber
numberWithBool
(boolean value) static NSNumber
numberWithDouble
(double value) static NSNumber
numberWithInt
(int value) static NSNumber
numberWithInteger
(long value) static NSValue
valueWithPoint
(NSPoint point) static NSValue
valueWithRange
(NSRange range) static NSValue
valueWithRect
(NSRect rect) static NSValue
valueWithSize
(NSSize size) Methods inherited from class org.eclipse.swt.internal.cocoa.NSValue
objCType, pointValue, rangeValue, rectValue, sizeValue
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, 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, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSNumber
public NSNumber() -
NSNumber
public NSNumber(long id) -
NSNumber
-
-
Method Details
-
boolValue
public boolean boolValue() -
doubleValue
public double doubleValue() -
floatValue
public float floatValue() -
intValue
public int intValue() -
integerValue
public long integerValue() -
numberWithBool
-
numberWithDouble
-
numberWithInt
-
numberWithInteger
-
valueWithPoint
-
valueWithRange
-
valueWithRect
-
valueWithSize
-