Up

NSMenuItemCell

Authors

Michael Hanni (mhanni@sprintmail.com)

Copyright: (C) 1999 Free Software Foundation, Inc.

Software documentation for the NSMenuItemCell class

NSMenuItemCell : NSButtonCell

Declared in:
AppKit/NSMenuItemCell.h
Conforms to:
NSCopying
NSCoding
Standards:

Description forthcoming.



Instance Variables for NSMenuItemCell Class

_imageSize

@private NSSize _imageSize;

Description forthcoming.


_imageToDisplay

@private NSImage* _imageToDisplay;

Description forthcoming.


_imageWidth

@private float _imageWidth;

Description forthcoming.


_keyEquivalentWidth

@private float _keyEquivalentWidth;

Description forthcoming.


_mcell_belongs_to_popupbutton

@private BOOL _mcell_belongs_to_popupbutton;

Description forthcoming.


_menuItem

@private NSMenuItem* _menuItem;

Description forthcoming.


_menuItemHeight

@private float _menuItemHeight;

Description forthcoming.


_menuView

@private NSMenuView* _menuView;

Description forthcoming.


_needs_sizing

@private BOOL _needs_sizing;

Description forthcoming.


_stateImageWidth

@private float _stateImageWidth;

Description forthcoming.


_titleToDisplay

@private NSString* _titleToDisplay;

Description forthcoming.


_titleWidth

@private float _titleWidth;

Description forthcoming.





Method summary

calcSize 

- (void) calcSize;

Description forthcoming.


drawBorderAndBackgroundWithFrame: inView: 

- (void) drawBorderAndBackgroundWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


drawImageWithFrame: inView: 

- (void) drawImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


drawKeyEquivalentWithFrame: inView: 

- (void) drawKeyEquivalentWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


drawSeparatorItemWithFrame: inView: 

- (void) drawSeparatorItemWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


drawStateImageWithFrame: inView: 

- (void) drawStateImageWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


drawTitleWithFrame: inView: 

- (void) drawTitleWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;

Description forthcoming.


imageRectForBounds: 

- (NSRect) imageRectForBounds: (NSRect)cellFrame;

Description forthcoming.


imageWidth 

- (float) imageWidth;

Description forthcoming.


isHighlighted 

- (BOOL) isHighlighted;

Description forthcoming.


keyEquivalentRectForBounds: 

- (NSRect) keyEquivalentRectForBounds: (NSRect)cellFrame;

Description forthcoming.


keyEquivalentWidth 

- (float) keyEquivalentWidth;

Description forthcoming.


menuItem 

- (NSMenuItem*) menuItem;

Description forthcoming.


menuView 

- (NSMenuView*) menuView;

Description forthcoming.


needsSizing 

- (BOOL) needsSizing;

Description forthcoming.


setHighlighted: 

- (void) setHighlighted: (BOOL)flag;

Description forthcoming.


setMenuItem: 

- (void) setMenuItem: (NSMenuItem*)item;

Description forthcoming.


setMenuView: 

- (void) setMenuView: (NSMenuView*)menuView;

Description forthcoming.


setNeedsSizing: 

- (void) setNeedsSizing: (BOOL)flag;

Description forthcoming.


stateImageRectForBounds: 

- (NSRect) stateImageRectForBounds: (NSRect)cellFrame;

Description forthcoming.


stateImageWidth 

- (float) stateImageWidth;

Description forthcoming.


titleRectForBounds: 

- (NSRect) titleRectForBounds: (NSRect)cellFrame;

Description forthcoming.


titleWidth 

- (float) titleWidth;

Description forthcoming.



Up