|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.macosx.cocoa.Id
com.jniwrapper.macosx.cocoa.CObject
com.jniwrapper.macosx.cocoa.nsobject.NSObject
com.jniwrapper.macosx.cocoa.nsfont.NSFont
This class represents NSFont
class.
See the class documentation at the Apple's site: NSFont
Field Summary |
Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
NSFont()
|
|
NSFont(boolean autorelease)
Contructs the NSFont class with the autorelease option on. |
|
NSFont(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSFont class from pointer. |
|
NSFont(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSFont class with static constructor. |
Method Summary | |
NSSize |
advancementForGlyph(NSGlyph ag)
|
com.jniwrapper.Pointer.Void |
afmDictionary()
|
com.jniwrapper.SingleFloat |
ascender()
|
NSRect |
boundingRectForFont()
|
NSRect |
boundingRectForGlyph(NSGlyph aGlyph)
|
com.jniwrapper.SingleFloat |
capHeight()
|
Id |
copyWithZone(NSZone zone)
|
com.jniwrapper.Pointer.Void |
coveredCharacterSet()
|
com.jniwrapper.SingleFloat |
defaultLineHeightForFont()
|
com.jniwrapper.SingleFloat |
descender()
|
com.jniwrapper.Pointer.Void |
displayName()
|
void |
encodeWithCoder(NSCoder aCoder)
|
com.jniwrapper.Pointer.Void |
encodingScheme()
|
com.jniwrapper.Pointer.Void |
familyName()
|
com.jniwrapper.Pointer.Void |
fontDescriptor()
|
com.jniwrapper.Pointer.Void |
fontName()
|
com.jniwrapper.Bool |
glyphIsEncoded(NSGlyph aGlyph)
|
NSMultibyteGlyphPacking |
glyphPacking()
|
NSGlyph |
glyphWithName(java.lang.String aName)
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
Id |
initWithCoder(NSCoder aDecoder)
|
com.jniwrapper.Bool |
isBaseFont()
|
com.jniwrapper.Bool |
isFixedPitch()
|
com.jniwrapper.SingleFloat |
italicAngle()
|
com.jniwrapper.Pointer.Void |
matrix()
|
NSSize |
maximumAdvancement()
|
NSStringEncoding |
mostCompatibleStringEncoding()
|
com.jniwrapper.UInt16 |
numberOfGlyphs()
|
com.jniwrapper.SingleFloat |
pointSize()
|
NSPoint |
positionOfGlyph_forCharacter_struckOverRect(NSGlyph aGlyph,
unichar aChar,
NSRect aRect)
This method represents the positionOfGlyph() method of the NSFont Objective-C class. |
NSPoint |
positionOfGlyph_precededByGlyph_isNominal(NSGlyph curGlyph,
NSGlyph prevGlyph,
boolean nominal)
This method represents the positionOfGlyph() method of the NSFont Objective-C class. |
NSPoint |
positionOfGlyph_struckOverGlyph_metricsExist(NSGlyph curGlyph,
NSGlyph prevGlyph,
boolean exist)
This method represents the positionOfGlyph() method of the NSFont Objective-C class. |
NSPoint |
positionOfGlyph_struckOverRect_metricsExist(NSGlyph aGlyph,
NSRect aRect,
boolean exist)
This method represents the positionOfGlyph() method of the NSFont Objective-C class. |
NSPoint |
positionOfGlyph_withRelation_toBaseGlyph_totalAdvancement_metricsExist(NSGlyph thisGlyph,
NSGlyphRelation rel,
NSGlyph baseGlyph,
NSSizePointer adv,
boolean exist)
This method represents the positionOfGlyph() method of the NSFont Objective-C class. |
com.jniwrapper.Int |
positionsForCompositeSequence_numberOfGlyphs_pointArray(NSGlyph someGlyphs,
com.jniwrapper.Int numGlyphs,
NSPointArray points)
This method represents the positionsForCompositeSequence() method of the NSFont Objective-C class. |
com.jniwrapper.Pointer.Void |
printerFont()
|
com.jniwrapper.Pointer.Void |
screenFont()
|
void |
set()
|
static com.jniwrapper.Pointer.Void |
static_boldSystemFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_controlContentFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_fontWithName_matrix(java.lang.String fontName,
com.jniwrapper.SingleFloat fontMatrix)
This method represents the fontWithName() method of the NSFont Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_fontWithName_size(java.lang.String fontName,
com.jniwrapper.SingleFloat fontSize)
This method represents the fontWithName() method of the NSFont Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_labelFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.SingleFloat |
static_labelFontSize()
|
static com.jniwrapper.Pointer.Void |
static_menuBarFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_menuFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_messageFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_paletteFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_preferredFontNames()
|
static void |
static_setPreferredFontNames(NSArray fontNameArray)
|
static void |
static_setUserFixedPitchFont(NSFont aFont)
|
static void |
static_setUserFont(NSFont aFont)
|
static com.jniwrapper.SingleFloat |
static_smallSystemFontSize()
|
static com.jniwrapper.Pointer.Void |
static_systemFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.SingleFloat |
static_systemFontSize()
|
static com.jniwrapper.SingleFloat |
static_systemFontSizeForControlSize(NSControlSize controlSize)
|
static com.jniwrapper.Pointer.Void |
static_titleBarFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_toolTipsFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static void |
static_useFont(java.lang.String fontName)
|
static com.jniwrapper.Pointer.Void |
static_userFixedPitchFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
static com.jniwrapper.Pointer.Void |
static_userFontOfSize(com.jniwrapper.SingleFloat fontSize)
|
com.jniwrapper.SingleFloat |
underlinePosition()
|
com.jniwrapper.SingleFloat |
underlineThickness()
|
com.jniwrapper.SingleFloat |
widthOfString(java.lang.String string)
|
com.jniwrapper.SingleFloat |
xHeight()
|
Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NSFont()
public NSFont(boolean autorelease)
NSFont
class with the autorelease option on.
autorelease
- public NSFont(com.jniwrapper.Pointer.Void instancePtr)
NSFont
class from pointer.
instancePtr
- public NSFont(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSFont
class with static constructor.
methodName
- parameters
- Method Detail |
protected void init(com.jniwrapper.Parameter[] fields)
init
in class NSObject
public NSPoint positionOfGlyph_struckOverGlyph_metricsExist(NSGlyph curGlyph, NSGlyph prevGlyph, boolean exist)
positionOfGlyph()
method of the NSFont Objective-C class.
curGlyph
- prevGlyph
- exist
-
public NSPoint positionOfGlyph_forCharacter_struckOverRect(NSGlyph aGlyph, unichar aChar, NSRect aRect)
positionOfGlyph()
method of the NSFont Objective-C class.
aGlyph
- aChar
- aRect
-
public static com.jniwrapper.SingleFloat static_systemFontSize()
public static com.jniwrapper.Pointer.Void static_preferredFontNames()
public static com.jniwrapper.Pointer.Void static_menuBarFontOfSize(com.jniwrapper.SingleFloat fontSize)
public com.jniwrapper.UInt16 numberOfGlyphs()
public com.jniwrapper.SingleFloat pointSize()
public com.jniwrapper.SingleFloat italicAngle()
public com.jniwrapper.SingleFloat widthOfString(java.lang.String string)
public void encodeWithCoder(NSCoder aCoder)
encodeWithCoder
in interface NSCodingProtocol
public static com.jniwrapper.Pointer.Void static_titleBarFontOfSize(com.jniwrapper.SingleFloat fontSize)
public Id copyWithZone(NSZone zone)
copyWithZone
in interface NSCopyingProtocol
public static void static_setUserFixedPitchFont(NSFont aFont)
public static com.jniwrapper.Pointer.Void static_userFixedPitchFontOfSize(com.jniwrapper.SingleFloat fontSize)
public com.jniwrapper.Bool isBaseFont()
public NSPoint positionOfGlyph_struckOverRect_metricsExist(NSGlyph aGlyph, NSRect aRect, boolean exist)
positionOfGlyph()
method of the NSFont Objective-C class.
aGlyph
- aRect
- exist
-
public com.jniwrapper.Pointer.Void fontName()
public static com.jniwrapper.Pointer.Void static_userFontOfSize(com.jniwrapper.SingleFloat fontSize)
public static void static_useFont(java.lang.String fontName)
public com.jniwrapper.Bool glyphIsEncoded(NSGlyph aGlyph)
public static com.jniwrapper.Pointer.Void static_systemFontOfSize(com.jniwrapper.SingleFloat fontSize)
public static com.jniwrapper.Pointer.Void static_fontWithName_matrix(java.lang.String fontName, com.jniwrapper.SingleFloat fontMatrix)
fontWithName()
method of the NSFont Objective-C class.
fontName
- fontMatrix
-
public static com.jniwrapper.Pointer.Void static_labelFontOfSize(com.jniwrapper.SingleFloat fontSize)
public com.jniwrapper.SingleFloat underlineThickness()
public com.jniwrapper.Pointer.Void screenFont()
public com.jniwrapper.SingleFloat xHeight()
public com.jniwrapper.Pointer.Void encodingScheme()
public com.jniwrapper.Pointer.Void fontDescriptor()
public NSSize maximumAdvancement()
public com.jniwrapper.Pointer.Void printerFont()
public static com.jniwrapper.SingleFloat static_labelFontSize()
public com.jniwrapper.Pointer.Void displayName()
public static com.jniwrapper.Pointer.Void static_boldSystemFontOfSize(com.jniwrapper.SingleFloat fontSize)
public static com.jniwrapper.Pointer.Void static_toolTipsFontOfSize(com.jniwrapper.SingleFloat fontSize)
public NSRect boundingRectForGlyph(NSGlyph aGlyph)
public static com.jniwrapper.Pointer.Void static_paletteFontOfSize(com.jniwrapper.SingleFloat fontSize)
public static com.jniwrapper.Pointer.Void static_messageFontOfSize(com.jniwrapper.SingleFloat fontSize)
public NSGlyph glyphWithName(java.lang.String aName)
public com.jniwrapper.Pointer.Void coveredCharacterSet()
public static com.jniwrapper.Pointer.Void static_menuFontOfSize(com.jniwrapper.SingleFloat fontSize)
public Id initWithCoder(NSCoder aDecoder)
initWithCoder
in interface NSCodingProtocol
public com.jniwrapper.SingleFloat descender()
public NSStringEncoding mostCompatibleStringEncoding()
public NSPoint positionOfGlyph_precededByGlyph_isNominal(NSGlyph curGlyph, NSGlyph prevGlyph, boolean nominal)
positionOfGlyph()
method of the NSFont Objective-C class.
curGlyph
- prevGlyph
- nominal
-
public NSMultibyteGlyphPacking glyphPacking()
public static void static_setPreferredFontNames(NSArray fontNameArray)
public com.jniwrapper.SingleFloat capHeight()
public com.jniwrapper.Int positionsForCompositeSequence_numberOfGlyphs_pointArray(NSGlyph someGlyphs, com.jniwrapper.Int numGlyphs, NSPointArray points)
positionsForCompositeSequence()
method of the NSFont Objective-C class.
someGlyphs
- numGlyphs
- points
-
public static com.jniwrapper.SingleFloat static_systemFontSizeForControlSize(NSControlSize controlSize)
public static com.jniwrapper.Pointer.Void static_controlContentFontOfSize(com.jniwrapper.SingleFloat fontSize)
public static com.jniwrapper.Pointer.Void static_fontWithName_size(java.lang.String fontName, com.jniwrapper.SingleFloat fontSize)
fontWithName()
method of the NSFont Objective-C class.
fontName
- fontSize
-
public com.jniwrapper.Pointer.Void afmDictionary()
public com.jniwrapper.Bool isFixedPitch()
public com.jniwrapper.SingleFloat ascender()
public static void static_setUserFont(NSFont aFont)
public NSPoint positionOfGlyph_withRelation_toBaseGlyph_totalAdvancement_metricsExist(NSGlyph thisGlyph, NSGlyphRelation rel, NSGlyph baseGlyph, NSSizePointer adv, boolean exist)
positionOfGlyph()
method of the NSFont Objective-C class.
thisGlyph
- rel
- baseGlyph
- adv
- exist
-
public com.jniwrapper.Pointer.Void matrix()
public com.jniwrapper.SingleFloat underlinePosition()
public NSSize advancementForGlyph(NSGlyph ag)
public void set()
public com.jniwrapper.SingleFloat defaultLineHeightForFont()
public NSRect boundingRectForFont()
public static com.jniwrapper.SingleFloat static_smallSystemFontSize()
public com.jniwrapper.Pointer.Void familyName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |