Copyright ©1995 by NeXT Computer, Inc. All Rights Reserved.
Protocols
IB |
Adopted By: | Interface Builder's subclass of the Application class |
Accessing the Document |
![]() |
Returns the active document |
Accessing the Selection Owner |
![]() |
Returns the editor of the currently selected object |
Managing Connections |
![]() |
Returns the object that's the source of the connection | |
![]() |
Returns the object that's the destination of the connection | |
![]() |
Returns YES if connection lines are being displayed | |
![]() |
Removes any connection lines from the screen | |
![]() |
Causes Interface Builder to draw connection lines between | |
![]() |
![]() |
Querying the Mode |
![]() |
Returns YES if Interface Builder is in Test mode |
Registering Controllers |
![]() |
Adds aController to the list of objects to be notified when documents are opened or saved | |
![]() |
Removes aController from the list of document controllers |
IBConnectors |
Adopted By: | Connector objects |
Connector Methods |
![]() |
Implement to return the object that's the destination of the connection | |
![]() |
Implement to connect the source and destination objects | |
![]() |
Implement to release the storage for the connector object | |
![]() |
Implement to verify the identities of the connector's source and destination objects | |
![]() |
Implement to unarchive the connector object from stream | |
![]() |
Implement to update a connector by replacing its old | |
![]() |
![]() | |
![]() |
Implement to return the object that's the source of the connection | |
![]() |
Implement to archive the connector object to stream |
IBDocuments |
Adopted By: | Interface Builder's document objects |
Managing the Document |
![]() |
Marks the document as edited | |
![]() |
Places the document's path in buffer |
Managing the Object Hierarchy |
![]() |
Adds anObject to the hierarchy by attaching it to parent | |
![]() |
||
![]() |
Adds the objects in objectList to the hierarchy by attaching | |
![]() |
![]() | |
![]() |
Removes anObject from the object hierarchy | |
![]() |
Removes objects in objectList from the object hierarchy | |
![]() |
Copies anObject to the specified pasteboard | |
![]() |
||
![]() |
||
![]() |
Copies the objects in objectList to the specified pasteboard | |
![]() |
||
![]() |
||
![]() |
Alerts the document object that objects were pasted | |
![]() |
||
![]() |
||
![]() |
Returns YES if anObject is a part of the object hierarchy | |
![]() |
Places the objects from the object hierarchy into objectList | |
![]() |
Returns the object above anObject in the object hierarchy |
Setting Object Names |
![]() |
Sets the name associated with the anObject | |
![]() |
||
![]() |
Places the name associated with anObject in the buffer | |
![]() |
![]() |
Managing Connectors |
![]() |
Adds a connector object to Interface Builder's list | |
![]() |
Removes aConnector from the list of connectors | |
![]() |
Places in aList connector objects whose sources | |
![]() |
![]() | |
![]() |
Places in aList connector objects whose destinations | |
![]() |
![]() | |
![]() |
Places in aList the connector objects of class | |
![]() |
![]() | |
![]() |
||
![]() |
Places in aList the connector objects of class | |
![]() |
![]() | |
![]() |
Managing Editors |
![]() |
Registers anEditor as the editor that owns the selection | |
![]() |
Informs the document object that anEditor is no longer | |
![]() |
![]() | |
![]() |
Returns the editor object for anObject | |
![]() |
||
![]() |
Opens the editor object for anObject |
Updating the Display |
![]() |
Redraws the selected object by opening required editors |
IBDocumentControllers |
Adopted By: | Document controller objects |
Notification Methods |
![]() |
Notifies the controller that theDocument has been opened | |
![]() |
Notifies the controller that theDocument has been saved | |
![]() |
Notifies the controller that the user is attempting to save theDocument |
IBEditors |
Adopted By: | Editor objects in Interface Builder |
Initializing |
![]() |
Implement to initialize a newly allocated editor | |
![]() |
Identifying Objects |
![]() |
Implement this method to return the active document | |
![]() |
Implement to return the object that's being edited | |
![]() |
Implement to return the editor window |
Displaying Objects |
![]() |
Implement to redraw anObject |
Managing the Selection |
![]() |
Implement to return YES if the editor is willing to become the selection owner | |
![]() |
Implement to draw the objects in objectList as selected | |
![]() |
Implement to make the current selection visible |
Copying and Pasting Objects |
![]() |
Implement to copy the selected object(s) to the pasteboard | |
![]() |
Implement to delete the selected object(s) | |
![]() |
Implement to paste object(s) from pasteboard into selection |
![]() |
Implement to return the pasteboard type your editor accepts |
Opening and Closing Editors |
![]() |
Implement to close the editor and free its resources | |
![]() |
Implement to open the subeditor for anObject | |
![]() |
Implement to close all subeditors |
Activating the Editor |
![]() |
Implement to bring the editor's window to the front | |
![]() |
Implement to activate the editor |
IBInspectors |
Adopted By: | IBInspector |
Required Inspector Methods |
![]() |
Implement in subclass to commit changes made in the Inspector panel | |
![]() |
Implement in subclass to load data into inspector's display | |
![]() |
Returns whether the inspector requires Interface Builder to display OK and Revert buttons in the Inspector panel |
IBObject (informal protocol) |
Adopted By: | Custom palette objects |
Identifying Inspectors, Editors, and Images |
![]() |
Returns the class name of the receiver's connection inspector | |
![]() |
Returns the class name of the receiver's editor | |
![]() |
Returns the class name of the receiver's help inspector | |
![]() |
Returns the image that's displayed in the File window when an instance of this class is created | |
![]() |
Returns the class name of the receiver's attributes inspector | |
![]() |
Returns the class name of the receiver's size inspector |
IBSelectionOwners |
Adopted By: | Editor objects |
Selection Methods |
![]() |
Implement to place the selected objects into objectList | |
![]() |
Implement to redraw the objects in the selection | |
![]() |
Implement to return the number of objects in the editor's selection |