[Previous] [Up] [Next]

NSMenuItemCell

Authors

Richard Frith-Macdonald

Version: $Revision$

Date: $Date$

NSMenuItemCell

NSMenuItemCell

Declared in: Gui/NSMenuItemCell.h

Inherits from: NSButtonCell

Conforms to: NSCoding


Instance Variables

Methods


Instances Methods

calcSize

- (void) calcSize;

drawBorderAndBackgroundWithFrame:

- (void) drawBorderAndBackgroundWithFrame: (NSRect)cellFrame;

drawImageWithFrame:

- (void) drawImageWithFrame: (NSRect)cellFrame;

drawKeyEquivalentWithFrame:

- (void) drawKeyEquivalentWithFrame: (NSRect)cellFrame;

drawSeparatorItemWithFrame:

- (void) drawSeparatorItemWithFrame: (NSRect)cellFrame;

drawStateImageWithFrame:

- (void) drawStateImageWithFrame: (NSRect)cellFrame;

drawTitleWithFrame:

- (void) drawTitleWithFrame: (NSRect)cellFrame;

imageRectForBounds:

- (NSRect) imageRectForBounds: (NSRect)cellFrame;

imageWidth

- (float) imageWidth;

isHighlighted

- (BOOL) isHighlighted;

keyEquivalentRectForBounds:

- (NSRect) keyEquivalentRectForBounds: (NSRect)cellFrame;

keyEquivalentWidth

- (float) keyEquivalentWidth;

menuItem

- (NSMenuItem*) menuItem;

menuView

- (NSMenuView*) menuView;

needsDisplay

- (BOOL) needsDisplay;

needsSizing

- (BOOL) needsSizing;

setHighlighted:

- (void) setHighlighted: (BOOL)flag;

setMenuItem:

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

setMenuView:

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

setNeedsDisplay:

- (void) setNeedsDisplay: (BOOL)flag;

setNeedsSizing:

- (void) setNeedsSizing: (BOOL)flag;

stateImageRectForBounds:

- (NSRect) stateImageRectForBounds: (NSRect)cellFrame;

stateImageWidth

- (float) stateImageWidth;

titleRectForBounds:

- (NSRect) titleRectForBounds: (NSRect)cellFrame;

titleWidth

- (float) titleWidth;