com.jniwrapper.macosx.cocoa.nstextattachment
Interface NSTextAttachmentCellProtocol

All Superinterfaces:
NSObjectProtocol
All Known Implementing Classes:
NSTextAttachmentCell

public interface NSTextAttachmentCellProtocol
extends NSObjectProtocol

This interface represents NSTextAttachmentCellProtocol protocol. See the protocol documentation at the Apple's site: NSTextAttachmentCellProtocol


Method Summary
 com.jniwrapper.Pointer.Void attachment()
           
 NSPoint cellBaselineOffset()
           
 NSRect cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex(NSTextContainer textContainer, NSRect lineFrag, NSPoint position, com.jniwrapper.UInt16 charIndex)
          This method represents the cellFrameForTextContainer() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 NSSize cellSize()
           
 void drawWithFrame_inView_characterIndex_layoutManager(NSRect cellFrame, NSView controlView, com.jniwrapper.UInt16 charIndex, NSLayoutManager layoutManager)
          This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 void drawWithFrame_inView_characterIndex(NSRect cellFrame, NSView controlView, com.jniwrapper.UInt16 charIndex)
          This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 void drawWithFrame_inView(NSRect cellFrame, NSView controlView)
          This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 void highlight_withFrame_inView(boolean flag, NSRect cellFrame, NSView controlView)
          This method represents the highlight() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 void setAttachment(NSTextAttachment anObject)
           
 com.jniwrapper.Bool trackMouse_inRect_ofView_atCharacterIndex_untilMouseUp(NSEvent theEvent, NSRect cellFrame, NSView controlView, com.jniwrapper.UInt16 charIndex, boolean flag)
          This method represents the trackMouse() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 com.jniwrapper.Bool trackMouse_inRect_ofView_untilMouseUp(NSEvent theEvent, NSRect cellFrame, NSView controlView, boolean flag)
          This method represents the trackMouse() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 com.jniwrapper.Bool wantsToTrackMouse()
           
 com.jniwrapper.Bool wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex(NSEvent theEvent, NSRect cellFrame, NSView controlView, com.jniwrapper.UInt16 charIndex)
          This method represents the wantsToTrackMouseForEvent() method of the NSTextAttachmentCellProtocol Objective-C protocol.
 
Methods inherited from interface com.jniwrapper.macosx.cocoa.nsobject.NSObjectProtocol
_class, autorelease, conformsToProtocol, description, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, release, respondsToSelector, retain, retainCount, self, superclass, zone
 

Method Detail

attachment

public com.jniwrapper.Pointer.Void attachment()

drawWithFrame_inView_characterIndex_layoutManager

public void drawWithFrame_inView_characterIndex_layoutManager(NSRect cellFrame,
                                                              NSView controlView,
                                                              com.jniwrapper.UInt16 charIndex,
                                                              NSLayoutManager layoutManager)
This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
cellFrame -
controlView -
charIndex -
layoutManager -

cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex

public NSRect cellFrameForTextContainer_proposedLineFragment_glyphPosition_characterIndex(NSTextContainer textContainer,
                                                                                          NSRect lineFrag,
                                                                                          NSPoint position,
                                                                                          com.jniwrapper.UInt16 charIndex)
This method represents the cellFrameForTextContainer() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
textContainer -
lineFrag -
position -
charIndex -
Returns:
NSRect

drawWithFrame_inView_characterIndex

public void drawWithFrame_inView_characterIndex(NSRect cellFrame,
                                                NSView controlView,
                                                com.jniwrapper.UInt16 charIndex)
This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
cellFrame -
controlView -
charIndex -

cellBaselineOffset

public NSPoint cellBaselineOffset()

highlight_withFrame_inView

public void highlight_withFrame_inView(boolean flag,
                                       NSRect cellFrame,
                                       NSView controlView)
This method represents the highlight() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
flag -
cellFrame -
controlView -

drawWithFrame_inView

public void drawWithFrame_inView(NSRect cellFrame,
                                 NSView controlView)
This method represents the drawWithFrame() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
cellFrame -
controlView -

cellSize

public NSSize cellSize()

trackMouse_inRect_ofView_untilMouseUp

public com.jniwrapper.Bool trackMouse_inRect_ofView_untilMouseUp(NSEvent theEvent,
                                                                 NSRect cellFrame,
                                                                 NSView controlView,
                                                                 boolean flag)
This method represents the trackMouse() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
theEvent -
cellFrame -
controlView -
flag -
Returns:
Bool

trackMouse_inRect_ofView_atCharacterIndex_untilMouseUp

public com.jniwrapper.Bool trackMouse_inRect_ofView_atCharacterIndex_untilMouseUp(NSEvent theEvent,
                                                                                  NSRect cellFrame,
                                                                                  NSView controlView,
                                                                                  com.jniwrapper.UInt16 charIndex,
                                                                                  boolean flag)
This method represents the trackMouse() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
theEvent -
cellFrame -
controlView -
charIndex -
flag -
Returns:
Bool

wantsToTrackMouse

public com.jniwrapper.Bool wantsToTrackMouse()

setAttachment

public void setAttachment(NSTextAttachment anObject)

wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex

public com.jniwrapper.Bool wantsToTrackMouseForEvent_inRect_ofView_atCharacterIndex(NSEvent theEvent,
                                                                                    NSRect cellFrame,
                                                                                    NSView controlView,
                                                                                    com.jniwrapper.UInt16 charIndex)
This method represents the wantsToTrackMouseForEvent() method of the NSTextAttachmentCellProtocol Objective-C protocol.

Parameters:
theEvent -
cellFrame -
controlView -
charIndex -
Returns:
Bool