Copyright ©1995 by NeXT Computer, Inc.  All Rights Reserved.


8



Interface Builder




Classes





IBInspector


Inherits From: Object
Conforms To: IBInspectors


Accessing Objects

object Returns the object that's being inspected
window Returns the window that contains the user interface for the inspector


Managing Changes

touch:sender Changes the image in the Inspector panel's close box to a broken "X"
textDidChange:sender Sends the IBInspector a touch: message




IBPalette


Inherits From: Object


Associating Views and Objects

associateObject:anObject Establishes an association between aView and the object
type:(NXAtom)type that should be instantiated when the user drags the
with:aView aView from the palette.


Initializing the Palette

finishInstantiate Implement to complete the initialization of your IBPalette object


Accessing Related Objects

paletteDocument Returns an object representing the dynamically loaded palette
originalWindow Returns the Window that contains the objects to be loaded into Palette window
findImageNamed:(const char *)name Returns the NXImage instance associated with name




Object Additions

Interface Builder declares these methods as additions to the Object class.


Identifying Inspectors, Editors, and Images

(const char *)getConnectionInspectorClassName
Implement to return class name of Connection inspector
(const char *)getEditorInspectorClassName Implement to return class name of the object's editor
(const char *)getHelpInspectorClassName Implement to return class name of the Help inspector
(NXImage *)getIBImage Implement to return an image to represent the object in the File window.
(const char *)getInspectorClassName Implement to return class name of the Attributes inspector
(const char *)getSizeInspectorClassName Implement to return class name of the Size inspector




View Additions

Interface Builder declares these methods as additions to the Application Kit's View class.


Controlling Size

getMinSize:(NXSize *)minSize Implement this method to control the dimensions of a View
maxSize:(NXSize *)maxSize
from:(int)where
placeView:(NXRect *)frameRect Notifies a View of a change in its frame size