Class NSView
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
- Direct Known Subclasses:
NSBox, NSClipView, NSControl, NSProgressIndicator, NSScrollView, NSTableHeaderView, NSTabView, NSText, SWTCanvasView, SWTPrinterView, SWTView, WebView
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanacceptsFirstMouse(NSEvent theEvent) voidaddSubview(NSView aView) voidaddSubview(NSView aView, long place, NSView otherView) longaddToolTipRect(NSRect aRect, id anObject, long data) voidvoidbeginPageInRect(NSRect aRect, NSPoint location) bounds()voidcacheDisplayInRect(NSRect rect, NSBitmapImageRep bitmapImageRep) booleanconvertPoint_fromView_(NSPoint aPoint, NSView aView) convertPoint_toView_(NSPoint aPoint, NSView aView) convertPointFromBase(NSPoint aPoint) convertPointToBase(NSPoint aPoint) convertRect_fromView_(NSRect aRect, NSView aView) convertRect_toView_(NSRect aRect, NSView aView) convertRectFromBase(NSRect aRect) convertRectToBase(NSRect aRect) convertSize_fromView_(NSSize aSize, NSView aView) convertSize_toView_(NSSize aSize, NSView aView) convertSizeFromBase(NSSize aSize) convertSizeToBase(NSSize aSize) voidvoiddisplay()voidvoiddisplayRectIgnoringOpacity(NSRect aRect, NSGraphicsContext context) voiddragImage(NSImage anImage, NSPoint viewLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, id sourceObj, boolean slideFlag) voidvoidvoidendPage()frame()initWithFrame(NSRect frameRect) booleanisDescendantOf(NSView aView) booleanbooleanisHidden()booleanbooleanisOpaque()voidmenuForEvent(NSEvent event) booleanbooleanbooleanvoidregisterForDraggedTypes(NSArray newTypes) voidvoidremoveToolTip(long tag) voidremoveTrackingArea(NSTrackingArea trackingArea) voidvoidscrollClipView(NSClipView aClipView, NSPoint aPoint) voidscrollPoint(NSPoint aPoint) voidscrollRect(NSRect aRect, NSSize delta) booleanscrollRectToVisible(NSRect aRect) voidsetAcceptsTouchEvents(boolean acceptsTouchEvents) voidsetAutoresizesSubviews(boolean autoresizesSubviews) voidsetAutoresizingMask(long autoresizingMask) voidsetBoundsRotation(double boundsRotation) voidsetFocusRingType(long focusRingType) voidvoidsetFrameOrigin(NSPoint newOrigin) voidsetFrameSize(NSSize newSize) voidsetHidden(boolean hidden) voidsetNeedsDisplay(boolean needsDisplay) voidsetNeedsDisplayInRect(NSRect invalidRect) voidsetToolTip(NSString toolTip) voidsetWantsRestingTouches(boolean wantsRestingTouches) booleanshouldDelayWindowOrderingForEvent(NSEvent theEvent) subviews()voidvoidvoidvoidvoidviewWillMoveToWindow(NSWindow newWindow) window()Methods inherited from class 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, validRequestorForSendTypeMethods inherited from class 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, writeSelectionToPasteboardMethods inherited from class id
equals, hashCode, objc_getClass, toString
-
Constructor Details
-
NSView
public NSView() -
NSView
public NSView(long id) -
NSView
-
-
Method Details
-
acceptsFirstMouse
-
addSubview
-
addSubview
-
addToolTipRect
-
beginDocument
public void beginDocument() -
beginPageInRect
-
bitmapImageRepForCachingDisplayInRect
-
bounds
-
cacheDisplayInRect
-
canBecomeKeyView
public boolean canBecomeKeyView() -
convertPoint_fromView_
-
convertPoint_toView_
-
convertPointFromBase
-
convertPointToBase
-
convertRect_fromView_
-
convertRect_toView_
-
convertRectFromBase
-
convertRectToBase
-
convertSize_fromView_
-
convertSize_toView_
-
convertSizeFromBase
-
convertSizeToBase
-
discardCursorRects
public void discardCursorRects() -
display
public void display() -
displayIfNeeded
public void displayIfNeeded() -
displayRectIgnoringOpacity
-
dragImage
-
drawRect
-
endDocument
public void endDocument() -
endPage
public void endPage() -
frame
-
hitTest
-
initWithFrame
-
isDescendantOf
-
isFlipped
public boolean isFlipped() -
isHidden
public boolean isHidden() -
isHiddenOrHasHiddenAncestor
public boolean isHiddenOrHasHiddenAncestor() -
isOpaque
public boolean isOpaque() -
lockFocus
public void lockFocus() -
mouse
-
mouseDownCanMoveWindow
public boolean mouseDownCanMoveWindow() -
needsPanelToBecomeKey
public boolean needsPanelToBecomeKey() -
registerForDraggedTypes
-
removeFromSuperview
public void removeFromSuperview() -
removeToolTip
public void removeToolTip(long tag) -
removeTrackingArea
-
resetCursorRects
public void resetCursorRects() -
scrollClipView
-
scrollPoint
-
scrollRect
-
scrollRectToVisible
-
setAcceptsTouchEvents
public void setAcceptsTouchEvents(boolean acceptsTouchEvents) -
setAutoresizesSubviews
public void setAutoresizesSubviews(boolean autoresizesSubviews) -
setAutoresizingMask
public void setAutoresizingMask(long autoresizingMask) -
setBoundsRotation
public void setBoundsRotation(double boundsRotation) -
setFocusRingType
public void setFocusRingType(long focusRingType) -
setFrame
-
setFrameOrigin
-
setFrameSize
-
setHidden
public void setHidden(boolean hidden) -
setNeedsDisplay
public void setNeedsDisplay(boolean needsDisplay) -
setNeedsDisplayInRect
-
setToolTip
-
setWantsRestingTouches
public void setWantsRestingTouches(boolean wantsRestingTouches) -
shouldDelayWindowOrderingForEvent
-
subviews
-
superview
-
trackingAreas
-
unlockFocus
public void unlockFocus() -
unregisterDraggedTypes
public void unregisterDraggedTypes() -
updateTrackingAreas
public void updateTrackingAreas() -
viewDidMoveToWindow
public void viewDidMoveToWindow() -
viewWillMoveToWindow
-
visibleRect
-
window
-