Up
Authors
- Fred Kiefer (
FredKiefer@gmx.de)
-
Classes to represent text attachments.
Copyright: (C) 2000 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSTextAttachment.h
- Conforms to:
- NSCoding
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summary
- (id<NSTextAttachmentCell>) attachmentCell;
Description forthcoming.
- (NSFileWrapper*) fileWrapper;
Description forthcoming.
- (id) initWithFileWrapper: (NSFileWrapper*)fileWrapper;
Description forthcoming.
- (void) setAttachmentCell: (id<NSTextAttachmentCell>)cell;
Description forthcoming.
- (void) setFileWrapper: (NSFileWrapper*)fileWrapper;
Description forthcoming.
- Declared in:
- AppKit/NSTextAttachment.h
- Conforms to:
- NSTextAttachmentCell
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
- Declared in:
- AppKit/NSTextAttachment.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summary
+ (NSAttributedString*) attributedStringWithAttachment: (NSTextAttachment*)attachment;
Description forthcoming.
- (BOOL) containsAttachments;
Description forthcoming.
- Declared in:
- AppKit/NSTextAttachment.h
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summary
- (void) updateAttachmentsFromPath: (NSString*)path;
Description forthcoming.
- Declared in:
- AppKit/NSTextAttachment.h
- Conforms to:
- NSObject
Standards:
- MacOS-X
- NotOpenStep
- GNUstep
Description forthcoming.
Method summary
- (NSTextAttachment*) attachment;
Description forthcoming.
- (NSPoint) cellBaselineOffset;
Description forthcoming.
- (NSRect) cellFrameForTextContainer: (NSTextContainer*)textContainer proposedLineFragment: (NSRect)lineFrag glyphPosition: (NSPoint)position characterIndex: (unsigned int)charIndex;
The new way of placing the cell.
- (NSSize) cellSize;
The old way of placing the cell. The text system will
never call these directly (TODO: make sure it
doesn't), but other things might. The class
implements the new method by calling these, so
subclasses can easily change behavior by
overriding these.
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Description forthcoming.
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView*)controlView characterIndex: (unsigned)charIndex;
Description forthcoming.
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView*)controlView characterIndex: (unsigned)charIndex layoutManager: (NSLayoutManager*)layoutManager;
Description forthcoming.
- (void) highlight: (BOOL)flag withFrame: (NSRect)cellFrame inView: (NSView*)controlView;
Description forthcoming.
- (void) setAttachment: (NSTextAttachment*)anObject;
Description forthcoming.
- (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView atCharacterIndex: (unsigned)charIndex untilMouseUp: (BOOL)flag;
Description forthcoming.
- (BOOL) trackMouse: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView untilMouseUp: (BOOL)flag;
Description forthcoming.
- (BOOL) wantsToTrackMouse;
Description forthcoming.
- (BOOL) wantsToTrackMouseForEvent: (NSEvent*)theEvent inRect: (NSRect)cellFrame ofView: (NSView*)controlView atCharacterIndex: (unsigned)charIndex;
Description forthcoming.
Up