NSPopUpButtonCell
Authors
- Michael Hanni(
mhanni@sprintmail.com
)
-
Copyright: (C) 1999 Free Software Foundation, Inc.
Software documentation for the NSPopUpButtonCell class
Declared: AppKit/NSPopUpButtonCell.h
addItemWithTitle:
- (void) addItemWithTitle: (NSString*)title;
addItemsWithTitles:
- (void) addItemsWithTitles: (NSArray*)itemTitles;
altersStateOfSelectedItem
- (BOOL) altersStateOfSelectedItem;
arrowPosition
- (NSPopUpArrowPosition) arrowPosition;
attachPopUpWithFrame:inView:
- (void) attachPopUpWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
autoenablesItems
- (BOOL) autoenablesItems;
dismissPopUp
- (void) dismissPopUp;
indexOfItem:
- (int) indexOfItem: (id)item;
indexOfItemWithRepresentedObject:
- (int) indexOfItemWithRepresentedObject: (id)obj;
indexOfItemWithTag:
- (int) indexOfItemWithTag: (int)aTag;
indexOfItemWithTarget:andAction:
- (int) indexOfItemWithTarget: (id)aTarget andAction: (SEL)actionSelector;
indexOfItemWithTitle:
- (int) indexOfItemWithTitle: (NSString*)title;
indexOfSelectedItem
- (int) indexOfSelectedItem;
initTextCell:pullsDown:
- (id) initTextCell: (NSString*)stringValue pullsDown: (BOOL)pullDown;
insertItemWithTitle:atIndex:
- (void) insertItemWithTitle: (NSString*)title atIndex: (int)index;
itemArray
- (NSArray*) itemArray;
itemAtIndex:
- (id) itemAtIndex: (int)index;
itemTitleAtIndex:
- (NSString*) itemTitleAtIndex: (int)index;
itemTitles
- (NSArray*) itemTitles;
itemWithTitle:
- (id) itemWithTitle: (NSString*)title;
lastItem
- (id) lastItem;
menu
- (NSMenu*) menu;
numberOfItems
- (int) numberOfItems;
performClickWithFrame:inView:
- (void) performClickWithFrame: (NSRect)frame inView: (NSView*)controlView;
preferredEdge
- (NSRectEdge) preferredEdge;
pullsDown
- (BOOL) pullsDown;
removeAllItems
- (void) removeAllItems;
removeItemAtIndex:
- (void) removeItemAtIndex: (int)index;
removeItemWithTitle:
- (void) removeItemWithTitle: (NSString*)title;
selectItem:
- (void) selectItem: (id)item;
selectItemAtIndex:
- (void) selectItemAtIndex: (int)index;
selectItemWithTitle:
- (void) selectItemWithTitle: (NSString*)title;
selectedItem
- (id) selectedItem;
setAltersStateOfSelectedItem:
- (void) setAltersStateOfSelectedItem: (BOOL)flag;
setArrowPosition:
- (void) setArrowPosition: (NSPopUpArrowPosition)position;
setAutoenablesItems:
- (void) setAutoenablesItems: (BOOL)flag;
setMenu:
- (void) setMenu: (NSMenu*)menu;
setPreferredEdge:
- (void) setPreferredEdge: (NSRectEdge)edge;
setPullsDown:
- (void) setPullsDown: (BOOL)flag;
setTitle:
- (void) setTitle: (NSString*)aString;
setUsesItemFromMenu:
- (void) setUsesItemFromMenu: (BOOL)flag;
synchronizeTitleAndSelectedItem
- (void) synchronizeTitleAndSelectedItem;
titleOfSelectedItem
- (NSString*) titleOfSelectedItem;
usesItemFromMenu
- (BOOL) usesItemFromMenu;