com.github.axet.desktop.os.mac
Class ApplicationDelegate

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.NSApplicationDelegate
              extended by com.github.axet.desktop.os.mac.ApplicationDelegate

public class ApplicationDelegate
extends NSApplicationDelegate


Nested Class Summary
static interface ApplicationDelegate.Action
           
static interface ApplicationDelegate.ApplicationOpenFile
           
static interface ApplicationDelegate.ApplicationShouldTerminate
           
static interface ApplicationDelegate.AppReOpenedListener
           
static interface ApplicationDelegate.OpenFileHandler
           
static interface ApplicationDelegate.OpenURIHandler
           
static interface ApplicationDelegate.QuitHandler
           
 
Field Summary
 
Fields inherited from class com.sun.jna.Pointer
NULL, peer, SIZE
 
Constructor Summary
ApplicationDelegate()
           
ApplicationDelegate(com.sun.jna.Pointer p)
           
 
Method Summary
 void addOpenFileListener(ApplicationDelegate.OpenFileHandler e)
           
 void addQuitHandlerListener(ApplicationDelegate.QuitHandler q)
           
protected  void finalize()
           
 void removeOpenFileListener(ApplicationDelegate.OpenFileHandler e)
           
 void removeQuitHandlerListener(ApplicationDelegate.QuitHandler q)
           
 
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
 

Constructor Detail

ApplicationDelegate

public ApplicationDelegate()

ApplicationDelegate

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

addOpenFileListener

public void addOpenFileListener(ApplicationDelegate.OpenFileHandler e)

removeOpenFileListener

public void removeOpenFileListener(ApplicationDelegate.OpenFileHandler e)

addQuitHandlerListener

public void addQuitHandlerListener(ApplicationDelegate.QuitHandler q)

removeQuitHandlerListener

public void removeQuitHandlerListener(ApplicationDelegate.QuitHandler q)

finalize

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


Copyright © 2012. All Rights Reserved.