Package org.eclipse.swt.internal.cocoa
Class NSTextView
- java.lang.Object
-
- Direct Known Subclasses:
SWTTextView
public class NSTextView extends NSText
-
-
Constructor Summary
Constructors Constructor Description NSTextView()
NSTextView(long id)
NSTextView(id id)
-
Method Summary
-
Methods inherited from class org.eclipse.swt.internal.cocoa.NSText
copy, cut, isFieldEditor, paste, replaceCharactersInRange, scrollRangeToVisible, selectAll, selectedRange, setAlignment, setBackgroundColor, setBaseWritingDirection, setDelegate, setDrawsBackground, setEditable, setFont, setHorizontallyResizable, setMaxSize, setMinSize, setSelectable, setSelectedRange, setString, setTextColor, 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_, convertRect_fromView_, convertRect_toView_, discardCursorRects, display, displayIfNeeded, displayRectIgnoringOpacity, dragImage, drawRect, endDocument, endPage, frame, hitTest, initWithFrame, isDescendantOf, isFlipped, isHidden, isHiddenOrHasHiddenAncestor, isOpaque, layer, lockFocus, lockFocusIfCanDraw, menuForEvent, mouse, mouseDownCanMoveWindow, needsPanelToBecomeKey, registerForDraggedTypes, removeFromSuperview, removeToolTip, removeTrackingArea, resetCursorRects, scrollClipView, scrollPoint, scrollRect, setAcceptsTouchEvents, setAutoresizesSubviews, setAutoresizingMask, setBoundsRotation, setBoundsSize, 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, cancelOperation, cursorUpdate, doCommandBySelector, flagsChanged, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, 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, isKindOfClass, mutableCopy, outlineView, outlineView, outlineView, performSelector, performSelectorOnMainThread, readSelectionFromPasteboard, release, respondsToSelector, retain, retainCount, setValue, superclass, tableView, tableView, useCredential, valueForKey, writeSelectionToPasteboard
-
Methods inherited from class org.eclipse.swt.internal.cocoa.id
equals, hashCode, objc_getClass, toString
-
-
-
-
Constructor Detail
-
NSTextView
public NSTextView()
-
NSTextView
public NSTextView(long id)
-
NSTextView
public NSTextView(id id)
-
-
Method Detail
-
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)
-
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()
-
-