This is GKAppDelegate.rtf in view mode; [Download] [Up]
Release 1.0 Copyright ©1994 by BITart, Regensburg. All Rights Reserved. Author: Gerd Knops.
GKAppDelegate
Inherits From: Object
Declared In: GKAppDelegate.h
Class Description
This is the applications delegate. It can forward most methods to an unlimited number of 'subdelegates'. To register, call the {
b1 addDelegate:} method. For a more detailed description of the delegate methods, look at the description of 'Application'. Do not subclass! You reach the sole instance of this class with [NXApp delegate].
Instance Variables
id {
b1 delegateList};
pardtx6140tx9660tx10180fs16fi-4040li6140fc0cf0
delegateList The list of the delegates
Method Types
fs16
factory methods - init
Adding delegates - addDelegate:
- removeDelegate:
Application delegate methods, not forwarded to the delegates
- appWillInit:
Application delegate methods, used and forwarded to the delegates
- appDidInit:
- appWillTerminate:
- app:powerOffIn:andSave:
Application delegate methods, only forwarded to the delegates
- app:applicationWillLaunch:
- app:applicationDidLaunch:
- app:applicationDidTerminate:
- app:fileOperationCompleted:
- app:mounted:
- app:unmounting:
- app:unmounted:
- appDidBecomeActive:
- appDidResignActive:
- appDidHide:
- appDidUnhide:
- appWillUpdate:
- appDidUpdate:
- applicationDefined:
- app:willShowHelpPanel:
- app:openFile:type:
- appAcceptsAnotherFile:
- app:openTempFile:type:
- app:openFileWithoutUI:type:
Internal methods - menuItemUpdate:
pardtx9660tx10180fi-520li6640fc0cf0
li1360fc0cf0
Instance Methods
init
- init
The designated initializer for GKAppDelegate.h.
fi-380li2480fc0cf0
addDelegate:
- addDelegate:sender
Adds a delegate to the Application. There can be any number of delegates. returns {
b1 self}.
bfs28 See also: Methods implemented by the delegate
fi-380li2480fc0cf0
removeDelegate:
- removeDelegate:sender
Removes a delagte. Returns {
b1 self}.
fi-380li2480fc0cf0
appWillInit:
- appWillInit:sender
Installs a GKListener instance as appListener. Returns {
b1 self};
bli2100fc0cf0
Methods implemented by the delegate
pardtx2480tx2860tx3240b0fs28li2100fc0cf0
fi-380li2480fc0cf0
appDidInit:
- appDidInit:sender
See the documentation for Application.
fi-380li2480fc0cf0
appWillTerminate:
- appWillTerminate:sender
See the documentation for Application.
fi-380li2480fc0cf0
app:powerOffIn:andSave:
- app:sender
powerOffIn:(int)ms
andSave:(int)aFlag
See the documentation for Application.
fi-380li2480fc0cf0
app:applicationWillLaunch:
- app:sender
applicationWillLaunch:(const char *)appName
See the documentation for Application.
fi-380li2480fc0cf0
app:applicationDidLaunch:
- app:sender
applicationDidLaunch:(const char *)appName
See the documentation for Application.
fi-380li2480fc0cf0
app:applicationDidTerminate:
- app:sender
applicationDidTerminate:(const char *)appName
See the documentation for Application.
fi-380li2480fc0cf0
app:fileOperationCompleted:
- app:sender
fileOperationCompleted:(int)operation
See the documentation for Application.
fi-380li2480fc0cf0
app:mounted:
- app:sender mounted:(const char *)fullPath
See the documentation for Application.
fi-380li2480fc0cf0
app:unmounting:
- (int)app:sender unmounting:(const char *)fullPath
See the documentation for Application.
fi-380li2480fc0cf0
app:unmounted:
- app:sender unmounted:(const char *)fullPath
See the documentation for Application.
fi-380li2480fc0cf0
appDidBecomeActive:
- appDidBecomeActive:sender
See the documentation for Application.
fi-380li2480fc0cf0
appDidResignActive:
- appDidResignActive:sender
See the documentation for Application.
fi-380li2480fc0cf0
appDidHide:
- appDidHide:sender
See the documentation for Application.
fi-380li2480fc0cf0
appDidUnhide:
- appDidUnhide:sender
See the documentation for Application.
fi-380li2480fc0cf0
appWillUpdate:
- appWillUpdate:sender
See the documentation for Application.
fi-380li2480fc0cf0
appDidUpdate:
- appDidUpdate:sender
See the documentation for Application.
fi-380li2480fc0cf0
applicationDefined:
- applicationDefined:(NXEvent *)theEvent
See the documentation for Application.
fi-380li2480fc0cf0
app:willShowHelpPanel:
- app:sender willShowHelpPanel:panel
See the documentation for Application.
fi-380li2480fc0cf0
app:openFile:type:
- (int)app:sender
openFile:(const char *)filename
type:(const char *)aType
See the documentation for Application.
fi-380li2480fc0cf0
appAcceptsAnotherFile:
- (BOOL)appAcceptsAnotherFile:sender
See the documentation for Application.
fi-380li2480fc0cf0
app:openTempFile:type:
- (int)app:sender
openTempFile:(const char *)filename
type:(const char *)aType
See the documentation for Application.
fi-380li2480fc0cf0
app:openFileWithoutUI:type:
- (NXDataLinkManager *)app:sender
openFileWithoutUI:(const char *)filename
type:(const char *)type
See the documentation for Application.
fi-380li2480fc0cf0
menuItemUpdate:
- (BOOL)menuItemUpdate:menuCell
Method called by all menu items which send their actions to the First Responder. First, if the object which would respond were the action sent down the responder chain also responds to the message validateCommand:, then it is sent validateCommand: to determine whether that command is valid now, otherwise, if there is a responder to the message, then it is assumed that the item is valid. The method returns YES if the cell has changed its appearance (so that the caller (a Menu) knows to redraw it).
fi-380li2480fc0cf0
Generated by DocMaker on Wed May 4 00:50:59 1994
}These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.