Package org.eclipse.swt.internal.cocoa
Class NSFont
- java.lang.Object
-
- org.eclipse.swt.internal.cocoa.id
-
- org.eclipse.swt.internal.cocoa.NSObject
-
- org.eclipse.swt.internal.cocoa.NSFont
-
public class NSFont extends NSObject
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description double
ascender()
static NSFont
boldSystemFontOfSize(double fontSize)
double
descender()
NSString
displayName()
NSString
familyName()
NSString
fontName()
static NSFont
fontWithName(NSString fontName, double fontSize)
double
leading()
static NSFont
menuBarFontOfSize(double fontSize)
double
pointSize()
static double
smallSystemFontSize()
static NSFont
systemFontOfSize(double fontSize)
static double
systemFontSize()
static double
systemFontSizeForControlSize(long controlSize)
-
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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSFont
public NSFont()
-
NSFont
public NSFont(long id)
-
NSFont
public NSFont(id id)
-
-
Method Detail
-
ascender
public double ascender()
-
boldSystemFontOfSize
public static NSFont boldSystemFontOfSize(double fontSize)
-
descender
public double descender()
-
displayName
public NSString displayName()
-
familyName
public NSString familyName()
-
fontName
public NSString fontName()
-
leading
public double leading()
-
menuBarFontOfSize
public static NSFont menuBarFontOfSize(double fontSize)
-
pointSize
public double pointSize()
-
smallSystemFontSize
public static double smallSystemFontSize()
-
systemFontOfSize
public static NSFont systemFontOfSize(double fontSize)
-
systemFontSize
public static double systemFontSize()
-
systemFontSizeForControlSize
public static double systemFontSizeForControlSize(long controlSize)
-
-