public class NSTextView extends NSText
| Constructor and Description |
|---|
NSTextView() |
NSTextView(id id) |
NSTextView(int id) |
| Modifier and Type | Method and Description |
|---|---|
int |
characterIndexForInsertionAtPoint(NSPoint point) |
NSParagraphStyle |
defaultParagraphStyle() |
boolean |
dragSelectionWithEvent(NSEvent event,
NSSize mouseOffset,
boolean slideBack) |
void |
drawViewBackgroundInRect(NSRect rect) |
NSLayoutManager |
layoutManager() |
NSDictionary |
linkTextAttributes() |
NSDictionary |
markedTextAttributes() |
NSDictionary |
selectedTextAttributes() |
void |
setAllowsUndo(boolean flag) |
void |
setBaseWritingDirection(int writingDirection,
NSRange range) |
void |
setDefaultParagraphStyle(NSParagraphStyle paragraphStyle) |
void |
setDisplaysLinkToolTips(boolean flag) |
void |
setLinkTextAttributes(NSDictionary attributeDictionary) |
void |
setRichText(boolean flag) |
void |
setSelectedTextAttributes(NSDictionary attributeDictionary) |
void |
setUsesFontPanel(boolean flag) |
boolean |
shouldChangeTextInRange(NSRange affectedCharRange,
NSString replacementString) |
boolean |
shouldDrawInsertionPoint() |
NSTextContainer |
textContainer() |
NSTextStorage |
textStorage() |
copy, cut, delegate, font, isFieldEditor, paste, replaceCharactersInRange, scrollRangeToVisible, selectAll, selectedRange, setAlignment, setBackgroundColor, setBaseWritingDirection, setDelegate, setDrawsBackground, setEditable, setFont, setHorizontallyResizable, setMaxSize, setMinSize, setSelectable, setSelectedRange, setString, setTextColor, sizeToFit, stringacceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bounds, canBecomeKeyView, convertPoint_fromView_, convertPoint_toView_, convertPointFromBase, convertPointToBase, convertRect_fromView_, convertRect_toView_, convertRectFromBase, convertRectToBase, convertSize_fromView_, convertSize_toView_, convertSizeFromBase, convertSizeToBase, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, lockFocus, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRectToVisible, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, windowacceptsFirstResponder, becomeFirstResponder, beginGestureWithEvent, cancelOperation, cursorUpdate, doCommandBySelector, endGestureWithEvent, flagsChanged, helpRequested, insertText, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, moveToBeginningOfParagraph, moveToEndOfParagraph, moveUp, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, pageDown, pageUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, swipeWithEvent, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, undoManager, validRequestorForSendTypeaccessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, dealloc, description, draggedImage, draggingDestinationWindow, draggingLocation, draggingPasteboard, draggingSourceOperationMask, handleEvent, init, isEqual, isEqualTo, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboardequals, hashCode, objc_getClass, toStringpublic NSTextView()
public NSTextView(int id)
public NSTextView(id id)
public int characterIndexForInsertionAtPoint(NSPoint point)
public NSParagraphStyle defaultParagraphStyle()
public boolean dragSelectionWithEvent(NSEvent event, NSSize mouseOffset, boolean slideBack)
public void drawViewBackgroundInRect(NSRect rect)
public NSLayoutManager layoutManager()
public NSDictionary linkTextAttributes()
public NSDictionary markedTextAttributes()
public NSDictionary selectedTextAttributes()
public void setAllowsUndo(boolean flag)
public void setBaseWritingDirection(int writingDirection,
NSRange range)
public void setDefaultParagraphStyle(NSParagraphStyle paragraphStyle)
public void setDisplaysLinkToolTips(boolean flag)
public void setLinkTextAttributes(NSDictionary attributeDictionary)
public void setRichText(boolean flag)
public void setSelectedTextAttributes(NSDictionary attributeDictionary)
public void setUsesFontPanel(boolean flag)
public boolean shouldChangeTextInRange(NSRange affectedCharRange, NSString replacementString)
public boolean shouldDrawInsertionPoint()
public NSTextContainer textContainer()
public NSTextStorage textStorage()