Package org.eclipse.swt.internal.cocoa
Class NSTextView
- Direct Known Subclasses:
SWTTextView
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
dragSelectionWithEvent
(NSEvent event, NSSize mouseOffset, boolean slideBack) void
void
setAllowsUndo
(boolean allowsUndo) void
setBaseWritingDirection
(long writingDirection, NSRange range) void
setDefaultParagraphStyle
(NSParagraphStyle defaultParagraphStyle) void
setDisplaysLinkToolTips
(boolean displaysLinkToolTips) void
setLinkTextAttributes
(NSDictionary linkTextAttributes) void
setRichText
(boolean richText) void
setSelectedTextAttributes
(NSDictionary selectedTextAttributes) void
setUsesFontPanel
(boolean usesFontPanel) boolean
shouldChangeTextInRange
(NSRange affectedCharRange, NSString replacementString) boolean
Methods inherited from class org.eclipse.swt.internal.cocoa.NSText
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, string
Methods inherited from class org.eclipse.swt.internal.cocoa.NSView
acceptsFirstMouse, addSubview, addSubview, addToolTipRect, beginDocument, beginPageInRect, bitmapImageRepForCachingDisplayInRect, bounds, cacheDisplayInRect, 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, scrollRect, scrollRectToVisible, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setFocusRingType, setFrame, setFrameOrigin, setFrameSize, setHidden, setNeedsDisplay, setNeedsDisplayInRect, setToolTip, setWantsRestingTouches, shouldDelayWindowOrderingForEvent, subviews, superview, trackingAreas, unlockFocus, unregisterDraggedTypes, updateTrackingAreas, viewDidMoveToWindow, viewWillMoveToWindow, visibleRect, window
Methods inherited from class org.eclipse.swt.internal.cocoa.NSResponder
acceptsFirstResponder, 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, validRequestorForSendType
Methods inherited from class org.eclipse.swt.internal.cocoa.NSObject
accessibilityAttributeValue, accessibilitySetOverrideValue, addEventListener, alloc, autorelease, cancelAuthenticationChallenge, className, conformsToProtocol, copy, 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, writeSelectionToPasteboard
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSTextView
public NSTextView() -
NSTextView
public NSTextView(long id) -
NSTextView
-
-
Method Details
-
characterIndexForInsertionAtPoint
-
defaultParagraphStyle
-
dragSelectionWithEvent
-
drawViewBackgroundInRect
-
layoutManager
-
linkTextAttributes
-
markedTextAttributes
-
selectedTextAttributes
-
setAllowsUndo
public void setAllowsUndo(boolean allowsUndo) -
setBaseWritingDirection
-
setDefaultParagraphStyle
-
setDisplaysLinkToolTips
public void setDisplaysLinkToolTips(boolean displaysLinkToolTips) -
setLinkTextAttributes
-
setRichText
public void setRichText(boolean richText) -
setSelectedTextAttributes
-
setUsesFontPanel
public void setUsesFontPanel(boolean usesFontPanel) -
shouldChangeTextInRange
-
shouldDrawInsertionPoint
public boolean shouldDrawInsertionPoint() -
textContainer
-
textStorage
-