Authors
- Generated by buildd
-
- Declared in:
- InterfaceBuilder/IBDocuments.h
- Conforms to:
- NSObject
Description forthcoming.
Method summary
- (NSArray*)
actionsOfClass: (NSString*)className;
Description forthcoming.
- (void)
addConnector: (id<
IBConnectors>)aConnector;
Add a connection
- (NSArray*)
allConnectors;
Returns an array containing all connections for the
receiver.
- (void)
attachObject: (id)anObject
toParent: (id)aParent;
Attaches an object to the document and makes the
association with the parent.
- (void)
attachObjects: (NSArray*)anArray
toParent: (id)aParent;
Iterates over anArray and attaches all
objects in it to the receiver with
aParent as the parent.
- (NSString*)
classForObject: (id)obj;
Returns a string with the name of the class for the
given object.
- (NSArray*)
connectorsForDestination: (id)destination;
Returns an autoreleased array containing all
connections for the given
destination.
- (NSArray*)
connectorsForDestination: (id)destination
ofClass: (Class)aConnectorClass;
Returns an autoreleased array containing all
connectors of the given class for the
destination.
- (NSArray*)
connectorsForSource: (id)source;
Returns an autoreleased array containing all
connections for the given source.
- (NSArray*)
connectorsForSource: (id)source
ofClass: (Class)aConnectorClass;
Returns an autoreleased array containing all
connectors of the given class for the
source.
- (BOOL)
containsObject: (id)anObject;
Returns YES
, if the receiver contains
anObject.
- (BOOL)
containsObjectWithName: (NSString*)aName
forParent: (id)parent;
Returns YES
, if the receiver contains
an object with the given name and parent.
- (BOOL)
copyObject: (id)anObject
type: (NSString*)aType
toPasteboard: (NSPasteboard*)aPasteboard;
Copies anObject to the pasteboard with
the aType.
- (BOOL)
copyObjects: (NSArray*)anArray
type: (NSString*)aType
toPasteboard: (NSPasteboard*)aPasteboard;
Copues an array of objects to aPasteboard
with aType.
- (void)
detachObject: (id)anObject;
Detaches anObject from the receiver.
- (void)
detachObjects: (NSArray*)anArray;
Detaches an array of objects from the receiver.
- (NSString*)
documentPath;
The path of the file which represents the document.
- (void)
editor: (id<
IBEditors>)anEditor
didCloseForObject: (id)anObject;
Called when an editor is closed.
- (id<
IBEditors>)
editorForObject: (id)anObject
create: (BOOL)flag;
Returns the associated editor for
anObject, if flag is
YES
, it will create an instance of the
editor class if one does not already exist for the
given object.
- (id<
IBEditors>)
editorForObject: (id)anObject
inEditor: (id<
IBEditors>)anEditor
create: (BOOL)flag;
Returns the associated subeditor for
anObject, if flag is
YES
, it will create an instance of the
editor.
- (NSString*)
nameForObject: (id)anObject;
Returns the name associated with the object.
- (id)
objectForName: (NSString*)aName;
Returns the object for the given aName.
- (NSArray*)
objects;
Returns all objects in the receiver's name table.
- (id<
IBEditors>)
openEditorForObject: (id)anObject;
Creates an editor, if necessary using
editorForObject:create:, opens it
and brings the window containing the editor to the
front.
- (NSArray*)
outletsOfClass: (NSString*)className;
Description forthcoming.
- (id)
parentOfObject: (id)anObject;
Return the parent of anObject. The File's
Owner is the root object in the hierarchy, if
anObject's parent is the Files's Owner, this
method should return nil
.
- (NSArray*)
pasteType: (NSString*)aType
fromPasteboard: (NSPasteboard*)aPasteboard
parent: (id)parent;
Pastes the given type from the
aPasteboard.
- (void)
removeConnector: (id<
IBConnectors>)aConnector;
Remove aConnector from the receiver.
- (void)
resignSelectionForEditor: (id<
IBEditors>)editor;
The current editor wants to give up the
selection, this method iterates over all editors
and determines if any editors will take over the
selection. If one is found it is activated.
- (void)
setName: (NSString*)aName
forObject: (id)object;
Set aName for object in the
receiver. This replaces any name the
object may have previously had.
- (void)
setSelectionFromEditor: (id<
IBEditors>)anEditor;
Sets the currently selected object from the given
editor.
- (void)
touch;
Mark document as having been changed.