|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NSMenuDelegate
This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.
Nested Class Summary | |
---|---|
static interface |
NSMenuDelegate._static_
|
Method Summary | |
---|---|
boolean |
menu_updateItem_atIndex_shouldCancel(NSMenu menu,
NSMenuItem item,
int index,
boolean shouldCancel)
|
void |
menu_willHighlightItem(NSMenu menu,
NSMenuItem item)
Indicates that menu is about to highlight item. |
void |
menuDidClose(NSMenu menu)
|
boolean |
menuHasKeyEquivalent_forEvent_target_action(NSMenu menu,
NSEvent event,
org.rococoa.ID target,
org.rococoa.Selector action)
implement either the first one or the next two to populate the menu Original signature : -(BOOL)menuHasKeyEquivalent:(NSMenu*) forEvent:(NSEvent*) target:(id*) action:(SEL*) |
void |
menuNeedsUpdate(NSMenu menu)
|
void |
menuWillOpen(NSMenu menu)
indicates that the menu is being opened (displayed) or closed (hidden). |
int |
numberOfItemsInMenu(NSMenu menu)
|
Method Detail |
---|
void menuNeedsUpdate(NSMenu menu)
int numberOfItemsInMenu(NSMenu menu)
boolean menu_updateItem_atIndex_shouldCancel(NSMenu menu, NSMenuItem item, int index, boolean shouldCancel)
boolean menuHasKeyEquivalent_forEvent_target_action(NSMenu menu, NSEvent event, org.rococoa.ID target, org.rococoa.Selector action)
-(BOOL)menuHasKeyEquivalent:(NSMenu*) forEvent:(NSEvent*) target:(id*) action:(SEL*)
void menuWillOpen(NSMenu menu)
-(void)menuWillOpen:(NSMenu*)
void menuDidClose(NSMenu menu)
void menu_willHighlightItem(NSMenu menu, NSMenuItem item)
-(void)menu:(NSMenu*) willHighlightItem:(NSMenuItem*)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |