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

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

public class NSApplication
extends NSObject


Field Summary
static int NSCriticalRequest
           
static int NSInformationalRequest
           
 
Fields inherited from class com.sun.jna.Pointer
NULL, peer, SIZE
 
Constructor Summary
NSApplication(long l)
           
NSApplication(com.sun.jna.Pointer p)
           
 
Method Summary
 void cancelUserAttentionRequest(long code)
           
 NSApplicationDelegate delegate()
           
 NSDocTile dockTile()
           
 boolean isActive()
           
 boolean isRunning()
           
 NSMenu mainMenu()
           
 long requestUserAttention(int type)
           
 void run()
           
 long runModalForWindow(NSWindow w)
           
 void setApplicationIconImage(NSImage image)
           
 void setDelegate(NSApplicationDelegate d)
           
static NSApplication sharedApplication()
           
 void terminate(com.sun.jna.Pointer sender)
           
 
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
 

Field Detail

NSCriticalRequest

public static final int NSCriticalRequest
See Also:
Constant Field Values

NSInformationalRequest

public static final int NSInformationalRequest
See Also:
Constant Field Values
Constructor Detail

NSApplication

public NSApplication(long l)

NSApplication

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

sharedApplication

public static NSApplication sharedApplication()

isRunning

public boolean isRunning()

isActive

public boolean isActive()

run

public void run()

requestUserAttention

public long requestUserAttention(int type)

dockTile

public NSDocTile dockTile()

setApplicationIconImage

public void setApplicationIconImage(NSImage image)

cancelUserAttentionRequest

public void cancelUserAttentionRequest(long code)

runModalForWindow

public long runModalForWindow(NSWindow w)

delegate

public NSApplicationDelegate delegate()

setDelegate

public void setDelegate(NSApplicationDelegate d)

terminate

public void terminate(com.sun.jna.Pointer sender)

mainMenu

public NSMenu mainMenu()


Copyright © 2013. All Rights Reserved.