MonobjcMonobjc Documented Class Library
INSTextAttachmentCell Interface
NamespacesMonobjc.AppKitINSTextAttachmentCell

[Missing <summary> documentation for "T:Monobjc.AppKit.INSTextAttachmentCell"]

Declaration Syntax
C#Visual BasicVisual C++
public interface INSTextAttachmentCell : IManagedWrapper
Public Interface INSTextAttachmentCell _
	Inherits IManagedWrapper
public interface class INSTextAttachmentCell : IManagedWrapper
Members
All MembersMethodsProperties



IconMemberDescription
Attachment

Returns the text attachment object that owns the receiver. (required)

Original signature is '- (NSTextAttachment *)attachment'

Available in Mac OS X v10.0 and later.


CastAs<(Of <<'(T>)>>)()()()()
Try to cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IManagedWrapper.)
CastTo<(Of <<'(T>)>>)()()()()
Cast the current instance to the given type. The cast is dynamically tested for safety.
(Inherited from IManagedWrapper.)
CellBaselineOffset

Returns the position where the attachment cell’s image should be drawn in text, relative to the current point established in the glyph layout. (required)

Original signature is '- (NSPoint)cellBaselineOffset'

Available in Mac OS X v10.0 and later.


CellFrameForTextContainerProposedLineFragmentGlyphPositionCharacterIndex(NSTextContainer, NSRect, NSPoint, NSUInteger)

Returns the frame of the cell as it would be drawn as the character at the given glyph position, and character index, charIndex, in textContainer. (required)

Original signature is '- (NSRect)cellFrameForTextContainer:(NSTextContainer *)textContainer proposedLineFragment:(NSRect)lineFrag glyphPosition:(NSPoint)position characterIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.


CellSize

Returns the size of the attachment’s icon. (required)

Original signature is '- (NSSize)cellSize'

Available in Mac OS X v10.0 and later.


DrawWithFrameInView(NSRect, NSView)

Draws the receiver’s image within cellFrame in aView, which is the view currently focused. (required)

Original signature is '- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView'

Available in Mac OS X v10.0 and later.


DrawWithFrameInViewCharacterIndex(NSRect, NSView, NSUInteger)

Draws the receiver’s image within cellFrame in aView, which is the view currently focused. charIndex is the index of the attachment character within the text. (required)

Original signature is '- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)aView characterIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.


DrawWithFrameInViewCharacterIndexLayoutManager(NSRect, NSView, NSUInteger, NSLayoutManager)

Draws the receiver’s image within cellFrame in controlView, which is the view currently focused. charIndex is the index of the attachment character within the text. layoutManager is the layout manager for the text. (required)

Original signature is '- (void)drawWithFrame:(NSRect)cellFrame inView:(NSView *)controlView characterIndex:(NSUInteger)charIndex layoutManager:(NSLayoutManager *)layoutManager'

Available in Mac OS X v10.0 and later.


HighlightWithFrameInView(Boolean, NSRect, NSView)

Draws the receiver’s image—with highlighting if flag is YES—within cellFrame in aView, which should be the focus view. (required)

Original signature is '- (void)highlight:(BOOL)flag withFrame:(NSRect)cellFrame inView:(NSView *)aView'

Available in Mac OS X v10.0 and later.


NativePointer

Gets the underlying native pointer.

(Inherited from IManagedWrapper.)
SendMessage(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

(Inherited from IManagedWrapper.)
SendMessage<(Of <<'(TReturnType>)>>)(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

(Inherited from IManagedWrapper.)
SendMessageSuper(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from IManagedWrapper.)
SendMessageSuper<(Of <<'(TReturnType>)>>)(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

(Inherited from IManagedWrapper.)
SendMessageSuperVarArgs(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageSuperVarArgs<(Of <<'(TReturnType>)>>)(Class, String, array<Object>[]()[][])

Sends a message to the super instance of this receiver.

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageVarArgs(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
SendMessageVarArgs<(Of <<'(TReturnType>)>>)(String, array<Object>[]()[][])

Sends a message to this receiver (either a Class or an object instance).

The last parameter passed must be an object array that contains the variable list of arguments

(Inherited from IManagedWrapper.)
TrackMouseInRectOfViewAtCharacterIndexUntilMouseUp(NSEvent, NSRect, NSView, NSUInteger, Boolean)

Handles a mouse-down event on the receiver’s image. (required)

Original signature is '- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)aTextView atCharacterIndex:(NSUInteger)charIndex untilMouseUp:(BOOL)flag'

Available in Mac OS X v10.0 and later.


TrackMouseInRectOfViewUntilMouseUp(NSEvent, NSRect, NSView, Boolean)

Handles a mouse-down event on the receiver’s image. (required)

Original signature is '- (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)aTextView untilMouseUp:(BOOL)flag'

Available in Mac OS X v10.0 and later.


WantsToTrackMouse

Returns YES if the receiver will handle a mouse event occurring over its image (to support dragging, for example), NO otherwise. (required)

Original signature is '- (BOOL)wantsToTrackMouse'

Available in Mac OS X v10.0 and later.


WantsToTrackMouseForEventInRectOfViewAtCharacterIndex(NSEvent, NSRect, NSView, NSUInteger)

Allows an attachment to specify what events it would want to track the mouse for. (required)

Original signature is '- (BOOL)wantsToTrackMouseForEvent:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:(NSView *)controlView atCharacterIndex:(NSUInteger)charIndex'

Available in Mac OS X v10.0 and later.


Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)