API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPFontManager Class Reference

#import <CPFontManager.h>

+ Inheritance diagram for CPFontManager:

Instance Methods

(SEL) - action
 
(action- addFontTrait:
 
(CPArray) - availableFonts
 
(CPFont- convertFont:
 
(CPFont- convertFont:toFace:
 
(CPFont- convertFont:toHaveTrait:
 
(id) - delegate
 
(CPArray) - fontWithNameIsAvailable:
 
(id) - init
 
(BOOL) - isMultiple
 
(CPFont- selectedFont
 
(BOOL) - sendAction
 
(void) - setAction:
 
(void) - setDelegate:
 
(void) - setMultiple:
 
(void) - setSelectedFont:isMultiple:
 
(void) - setTarget:
 
(id) - target
 
(CPFontTraitMask) - traitsOfFont:
 
(int) - weightOfFont:
 

Class Methods

(void) + setFontManagerFactory:
 
(CPFontManager+ sharedFontManager
 

Detailed Description

Definition at line 2 of file CPFontManager.h.

Method Documentation

- (SEL) action
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 323 of file CPFontManager.j.

- (action) addFontTrait: (id)  sender
implementation

Definition at line 207 of file CPFontManager.j.

- (CPArray) availableFonts
implementation

Returns an array of the available fonts

Definition at line 98 of file CPFontManager.j.

- (CPFont) convertFont: (CPFont aFont
implementation

Definition at line 164 of file CPFontManager.j.

- (CPFont) convertFont: (CPFont aFont
toFace: (CPString aTypeface 
implementation

Definition at line 193 of file CPFontManager.j.

- (CPFont) convertFont: (CPFont aFont
toHaveTrait: (CPFontTraitMask)  addTraits 
implementation

Definition at line 177 of file CPFontManager.j.

- (id) delegate
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 339 of file CPFontManager.j.

- (CPArray) fontWithNameIsAvailable: (CPString aFontName
implementation

Returns the available fonts matching the provided name.

Parameters
aFontNamethe name of the font

Definition at line 134 of file CPFontManager.j.

- (id) init
implementation

Definition at line 85 of file CPFontManager.j.

- (BOOL) isMultiple
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 355 of file CPFontManager.j.

- (CPFont) selectedFont
implementation

Definition at line 147 of file CPFontManager.j.

- (BOOL) sendAction
implementation

Definition at line 215 of file CPFontManager.j.

- (void) setAction: (SEL)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 331 of file CPFontManager.j.

- (void) setDelegate: (id)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 347 of file CPFontManager.j.

+ (void) setFontManagerFactory: (Class)  aClass
implementation

Sets the class that will be used to create the application's font manager.

Definition at line 80 of file CPFontManager.j.

- (void) setMultiple: (BOOL)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 363 of file CPFontManager.j.

- (void) setSelectedFont: (CPFont aFont
isMultiple: (BOOL)  aFlag 
implementation

Definition at line 139 of file CPFontManager.j.

- (void) setTarget: (id)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 315 of file CPFontManager.j.

+ (CPFontManager) sharedFontManager
implementation

Returns the application's font manager. If the font manager does not exist yet, it will be created.

Definition at line 67 of file CPFontManager.j.

- (id) target
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 307 of file CPFontManager.j.

- (CPFontTraitMask) traitsOfFont: (CPFont aFont
implementation

Definition at line 159 of file CPFontManager.j.

- (int) weightOfFont: (CPFont aFont
implementation

Definition at line 152 of file CPFontManager.j.


The documentation for this class was generated from the following files: