[Previous]
[Up]
[Next]
NSPopUpButtonCell
Authors
- Richard Frith-Macdonald
-
Version: $Revision$
Date: $Date$
Declared in: Gui/NSPopUpButtonCell.h
Inherits from: NSMenuItemCell
Conforms to: NSCoding
Instance Variables
Methods
Instances Methods
- (void) addItemWithTitle: (NSString*)title;
- (void) addItemsWithTitles: (NSArray*)itemTitles;
- (BOOL) altersStateOfSelectedItem;
- (NSPopUpArrowPosition) arrowPosition;
- (void) attachPopUpWithFrame: (NSRect)cellFrame;
- (BOOL) autoenablesItems;
- (void) dismissPopUp;
- (int) indexOfItem: (id<NSMenuItem>)item;
- (int) indexOfItemWithRepresentedObject: (id)obj;
- (int) indexOfItemWithTag: (int)tag;
- (int) indexOfItemWithTarget: (id)target andAction: (SEL)actionSelector;
- (int) indexOfItemWithTitle: (NSString*)title;
- (int) indexOfSelectedItem;
- (id) initTextCell: (NSString*)stringValue;
- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
- (NSArray*) itemArray;
- (id<NSMenuItem>) itemAtIndex: (int)index;
- (NSString*) itemTitleAtIndex: (int)index;
- (NSArray*) itemTitles;
- (id<NSMenuItem>) itemWithTitle: (NSString*)title;
- (id<NSMenuItem>) lastItem;
- (NSMenu*) menu;
- (int) numberOfItems;
- (void) performClick: (id)sender;
- (void) performClickWithFrame: (NSRect)frame inView: (NSView*)controlView;
- (NSRectEdge) preferredEdge;
- (BOOL) pullsDown;
- (void) removeAllItems;
- (void) removeItemAtIndex: (int)index;
- (void) removeItemWithTitle: (NSString*)title;
- (id<NSMenuItem>) selectedItem;
- (void) selectItem: (id<NSMenuItem>)item;
- (void) selectItemAtIndex: (int)index;
- (void) selectItemWithTitle: (NSString*)title;
- (void) setAltersStateOfSelectedItem: (BOOL)flag;
- (void) setArrowPosition: (NSPopUpArrowPosition)position;
- (void) setAutoenablesItems: (BOOL)flag;
- (void) setMenu: (NSMenu*)menu;
- (void) setPreferredEdge: (NSRectEdge)edge;
- (void) setPullsDown: (BOOL)flag;
- (void) setTitle: (NSString*)aString;
- (void) setUsesItemFromMenu: (BOOL)flag;
- (void) synchronizeTitleAndSelectedItem;
- (NSString*) titleOfSelectedItem;
- (BOOL) usesItemFromMenu;