public interface NSMenuItemProtocol extends NSCopyingProtocol, NSCodingProtocol, NSObjectProtocol, NSValidatedUserInterfaceItemProtocol
NSMenuItemProtocol
protocol.
See the protocol documentation at the Apple's site: NSMenuItemProtocolModifier and Type | Method and Description |
---|---|
Sel |
action() |
com.jniwrapper.Pointer.Void |
attributedTitle() |
com.jniwrapper.Bool |
hasSubmenu() |
com.jniwrapper.Pointer.Void |
image() |
com.jniwrapper.Int |
indentationLevel() |
Id |
initWithTitle_action_keyEquivalent(java.lang.String aString,
Sel aSelector,
java.lang.String charCode)
This method represents the
initWithTitle() method of the NSMenuItemProtocol Objective-C protocol. |
com.jniwrapper.Bool |
isAlternate() |
com.jniwrapper.Bool |
isEnabled() |
com.jniwrapper.Bool |
isSeparatorItem() |
com.jniwrapper.Pointer.Void |
keyEquivalent() |
com.jniwrapper.UInt |
keyEquivalentModifierMask() |
com.jniwrapper.Pointer.Void |
menu() |
com.jniwrapper.Pointer.Void |
mixedStateImage() |
com.jniwrapper.Pointer.Void |
mnemonic() |
com.jniwrapper.UInt16 |
mnemonicLocation() |
com.jniwrapper.Pointer.Void |
offStateImage() |
com.jniwrapper.Pointer.Void |
onStateImage() |
Id |
representedObject() |
void |
setAction(Sel aSelector) |
void |
setAlternate(boolean isAlternate) |
void |
setAttributedTitle(NSAttributedString string) |
void |
setEnabled(boolean flag) |
void |
setImage(NSImage menuImage) |
void |
setIndentationLevel(com.jniwrapper.Int indentationLevel) |
void |
setKeyEquivalent(java.lang.String aKeyEquivalent) |
void |
setKeyEquivalentModifierMask(com.jniwrapper.UInt mask) |
void |
setMenu(NSMenu menu) |
void |
setMixedStateImage(NSImage image) |
void |
setMnemonicLocation(com.jniwrapper.UInt16 location) |
void |
setOffStateImage(NSImage image) |
void |
setOnStateImage(NSImage image) |
void |
setRepresentedObject(Id anObject) |
void |
setState(com.jniwrapper.Int state) |
void |
setSubmenu(NSMenu submenu) |
void |
setTag(com.jniwrapper.Int anInt) |
void |
setTarget(Id anObject) |
void |
setTitle(java.lang.String aString) |
void |
setTitleWithMnemonic(java.lang.String stringWithAmpersand) |
void |
setToolTip(java.lang.String toolTip) |
com.jniwrapper.Int |
state() |
com.jniwrapper.Pointer.Void |
submenu() |
com.jniwrapper.Int |
tag() |
Id |
target() |
com.jniwrapper.Pointer.Void |
title() |
com.jniwrapper.Pointer.Void |
toolTip() |
com.jniwrapper.Pointer.Void |
userKeyEquivalent() |
com.jniwrapper.UInt |
userKeyEquivalentModifierMask() |
copyWithZone
encodeWithCoder, initWithCoder
_class, autorelease, conformsToProtocol, description, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, release, respondsToSelector, retain, retainCount, self, superclass, zone
Id initWithTitle_action_keyEquivalent(java.lang.String aString, Sel aSelector, java.lang.String charCode)
initWithTitle()
method of the NSMenuItemProtocol Objective-C protocol.aString
- aSelector
- charCode
- void setRepresentedObject(Id anObject)
void setTarget(Id anObject)
void setKeyEquivalentModifierMask(com.jniwrapper.UInt mask)
com.jniwrapper.Pointer.Void onStateImage()
com.jniwrapper.Pointer.Void menu()
void setTag(com.jniwrapper.Int anInt)
com.jniwrapper.Bool isSeparatorItem()
void setAlternate(boolean isAlternate)
com.jniwrapper.Bool isEnabled()
void setMnemonicLocation(com.jniwrapper.UInt16 location)
void setTitle(java.lang.String aString)
com.jniwrapper.Pointer.Void mixedStateImage()
void setToolTip(java.lang.String toolTip)
com.jniwrapper.Pointer.Void keyEquivalent()
com.jniwrapper.Int state()
void setEnabled(boolean flag)
void setMenu(NSMenu menu)
com.jniwrapper.Pointer.Void userKeyEquivalent()
com.jniwrapper.Pointer.Void title()
Id target()
com.jniwrapper.Pointer.Void offStateImage()
Id representedObject()
void setIndentationLevel(com.jniwrapper.Int indentationLevel)
void setAction(Sel aSelector)
void setOnStateImage(NSImage image)
com.jniwrapper.UInt16 mnemonicLocation()
void setState(com.jniwrapper.Int state)
void setMixedStateImage(NSImage image)
com.jniwrapper.Pointer.Void image()
void setSubmenu(NSMenu submenu)
void setOffStateImage(NSImage image)
com.jniwrapper.Pointer.Void attributedTitle()
com.jniwrapper.Pointer.Void toolTip()
com.jniwrapper.Bool hasSubmenu()
Sel action()
action
in interface NSValidatedUserInterfaceItemProtocol
com.jniwrapper.Int indentationLevel()
void setImage(NSImage menuImage)
com.jniwrapper.Pointer.Void mnemonic()
com.jniwrapper.Pointer.Void submenu()
com.jniwrapper.UInt keyEquivalentModifierMask()
void setKeyEquivalent(java.lang.String aKeyEquivalent)
void setAttributedTitle(NSAttributedString string)
com.jniwrapper.UInt userKeyEquivalentModifierMask()
com.jniwrapper.Bool isAlternate()
com.jniwrapper.Int tag()
tag
in interface NSValidatedUserInterfaceItemProtocol
void setTitleWithMnemonic(java.lang.String stringWithAmpersand)