Package org.eclipse.swt.internal.cocoa
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 TypeMethodDescriptionboolean
acceptsFirstMouse
(NSEvent theEvent) void
addSubview
(NSView aView) void
addSubview
(NSView aView, long place, NSView otherView) long
addToolTipRect
(NSRect aRect, id anObject, long data) void
void
beginPageInRect
(NSRect aRect, NSPoint location) bounds()
void
cacheDisplayInRect
(NSRect rect, NSBitmapImageRep bitmapImageRep) boolean
convertPoint_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) void
void
display()
void
void
displayRectIgnoringOpacity
(NSRect aRect, NSGraphicsContext context) void
dragImage
(NSImage anImage, NSPoint viewLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, id sourceObj, boolean slideFlag) void
void
void
endPage()
frame()
initWithFrame
(NSRect frameRect) boolean
isDescendantOf
(NSView aView) boolean
boolean
isHidden()
boolean
boolean
isOpaque()
void
menuForEvent
(NSEvent event) boolean
boolean
boolean
void
registerForDraggedTypes
(NSArray newTypes) void
void
removeToolTip
(long tag) void
removeTrackingArea
(NSTrackingArea trackingArea) void
void
scrollClipView
(NSClipView aClipView, NSPoint aPoint) void
scrollPoint
(NSPoint aPoint) void
scrollRect
(NSRect aRect, NSSize delta) boolean
scrollRectToVisible
(NSRect aRect) void
setAcceptsTouchEvents
(boolean acceptsTouchEvents) void
setAutoresizesSubviews
(boolean autoresizesSubviews) void
setAutoresizingMask
(long autoresizingMask) void
setBoundsRotation
(double boundsRotation) void
setFocusRingType
(long focusRingType) void
void
setFrameOrigin
(NSPoint newOrigin) void
setFrameSize
(NSSize newSize) void
setHidden
(boolean hidden) void
setNeedsDisplay
(boolean needsDisplay) void
setNeedsDisplayInRect
(NSRect invalidRect) void
setToolTip
(NSString toolTip) void
setWantsRestingTouches
(boolean wantsRestingTouches) boolean
shouldDelayWindowOrderingForEvent
(NSEvent theEvent) subviews()
void
void
void
void
void
viewWillMoveToWindow
(NSWindow newWindow) 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
-
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
-