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:
- NSObject
Availability: MacOS-X 10.0.0
Description forthcoming.
Method summary
- (NSTextAttachment*)
attachment;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSPoint)
cellBaselineOffset;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (NSRect)
cellFrameForTextContainer: (NSTextContainer*)textContainer
proposedLineFragment: (NSRect)lineFrag
glyphPosition: (NSPoint)position
characterIndex: (NSUInteger)charIndex;
Availability: MacOS-X 10.0.0
The new way of placing the cell.
- (NSSize)
cellSize;
Availability: MacOS-X 10.0.0
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;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
drawWithFrame: (NSRect)cellFrame
inView: (NSView*)controlView
characterIndex: (NSUInteger)charIndex;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
drawWithFrame: (NSRect)cellFrame
inView: (NSView*)controlView
characterIndex: (NSUInteger)charIndex
layoutManager: (NSLayoutManager*)layoutManager;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
highlight: (BOOL)flag
withFrame: (NSRect)cellFrame
inView: (NSView*)controlView;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (void)
setAttachment: (NSTextAttachment*)anObject;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
trackMouse: (NSEvent*)theEvent
inRect: (NSRect)cellFrame
ofView: (NSView*)controlView
atCharacterIndex: (NSUInteger)charIndex
untilMouseUp: (BOOL)flag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
trackMouse: (NSEvent*)theEvent
inRect: (NSRect)cellFrame
ofView: (NSView*)controlView
untilMouseUp: (BOOL)flag;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
wantsToTrackMouse;
Availability: MacOS-X 10.0.0
Description forthcoming.
- (BOOL)
wantsToTrackMouseForEvent: (NSEvent*)theEvent
inRect: (NSRect)cellFrame
ofView: (NSView*)controlView
atCharacterIndex: (NSUInteger)charIndex;
Availability: MacOS-X 10.0.0
Description forthcoming.
Up