Class NSTextView

Direct Known Subclasses:
SWTTextView

public class NSTextView extends NSText
  • Constructor Details

    • NSTextView

      public NSTextView()
    • NSTextView

      public NSTextView(long id)
    • NSTextView

      public NSTextView(id id)
  • Method Details

    • characterIndexForInsertionAtPoint

      public long characterIndexForInsertionAtPoint(NSPoint point)
    • defaultParagraphStyle

      public NSParagraphStyle defaultParagraphStyle()
    • dragSelectionWithEvent

      public boolean dragSelectionWithEvent(NSEvent event, NSSize mouseOffset, boolean slideBack)
    • drawViewBackgroundInRect

      public void drawViewBackgroundInRect(NSRect rect)
    • layoutManager

      public NSLayoutManager layoutManager()
    • linkTextAttributes

      public NSDictionary linkTextAttributes()
    • markedTextAttributes

      public NSDictionary markedTextAttributes()
    • selectedTextAttributes

      public NSDictionary selectedTextAttributes()
    • setAllowsUndo

      public void setAllowsUndo(boolean allowsUndo)
    • setBaseWritingDirection

      public void setBaseWritingDirection(long writingDirection, NSRange range)
    • setDefaultParagraphStyle

      public void setDefaultParagraphStyle(NSParagraphStyle defaultParagraphStyle)
    • setDisplaysLinkToolTips

      public void setDisplaysLinkToolTips(boolean displaysLinkToolTips)
    • setLinkTextAttributes

      public void setLinkTextAttributes(NSDictionary linkTextAttributes)
    • setRichText

      public void setRichText(boolean richText)
    • setSelectedTextAttributes

      public void setSelectedTextAttributes(NSDictionary selectedTextAttributes)
    • setUsesFontPanel

      public void setUsesFontPanel(boolean usesFontPanel)
    • shouldChangeTextInRange

      public boolean shouldChangeTextInRange(NSRange affectedCharRange, NSString replacementString)
    • shouldDrawInsertionPoint

      public boolean shouldDrawInsertionPoint()
    • textContainer

      public NSTextContainer textContainer()
    • textStorage

      public NSTextStorage textStorage()