Package org.eclipse.swt.internal.cocoa
Class NSText
java.lang.Object
org.eclipse.swt.internal.cocoa.id
org.eclipse.swt.internal.cocoa.NSObject
org.eclipse.swt.internal.cocoa.NSResponder
org.eclipse.swt.internal.cocoa.NSView
org.eclipse.swt.internal.cocoa.NSText
- Direct Known Subclasses:
NSTextView
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
delegate()
font()
boolean
void
void
replaceCharactersInRange
(NSRange range, NSString aString) void
scrollRangeToVisible
(NSRange range) void
void
setAlignment
(long alignment) void
setBackgroundColor
(NSColor backgroundColor) void
setBaseWritingDirection
(long baseWritingDirection) void
setDelegate
(id delegate) void
setDrawsBackground
(boolean drawsBackground) void
setEditable
(boolean editable) void
void
setHorizontallyResizable
(boolean horizontallyResizable) void
setMaxSize
(NSSize maxSize) void
setMinSize
(NSSize minSize) void
setSelectable
(boolean selectable) void
setSelectedRange
(NSRange selectedRange) void
void
setTextColor
(NSColor textColor) void
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
-
NSText
public NSText() -
NSText
public NSText(long id) -
NSText
-
-
Method Details
-
copy
-
cut
-
delegate
-
font
-
isFieldEditor
public boolean isFieldEditor() -
paste
-
replaceCharactersInRange
-
scrollRangeToVisible
-
selectAll
-
selectedRange
-
setAlignment
public void setAlignment(long alignment) -
setBackgroundColor
-
setBaseWritingDirection
public void setBaseWritingDirection(long baseWritingDirection) -
setDelegate
-
setDrawsBackground
public void setDrawsBackground(boolean drawsBackground) -
setEditable
public void setEditable(boolean editable) -
setFont
-
setHorizontallyResizable
public void setHorizontallyResizable(boolean horizontallyResizable) -
setMaxSize
-
setMinSize
-
setSelectable
public void setSelectable(boolean selectable) -
setSelectedRange
-
setString
-
setTextColor
-
sizeToFit
public void sizeToFit() -
string
-