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

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.NSMenu

public class NSMenu
extends NSObject


Field Summary
 
Fields inherited from class com.sun.jna.Pointer
NULL, peer, SIZE
 
Constructor Summary
NSMenu()
           
NSMenu(long l)
           
NSMenu(com.sun.jna.Pointer p)
           
 
Method Summary
 void addItem(NSMenuItem i)
           
 void insertItemAtIndex(NSMenuItem i, int in)
           
 NSMenuItem itemAtIndex(int i)
           
 void setAutoenablesItems(boolean b)
           
 
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

NSMenu

public NSMenu()

NSMenu

public NSMenu(long l)

NSMenu

public NSMenu(com.sun.jna.Pointer p)
Method Detail

addItem

public void addItem(NSMenuItem i)

insertItemAtIndex

public void insertItemAtIndex(NSMenuItem i,
                              int in)

setAutoenablesItems

public void setAutoenablesItems(boolean b)

itemAtIndex

public NSMenuItem itemAtIndex(int i)


Copyright © 2013. All Rights Reserved.