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()
           
NSApplication(com.sun.jna.Pointer p)
           
 
Method Summary
 void cancelUserAttentionRequest(long code)
           
 NSApplicationDelegate delegate()
           
 NSDocTile dockTile()
           
protected  void finalize()
           
 boolean isActive()
           
 boolean isRunning()
           
 long requestUserAttention(int type)
           
 void run()
           
 long runModalForWindow(NSWindow w)
           
 void setApplicationIconImage(NSImage image)
           
 void setDelegate(NSApplicationDelegate d)
           
 
Methods inherited from class com.github.axet.desktop.os.mac.cocoa.NSObject
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()

NSApplication

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

finalize

protected void finalize()
                 throws Throwable
Overrides:
finalize in class Object
Throws:
Throwable

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)


Copyright © 2012. All Rights Reserved.