|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jniwrapper.Parameter
com.jniwrapper.Pointer.Void
com.jniwrapper.macosx.cocoa.Id
com.jniwrapper.macosx.cocoa.CObject
com.jniwrapper.macosx.cocoa.nsobject.NSObject
com.jniwrapper.macosx.cocoa.nsresponder.NSResponder
com.jniwrapper.macosx.cocoa.nsapplication.NSApplication
This class represents NSApplication
class.
See the class documentation at the Apple's site: NSApplication
Field Summary |
Fields inherited from class com.jniwrapper.macosx.cocoa.CObject |
_fields |
Fields inherited from class com.jniwrapper.Parameter |
LICENSE_TYPE, V |
Constructor Summary | |
NSApplication()
|
|
NSApplication(boolean autorelease)
Contructs the NSApplication class with the autorelease option on. |
|
NSApplication(com.jniwrapper.Pointer.Void instancePtr)
Contructs the NSApplication class from pointer. |
|
NSApplication(java.lang.String methodName,
com.jniwrapper.Parameter[] parameters)
Contructs the NSApplication class with static constructor. |
Method Summary | |
void |
abortModal()
|
void |
activateContextHelpMode(Id sender)
|
void |
activateIgnoringOtherApps(boolean flag)
|
void |
addWindowsItem_title_filename(NSWindow win,
java.lang.String aString,
boolean isFilename)
This method represents the addWindowsItem() method of the NSApplication Objective-C class. |
com.jniwrapper.Pointer.Void |
applicationIconImage()
|
void |
arrangeInFront(Id sender)
|
NSModalSession |
beginModalSessionForWindow_relativeToWindow(NSWindow theWindow,
NSWindow docWindow)
This method represents the beginModalSessionForWindow() method of the NSApplication Objective-C class. |
NSModalSession |
beginModalSessionForWindow(NSWindow theWindow)
|
void |
beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo(NSWindow sheet,
NSWindow docWindow,
Id modalDelegate,
Sel didEndSelector,
com.jniwrapper.Pointer.Void contextInfo)
This method represents the beginSheet() method of the NSApplication Objective-C class. |
void |
cancelUserAttentionRequest(com.jniwrapper.Int request)
|
void |
changeWindowsItem_title_filename(NSWindow win,
java.lang.String aString,
boolean isFilename)
This method represents the changeWindowsItem() method of the NSApplication Objective-C class. |
com.jniwrapper.Pointer.Void |
context()
|
com.jniwrapper.Pointer.Void |
currentEvent()
|
void |
deactivate()
|
Id |
delegate()
|
void |
discardEventsMatchingMask_beforeEvent(com.jniwrapper.UInt mask,
NSEvent lastEvent)
This method represents the discardEventsMatchingMask() method of the NSApplication Objective-C class. |
void |
endModalSession(NSModalSession session)
|
void |
endSheet_returnCode(NSWindow sheet,
com.jniwrapper.Int returnCode)
This method represents the endSheet() method of the NSApplication Objective-C class. |
void |
endSheet(NSWindow sheet)
|
void |
finishLaunching()
|
void |
hide(Id sender)
|
void |
hideOtherApplications(Id sender)
|
protected void |
init(com.jniwrapper.Parameter[] fields)
|
com.jniwrapper.Bool |
isActive()
|
com.jniwrapper.Bool |
isHidden()
|
com.jniwrapper.Bool |
isRunning()
|
com.jniwrapper.Pointer.Void |
keyWindow()
|
com.jniwrapper.Pointer.Void |
mainMenu()
|
com.jniwrapper.Pointer.Void |
mainWindow()
|
com.jniwrapper.Pointer.Void |
makeWindowsPerform_inOrder(Sel aSelector,
boolean flag)
This method represents the makeWindowsPerform() method of the NSApplication Objective-C class. |
void |
miniaturizeAll(Id sender)
|
com.jniwrapper.Pointer.Void |
modalWindow()
|
com.jniwrapper.Pointer.Void |
nextEventMatchingMask_untilDate_inMode_dequeue(com.jniwrapper.UInt mask,
NSDate expiration,
java.lang.String mode,
boolean deqFlag)
This method represents the nextEventMatchingMask() method of the NSApplication Objective-C class. |
com.jniwrapper.Pointer.Void |
orderedDocuments()
|
com.jniwrapper.Pointer.Void |
orderedWindows()
|
void |
orderFrontCharacterPalette(Id sender)
|
void |
orderFrontColorPanel(Id sender)
|
void |
orderFrontStandardAboutPanel(Id sender)
|
void |
orderFrontStandardAboutPanelWithOptions(NSDictionary optionsDictionary)
|
void |
postEvent_atStart(NSEvent event,
boolean flag)
This method represents the postEvent() method of the NSApplication Objective-C class. |
void |
preventWindowOrdering()
|
void |
registerServicesMenuSendTypes_returnTypes(NSArray sendTypes,
NSArray returnTypes)
This method represents the registerServicesMenuSendTypes() method of the NSApplication Objective-C class. |
void |
removeWindowsItem(NSWindow win)
|
void |
replyToApplicationShouldTerminate(boolean shouldTerminate)
|
void |
replyToOpenOrPrint(NSApplicationDelegateReply reply)
|
void |
reportException(NSException theException)
|
com.jniwrapper.Int |
requestUserAttention(NSRequestUserAttentionType requestType)
|
void |
run()
|
com.jniwrapper.Int |
runModalForWindow_relativeToWindow(NSWindow theWindow,
NSWindow docWindow)
This method represents the runModalForWindow() method of the NSApplication Objective-C class. |
com.jniwrapper.Int |
runModalForWindow(NSWindow theWindow)
|
com.jniwrapper.Int |
runModalSession(NSModalSession session)
|
void |
runPageLayout(Id sender)
|
com.jniwrapper.Bool |
sendAction_to_from(Sel theAction,
Id theTarget,
Id sender)
This method represents the sendAction() method of the NSApplication Objective-C class. |
void |
sendEvent(NSEvent theEvent)
|
com.jniwrapper.Pointer.Void |
servicesMenu()
|
Id |
servicesProvider()
|
void |
setAppleMenu(NSMenu menu)
|
void |
setApplicationIconImage(NSImage image)
|
void |
setDelegate(Id anObject)
|
void |
setMainMenu(NSMenu aMenu)
|
void |
setServicesMenu(NSMenu aMenu)
|
void |
setServicesProvider(Id provider)
|
void |
setWindowsMenu(NSMenu aMenu)
|
void |
setWindowsNeedUpdate(boolean needUpdate)
|
void |
showHelp(Id sender)
|
static void |
static_detachDrawingThread_toTarget_withObject(Sel selector,
Id target,
Id argument)
This method represents the detachDrawingThread() method of the NSApplication Objective-C class. |
static com.jniwrapper.Pointer.Void |
static_sharedApplication()
|
void |
stop(Id sender)
|
void |
stopModal()
|
void |
stopModalWithCode(com.jniwrapper.Int returnCode)
|
Id |
targetForAction_to_from(Sel theAction,
Id theTarget,
Id sender)
This method represents the targetForAction() method of the NSApplication Objective-C class. |
Id |
targetForAction(Sel theAction)
|
void |
terminate(Id sender)
|
com.jniwrapper.Bool |
tryToPerform_with(Sel anAction,
Id anObject)
This method represents the tryToPerform() method of the NSApplication Objective-C class. |
void |
unhide(Id sender)
|
void |
unhideAllApplications(Id sender)
|
void |
unhideWithoutActivation()
|
void |
updateWindows()
|
void |
updateWindowsItem(NSWindow win)
|
Id |
validRequestorForSendType_returnType(java.lang.String sendType,
java.lang.String returnType)
This method represents the validRequestorForSendType() method of the NSApplication Objective-C class. |
com.jniwrapper.Pointer.Void |
windows()
|
com.jniwrapper.Pointer.Void |
windowsMenu()
|
com.jniwrapper.Pointer.Void |
windowWithWindowNumber(com.jniwrapper.Int windowNum)
|
Methods inherited from class com.jniwrapper.macosx.cocoa.CObject |
getClassName |
Methods inherited from class com.jniwrapper.macosx.cocoa.Id |
clone |
Methods inherited from class com.jniwrapper.Pointer.Void |
asFunction, asFunction, asTypedPointer, castTo, castTo, equals, getDebugInfo, getLength, getValue, hashCode, isNull, read, setValue, toString, write |
Methods inherited from class com.jniwrapper.Parameter |
|
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NSApplication()
public NSApplication(boolean autorelease)
NSApplication
class with the autorelease option on.
autorelease
- public NSApplication(com.jniwrapper.Pointer.Void instancePtr)
NSApplication
class from pointer.
instancePtr
- public NSApplication(java.lang.String methodName, com.jniwrapper.Parameter[] parameters)
NSApplication
class with static constructor.
methodName
- parameters
- Method Detail |
protected void init(com.jniwrapper.Parameter[] fields)
init
in class NSResponder
public void showHelp(Id sender)
public void endSheet_returnCode(NSWindow sheet, com.jniwrapper.Int returnCode)
endSheet()
method of the NSApplication Objective-C class.
sheet
- returnCode
- public Id validRequestorForSendType_returnType(java.lang.String sendType, java.lang.String returnType)
validRequestorForSendType()
method of the NSApplication Objective-C class.
validRequestorForSendType_returnType
in class NSResponder
sendType
- returnType
-
public NSModalSession beginModalSessionForWindow(NSWindow theWindow)
public void abortModal()
public static void static_detachDrawingThread_toTarget_withObject(Sel selector, Id target, Id argument)
detachDrawingThread()
method of the NSApplication Objective-C class.
selector
- target
- argument
- public void arrangeInFront(Id sender)
public com.jniwrapper.Pointer.Void makeWindowsPerform_inOrder(Sel aSelector, boolean flag)
makeWindowsPerform()
method of the NSApplication Objective-C class.
aSelector
- flag
-
public com.jniwrapper.Bool isActive()
public void endSheet(NSWindow sheet)
public void activateContextHelpMode(Id sender)
public com.jniwrapper.Pointer.Void windowWithWindowNumber(com.jniwrapper.Int windowNum)
public Id targetForAction(Sel theAction)
public void replyToOpenOrPrint(NSApplicationDelegateReply reply)
public void setWindowsMenu(NSMenu aMenu)
public void removeWindowsItem(NSWindow win)
public com.jniwrapper.Int requestUserAttention(NSRequestUserAttentionType requestType)
public com.jniwrapper.Int runModalSession(NSModalSession session)
public void activateIgnoringOtherApps(boolean flag)
public void orderFrontStandardAboutPanelWithOptions(NSDictionary optionsDictionary)
public void orderFrontColorPanel(Id sender)
public com.jniwrapper.Pointer.Void nextEventMatchingMask_untilDate_inMode_dequeue(com.jniwrapper.UInt mask, NSDate expiration, java.lang.String mode, boolean deqFlag)
nextEventMatchingMask()
method of the NSApplication Objective-C class.
mask
- expiration
- mode
- deqFlag
-
public void changeWindowsItem_title_filename(NSWindow win, java.lang.String aString, boolean isFilename)
changeWindowsItem()
method of the NSApplication Objective-C class.
win
- aString
- isFilename
- public void unhide(Id sender)
public void hide(Id sender)
public void setApplicationIconImage(NSImage image)
public com.jniwrapper.Pointer.Void mainWindow()
public void beginSheet_modalForWindow_modalDelegate_didEndSelector_contextInfo(NSWindow sheet, NSWindow docWindow, Id modalDelegate, Sel didEndSelector, com.jniwrapper.Pointer.Void contextInfo)
beginSheet()
method of the NSApplication Objective-C class.
sheet
- docWindow
- modalDelegate
- didEndSelector
- contextInfo
- public void setAppleMenu(NSMenu menu)
public void setMainMenu(NSMenu aMenu)
public com.jniwrapper.Int runModalForWindow(NSWindow theWindow)
public com.jniwrapper.Pointer.Void currentEvent()
public void orderFrontCharacterPalette(Id sender)
public void postEvent_atStart(NSEvent event, boolean flag)
postEvent()
method of the NSApplication Objective-C class.
event
- flag
- public void deactivate()
public void setServicesProvider(Id provider)
public void unhideAllApplications(Id sender)
public Id servicesProvider()
public com.jniwrapper.Pointer.Void mainMenu()
public void setWindowsNeedUpdate(boolean needUpdate)
public com.jniwrapper.Pointer.Void windowsMenu()
public void terminate(Id sender)
public void hideOtherApplications(Id sender)
public com.jniwrapper.Pointer.Void applicationIconImage()
public void updateWindows()
public com.jniwrapper.Bool isRunning()
public void runPageLayout(Id sender)
public void setDelegate(Id anObject)
public void unhideWithoutActivation()
public void miniaturizeAll(Id sender)
public static com.jniwrapper.Pointer.Void static_sharedApplication()
public com.jniwrapper.Int runModalForWindow_relativeToWindow(NSWindow theWindow, NSWindow docWindow)
runModalForWindow()
method of the NSApplication Objective-C class.
theWindow
- docWindow
-
public void endModalSession(NSModalSession session)
public void finishLaunching()
public com.jniwrapper.Pointer.Void keyWindow()
public com.jniwrapper.Pointer.Void context()
public void setServicesMenu(NSMenu aMenu)
public void preventWindowOrdering()
public void stopModal()
public void discardEventsMatchingMask_beforeEvent(com.jniwrapper.UInt mask, NSEvent lastEvent)
discardEventsMatchingMask()
method of the NSApplication Objective-C class.
mask
- lastEvent
- public void orderFrontStandardAboutPanel(Id sender)
public com.jniwrapper.Pointer.Void windows()
public com.jniwrapper.Pointer.Void orderedDocuments()
public void updateWindowsItem(NSWindow win)
public void sendEvent(NSEvent theEvent)
public com.jniwrapper.Bool sendAction_to_from(Sel theAction, Id theTarget, Id sender)
sendAction()
method of the NSApplication Objective-C class.
theAction
- theTarget
- sender
-
public Id targetForAction_to_from(Sel theAction, Id theTarget, Id sender)
targetForAction()
method of the NSApplication Objective-C class.
theAction
- theTarget
- sender
-
public void replyToApplicationShouldTerminate(boolean shouldTerminate)
public void stop(Id sender)
public void reportException(NSException theException)
public Id delegate()
public void registerServicesMenuSendTypes_returnTypes(NSArray sendTypes, NSArray returnTypes)
registerServicesMenuSendTypes()
method of the NSApplication Objective-C class.
sendTypes
- returnTypes
- public NSModalSession beginModalSessionForWindow_relativeToWindow(NSWindow theWindow, NSWindow docWindow)
beginModalSessionForWindow()
method of the NSApplication Objective-C class.
theWindow
- docWindow
-
public com.jniwrapper.Bool isHidden()
public com.jniwrapper.Bool tryToPerform_with(Sel anAction, Id anObject)
tryToPerform()
method of the NSApplication Objective-C class.
tryToPerform_with
in class NSResponder
anAction
- anObject
-
public void run()
public void addWindowsItem_title_filename(NSWindow win, java.lang.String aString, boolean isFilename)
addWindowsItem()
method of the NSApplication Objective-C class.
win
- aString
- isFilename
- public com.jniwrapper.Pointer.Void orderedWindows()
public void stopModalWithCode(com.jniwrapper.Int returnCode)
public void cancelUserAttentionRequest(com.jniwrapper.Int request)
public com.jniwrapper.Pointer.Void modalWindow()
public com.jniwrapper.Pointer.Void servicesMenu()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |