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
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
ascender()
static NSFont
boldSystemFontOfSize
(double fontSize) static NSFont
controlContentFontOfSize
(double fontSize) double
fontName()
static NSFont
fontWithName
(NSString fontName, double fontSize) double
leading()
static NSFont
menuBarFontOfSize
(double fontSize) static NSFont
menuFontOfSize
(double fontSize) double
static double
static NSFont
systemFontOfSize
(double fontSize) static double
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, 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
-
NSFont
public NSFont() -
NSFont
public NSFont(long id) -
NSFont
-
-
Method Details
-
ascender
public double ascender() -
boldSystemFontOfSize
-
controlContentFontOfSize
-
descender
public double descender() -
displayName
-
familyName
-
fontName
-
fontWithName
-
leading
public double leading() -
pointSize
public double pointSize() -
smallSystemFontSize
public static double smallSystemFontSize() -
systemFontOfSize
-
systemFontSize
public static double systemFontSize() -
systemFontSizeForControlSize
public static double systemFontSizeForControlSize(long controlSize)
-