API  0.9.6
 All Classes Files Functions Variables Macros Modules 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) - setSelectedFont:isMultiple:
 
(void) - setTarget:
 
(id) - target
 
(CPFontTraitMask) - traitsOfFont:
 
(int) - weightOfFont:
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Class Methods

(void) + setFontManagerFactory:
 
(CPFontManager+ sharedFontManager
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + alloc
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(Class) + class
 
(void) + exposeBinding:
 
(void) + initialize
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isSubclassOfClass:
 
(CPSet+ keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Additional Inherited Members

- Instance Variables inherited from CPObject
Class isa
 

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 325 of file CPFontManager.j.

- (action) addFontTrait: (id)  sender
implementation

Definition at line 210 of file CPFontManager.j.

- (CPArray) availableFonts
implementation

Returns an array of the available fonts

Definition at line 96 of file CPFontManager.j.

- (CPFont) convertFont: (CPFont aFont
implementation

Definition at line 167 of file CPFontManager.j.

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

Definition at line 196 of file CPFontManager.j.

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

Definition at line 180 of file CPFontManager.j.

- (id) delegate
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 341 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 132 of file CPFontManager.j.

- (id) init
implementation

Initializes the receiver

Returns
the initialized receiver

Reimplemented from CPObject.

Definition at line 83 of file CPFontManager.j.

- (BOOL) isMultiple
implementation

Definition at line 150 of file CPFontManager.j.

- (CPFont) selectedFont
implementation

Definition at line 145 of file CPFontManager.j.

- (BOOL) sendAction
implementation

Definition at line 217 of file CPFontManager.j.

- (void) setAction: (SEL)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 333 of file CPFontManager.j.

- (void) setDelegate: (id)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 349 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 78 of file CPFontManager.j.

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

Definition at line 137 of file CPFontManager.j.

- (void) setTarget: (id)  aValue
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 317 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 65 of file CPFontManager.j.

- (id) target
implementation

Synthesized accessor method.

Provided by category CPFontManager(CPSynthesizedAccessors).

Definition at line 309 of file CPFontManager.j.

- (CPFontTraitMask) traitsOfFont: (CPFont aFont
implementation

Definition at line 162 of file CPFontManager.j.

- (int) weightOfFont: (CPFont aFont
implementation

Definition at line 155 of file CPFontManager.j.


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