API  0.9.10
CPFontPanel Class Reference

#import <CPFontPanel.h>

+ Inheritance diagram for CPFontPanel:

Instance Methods

(id) - browser:child:ofItem:
 
(BOOL) - browser:isLeafItem:
 
(id) - browser:numberOfChildrenOfItem:
 
(id) - browser:objectValueForItem:
 
(void) - browserClicked:
 
(void) - changeColor:
 
(CPString- currentFont
 
(CPString- currentSize
 
(unsigned) - currentTrait
 
(void) - dblClicked:
 
(id) - init
 
(void) - orderFront:
 
(CPFont- panelConvertFont:
 
(void) - reloadDefaultFontFamilies
 
(void) - setCurrentFont:
 
(void) - setCurrentSize:
 
(void) - setCurrentTrait:
 
(void) - setPanelFont:isMultiple:
 
(void) - textViewDidChangeSelection:
 
(BOOL) - worksWhenModal
 
- Instance Methods inherited from CPPanel
(BOOL) - becomesKeyOnlyIfNeeded
 
(BOOL) - canBecomeKeyWindow
 
(BOOL) - canBecomeMainWindow
 
(void) - cancel:
 
(void) - cancelOperation:
 
(BOOL) - isFloatingPanel
 
(void) - setBecomesKeyOnlyIfNeeded:
 
(void) - setFloatingPanel:
 
(void) - setWorksWhenModal:
 
- Instance Methods inherited from CPWindow
(BOOL) - acceptsFirstResponder
 
(BOOL) - acceptsMouseMovedEvents
 
(void) - addChildWindow:ordered:
 
(float) - alphaValue
 
(void) - animationDidEnd:
 
(CPTimeInterval) - animationResizeTime:
 
(CPWindow- attachedSheet
 
(BOOL) - autorecalculatesKeyViewLoop
 
(unsigned) - autoresizingMask
 
(void) - awakeFromCib
 
(CPColor- backgroundColor
 
(void) - becomeKeyWindow
 
(void) - becomeMainWindow
 
(void) - center
 
(CPArray) - childWindows
 
(void) - close
 
(BOOL) - containsPoint:
 
(CGRect) - contentRectForFrameRect:
 
(CPView- contentView
 
(CGPoint) - convertBaseToBridge:
 
(CGPoint) - convertBaseToGlobal:
 
(CGPoint) - convertBaseToPlatformWindow:
 
(CGPoint) - convertBaseToScreen:
 
(CGPoint) - convertBridgeToBase:
 
(CGPoint) - convertGlobalToBase:
 
(CGPoint) - convertPlatformWindowToBase:
 
(CGPoint) - convertScreenToBase:
 
(CPButton- defaultButton
 
(CPButton- defaultButtonCell
 
(id) - delegate
 
(void) - deminiaturize:
 
(void) - disableKeyEquivalentForDefaultButton
 
(void) - disableKeyEquivalentForDefaultButtonCell
 
(void) - doCommandBySelector:
 
(void) - dragImage:at:offset:event:pasteboard:source:slideBack:
 
(void) - dragView:at:offset:event:pasteboard:source:slideBack:
 
(void) - enableKeyEquivalentForDefaultButton
 
(void) - enableKeyEquivalentForDefaultButtonCell
 
(CPResponder- firstResponder
 
(CGRect) - frame
 
(CGRect) - frameRectForContentRect:
 
(BOOL) - hasShadow
 
(BOOL) - ignoresMouseEvents
 
(CPView- initialFirstResponder
 
(id) - initWithContentRect:styleMask:
 
(BOOL) - isDocumentEdited
 
(BOOL) - isDocumentSaving
 
(BOOL) - isFullBridge
 
(BOOL) - isFullPlatformWindow
 
(BOOL) - isKeyWindow
 
(BOOL) - isMainWindow
 
(void) - isMiniaturized
 
(void) - isMovable
 
(BOOL) - isMovableByWindowBackground
 
(BOOL) - isSheet
 
(BOOL) - isVisible
 
(void) - keyDown:
 
(int) - level
 
(BOOL) - makeFirstResponder:
 
(void) - makeKeyAndOrderFront:
 
(void) - makeKeyWindow
 
(void) - makeMainWindow
 
(CGSize) - maxSize
 
(void) - miniaturize:
 
(CGSize) - minSize
 
(void) - orderBack:
 
(void) - orderOut:
 
(void) - orderWindow:relativeTo:
 
(CPWindow- parentWindow
 
(void) - performClose:
 
(BOOL) - performKeyEquivalent:
 
(void) - performMiniaturize:
 
(CPPlatformWindow- platformWindow
 
(void) - recalculateKeyViewLoop
 
(void) - redo:
 
(CPArray) - registeredDraggedTypes
 
(void) - registerForDraggedTypes:
 
(void) - removeChildWindow:
 
(CPString- representedFilename
 
(CPURL- representedURL
 
(void) - resignKeyWindow
 
(void) - resignMainWindow
 
(CGSize) - resizeIndicatorOffset
 
(void) - resizeWithOldPlatformWindowSize:
 
(CPScreen- screen
 
(void) - selectKeyViewFollowingView:
 
(void) - selectKeyViewPrecedingView:
 
(void) - selectNextKeyView:
 
(void) - selectPreviousKeyView:
 
(void) - sendEvent:
 
(void) - setAcceptsMouseMovedEvents:
 
(void) - setAlphaValue:
 
(void) - setAutorecalculatesKeyViewLoop:
 
(void) - setAutoresizingMask:
 
(void) - setBackgroundColor:
 
(void) - setContentView:
 
(void) - setDefaultButton:
 
(void) - setDefaultButtonCell:
 
(void) - setDelegate:
 
(void) - setDocumentEdited:
 
(void) - setDocumentSaving:
 
(void) - setFrame:
 
(void) - setFrame:display:
 
(void) - setFrame:display:animate:
 
(void) - setFrameOrigin:
 
(void) - setFrameSize:
 
(void) - setFullBridge:
 
(void) - setFullPlatformWindow:
 
(void) - setHasShadow:
 
(void) - setIgnoresMouseEvents:
 
(void) - setInitialFirstResponder:
 
(void) - setLevel:
 
(void) - setMaxSize:
 
(void) - setMinSize:
 
(void) - setMovable:
 
(void) - setMovableByWindowBackground:
 
(CPWindow- setParentWindow:
 
(void) - setPlatformWindow:
 
(void) - setRepresentedFilename:
 
(void) - setRepresentedURL:
 
(void) - setResizeIndicatorOffset:
 
(void) - setShadowStyle:
 
(void) - setShowsResizeIndicator:
 
(void) - setTitle:
 
(void) - setTitleWithRepresentedFilename:
 
(void) - setToolbar:
 
(void) - setValue:forKey:
 
(void) - setWindowController:
 
(BOOL) - showsResizeIndicator
 
(unsigned) - styleMask
 
(CPString- title
 
(void) - toggleToolbarShown:
 
(CPToolbar- toolbar
 
(void) - undo:
 
(CPUndoManager- undoManager
 
(void) - unregisterDraggedTypes
 
(CPWindowController- windowController
 
(int) - windowNumber
 
- Instance Methods inherited from CPResponder
(BOOL) - becomeFirstResponder
 
(void) - cursorUpdate:
 
(void) - encodeWithCoder:
 
(void) - flagsChanged:
 
(id) - initWithCoder:
 
(void) - insertBackTab:
 
(void) - insertLineBreak:
 
(void) - insertNewline:
 
(void) - insertTab:
 
(void) - insertText:
 
(void) - interpretKeyEvents:
 
(void) - keyUp:
 
(CPMenu- menu
 
(void) - mouseDown:
 
(void) - mouseDragged:
 
(void) - mouseEntered:
 
(void) - mouseExited:
 
(void) - mouseMoved:
 
(void) - mouseUp:
 
(CPResponder- nextResponder
 
(void) - noResponderFor:
 
(BOOL) - resignFirstResponder
 
(void) - rightMouseDown:
 
(void) - rightMouseUp:
 
(void) - scrollWheel:
 
(void) - setMenu:
 
(void) - setNextResponder:
 
(BOOL) - tryToPerform:with:
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(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:
 
(void) - performSelector:withObject:afterDelay:
 
(void) - performSelector:withObject:afterDelay:inModes:
 
(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: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

(CPFontPanel+ sharedFontPanel
 
(BOOL) + sharedFontPanelExists
 
- Class Methods inherited from CPWindow
(BOOL) + constrainWindowsToUsableScreen
 
(CGRect) + frameRectForContentRect:styleMask:
 
(int) + globalResizeStyle
 
(void) + setConstrainWindowsToUsableScreen:
 
(void) + setGlobalResizeStyle:
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + alloc
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(void) + cancelPreviousPerformRequestsWithTarget:
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object:
 
(Class) + class
 
(BOOL) + conformsToProtocol:
 
(void) + exposeBinding:
 
(void) + initialize
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesImplementSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isBindingExclusive:
 
(BOOL) + isSubclassOfClass:
 
(CPSet) + keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + object:performSelector:withObject:afterDelay:inModes:
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Detailed Description

Definition at line 2 of file CPFontPanel.h.

Method Documentation

◆ browser:child:ofItem:()

- (id) browser: (id)  aBrowser
child: (int)  index
ofItem: (id)  anItem 
implementation

Definition at line 409 of file CPFontPanel.j.

◆ browser:isLeafItem:()

- (BOOL) browser: (id)  aBrowser
isLeafItem: (id)  anItem 
implementation

Definition at line 425 of file CPFontPanel.j.

◆ browser:numberOfChildrenOfItem:()

- (id) browser: (id)  aBrowser
numberOfChildrenOfItem: (id)  anItem 
implementation

Definition at line 398 of file CPFontPanel.j.

◆ browser:objectValueForItem:()

- (id) browser: (id)  aBrowser
objectValueForItem: (id)  anItem 
implementation

Definition at line 420 of file CPFontPanel.j.

◆ browserClicked:()

- (void) browserClicked: (id)  aBrowser
implementation

Definition at line 374 of file CPFontPanel.j.

◆ changeColor:()

- (void) changeColor: (id)  sender
implementation

Definition at line 365 of file CPFontPanel.j.

◆ currentFont()

- (CPString) currentFont
implementation

Definition at line 290 of file CPFontPanel.j.

◆ currentSize()

- (CPString) currentSize
implementation

Definition at line 280 of file CPFontPanel.j.

◆ currentTrait()

- (unsigned) currentTrait
implementation

Definition at line 318 of file CPFontPanel.j.

◆ dblClicked:()

- (void) dblClicked: (id)  sender
implementation

Definition at line 393 of file CPFontPanel.j.

◆ init()

- (id) init
implementation

Reimplemented from CPWindow.

Definition at line 105 of file CPFontPanel.j.

◆ orderFront:()

- (void) orderFront: (id)  aSender
implementation

Makes the receiver the front most window in the screen ordering.

Parameters
aSenderthe object that requested this

Reimplemented from CPWindow.

Definition at line 215 of file CPFontPanel.j.

◆ panelConvertFont:()

- (CPFont) panelConvertFont: (CPFont aFont
implementation
Parameters
aFontthe font to convert.
Returns
The converted font or aFont if failed to convert.

Definition at line 236 of file CPFontPanel.j.

◆ reloadDefaultFontFamilies()

- (void) reloadDefaultFontFamilies
implementation

Definition at line 222 of file CPFontPanel.j.

◆ setCurrentFont:()

- (void) setCurrentFont: (CPFont aFont
implementation

Definition at line 285 of file CPFontPanel.j.

◆ setCurrentSize:()

- (void) setCurrentSize: (CGSize)  aSize
implementation

Definition at line 275 of file CPFontPanel.j.

◆ setCurrentTrait:()

- (void) setCurrentTrait: (unsigned)  aTrait
implementation

Definition at line 295 of file CPFontPanel.j.

◆ setPanelFont:isMultiple:()

- (void) setPanelFont: (CPFont font
isMultiple: (BOOL)  flag 
implementation

Set the selected font in Font panel.

Parameters
fontthe selected font
flagif the current selection have multiple fonts.

Definition at line 339 of file CPFontPanel.j.

◆ sharedFontPanel()

+ (CPFontPanel) sharedFontPanel
implementation

Return the shared Font panel.

Definition at line 92 of file CPFontPanel.j.

◆ sharedFontPanelExists()

+ (BOOL) sharedFontPanelExists
implementation

Check if the shared Font panel exists.

Definition at line 84 of file CPFontPanel.j.

◆ textViewDidChangeSelection:()

- (void) textViewDidChangeSelection: (CPNotification notification
implementation

Definition at line 178 of file CPFontPanel.j.

◆ worksWhenModal()

- (BOOL) worksWhenModal
implementation

Returns YES if the receiver is able to receive input events even when a modal session is active.

Reimplemented from CPPanel.

Definition at line 227 of file CPFontPanel.j.


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