com.github.axet.desktop.os.mac.cocoa
Class NSMenuItem

java.lang.Object
  extended by com.sun.jna.Pointer
      extended by com.github.axet.desktop.os.mac.cocoa.NSObject
          extended by com.github.axet.desktop.os.mac.cocoa.NSMenuItem

public class NSMenuItem
extends NSObject


Field Summary
 
Fields inherited from class com.sun.jna.Pointer
NULL, peer, SIZE
 
Constructor Summary
NSMenuItem()
           
NSMenuItem(long l)
           
NSMenuItem(com.sun.jna.Pointer p)
           
 
Method Summary
static NSMenuItem initWithTitleActionKeyEquivalent(NSString name, com.sun.jna.Pointer sel, NSString code)
           
static NSMenuItem separatorItem()
           
 void setAction(com.sun.jna.Pointer p)
           
 void setEnabled(boolean i)
           
 void setImage(NSImage i)
           
 void setState(int i)
           
 void setSubmenu(NSMenu i)
           
 void setTarget(NSObject o)
           
 void setTitle(NSString i)
           
 NSMenu submenu()
           
 long tag()
           
 NSString title()
           
 
Methods inherited from class com.github.axet.desktop.os.mac.cocoa.NSObject
finalize, release, retain
 
Methods inherited from class com.sun.jna.Pointer
clear, createConstant, createConstant, equals, getByte, getByteArray, getByteBuffer, getChar, getCharArray, getDouble, getDoubleArray, getFloat, getFloatArray, getInt, getIntArray, getLong, getLongArray, getNativeLong, getPointer, getPointerArray, getPointerArray, getShort, getShortArray, getString, getString, getStringArray, getStringArray, getStringArray, getStringArray, hashCode, indexOf, nativeValue, nativeValue, read, read, read, read, read, read, read, read, setByte, setChar, setDouble, setFloat, setInt, setLong, setMemory, setNativeLong, setPointer, setShort, setString, setString, share, share, toString, write, write, write, write, write, write, write, write
 
Methods inherited from class java.lang.Object
clone, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NSMenuItem

public NSMenuItem()

NSMenuItem

public NSMenuItem(com.sun.jna.Pointer p)

NSMenuItem

public NSMenuItem(long l)
Method Detail

separatorItem

public static NSMenuItem separatorItem()

initWithTitleActionKeyEquivalent

public static NSMenuItem initWithTitleActionKeyEquivalent(NSString name,
                                                          com.sun.jna.Pointer sel,
                                                          NSString code)

setTitle

public void setTitle(NSString i)

setImage

public void setImage(NSImage i)

setEnabled

public void setEnabled(boolean i)

setSubmenu

public void setSubmenu(NSMenu i)

setState

public void setState(int i)

setTarget

public void setTarget(NSObject o)

setAction

public void setAction(com.sun.jna.Pointer p)

submenu

public NSMenu submenu()

tag

public long tag()

title

public NSString title()


Copyright © 2013. All Rights Reserved.