public class NSApplication extends NSObject
| Modifier and Type | Field and Description |
|---|---|
static int |
NSCriticalRequest |
static int |
NSInformationalRequest |
| Constructor and Description |
|---|
NSApplication(long l) |
NSApplication(com.sun.jna.Pointer p) |
| Modifier and Type | Method and Description |
|---|---|
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) |
finalize, release, retainclear, 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, writepublic static final int NSCriticalRequest
public static final int NSInformationalRequest
public NSApplication(long l)
public NSApplication(com.sun.jna.Pointer p)
public static NSApplication sharedApplication()
public boolean isRunning()
public boolean isActive()
public void run()
public long requestUserAttention(int type)
public NSDocTile dockTile()
public void setApplicationIconImage(NSImage image)
public void cancelUserAttentionRequest(long code)
public long runModalForWindow(NSWindow w)
public NSApplicationDelegate delegate()
public void setDelegate(NSApplicationDelegate d)
public void terminate(com.sun.jna.Pointer sender)
public NSMenu mainMenu()
Copyright © 2015. All rights reserved.