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
public class NSView extends NSResponder
-
-
Method Summary
-
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
-
NSView
public NSView()
-
NSView
public NSView(long id)
-
NSView
public NSView(id id)
-
-
Method Detail
-
acceptsFirstMouse
public boolean acceptsFirstMouse(NSEvent theEvent)
-
addSubview
public void addSubview(NSView aView)
-
beginDocument
public void beginDocument()
-
bitmapImageRepForCachingDisplayInRect
public NSBitmapImageRep bitmapImageRepForCachingDisplayInRect(NSRect rect)
-
bounds
public NSRect bounds()
-
cacheDisplayInRect
public void cacheDisplayInRect(NSRect rect, NSBitmapImageRep bitmapImageRep)
-
canBecomeKeyView
public boolean canBecomeKeyView()
-
discardCursorRects
public void discardCursorRects()
-
display
public void display()
-
displayIfNeeded
public void displayIfNeeded()
-
displayRectIgnoringOpacity
public void displayRectIgnoringOpacity(NSRect aRect, NSGraphicsContext context)
-
dragImage
public void dragImage(NSImage anImage, NSPoint viewLocation, NSSize initialOffset, NSEvent event, NSPasteboard pboard, id sourceObj, boolean slideFlag)
-
drawRect
public void drawRect(NSRect dirtyRect)
-
endDocument
public void endDocument()
-
endPage
public void endPage()
-
frame
public NSRect frame()
-
isDescendantOf
public boolean isDescendantOf(NSView aView)
-
isFlipped
public boolean isFlipped()
-
isHidden
public boolean isHidden()
-
isHiddenOrHasHiddenAncestor
public boolean isHiddenOrHasHiddenAncestor()
-
isOpaque
public boolean isOpaque()
-
layer
public CALayer layer()
-
lockFocus
public void lockFocus()
-
lockFocusIfCanDraw
public boolean lockFocusIfCanDraw()
-
mouseDownCanMoveWindow
public boolean mouseDownCanMoveWindow()
-
needsPanelToBecomeKey
public boolean needsPanelToBecomeKey()
-
registerForDraggedTypes
public void registerForDraggedTypes(NSArray newTypes)
-
removeFromSuperview
public void removeFromSuperview()
-
removeToolTip
public void removeToolTip(long tag)
-
removeTrackingArea
public void removeTrackingArea(NSTrackingArea trackingArea)
-
resetCursorRects
public void resetCursorRects()
-
scrollClipView
public void scrollClipView(NSClipView aClipView, NSPoint aPoint)
-
scrollPoint
public void scrollPoint(NSPoint aPoint)
-
setAcceptsTouchEvents
public void setAcceptsTouchEvents(boolean acceptsTouchEvents)
-
setAutoresizesSubviews
public void setAutoresizesSubviews(boolean autoresizesSubviews)
-
setAutoresizingMask
public void setAutoresizingMask(long autoresizingMask)
-
setBoundsRotation
public void setBoundsRotation(double boundsRotation)
-
setBoundsSize
public void setBoundsSize(NSSize newSize)
-
setFocusRingType
public void setFocusRingType(long focusRingType)
-
setFrame
public void setFrame(NSRect frame)
-
setFrameOrigin
public void setFrameOrigin(NSPoint newOrigin)
-
setFrameSize
public void setFrameSize(NSSize newSize)
-
setHidden
public void setHidden(boolean hidden)
-
setNeedsDisplay
public void setNeedsDisplay(boolean needsDisplay)
-
setNeedsDisplayInRect
public void setNeedsDisplayInRect(NSRect invalidRect)
-
setToolTip
public void setToolTip(NSString toolTip)
-
setWantsRestingTouches
public void setWantsRestingTouches(boolean wantsRestingTouches)
-
shouldDelayWindowOrderingForEvent
public boolean shouldDelayWindowOrderingForEvent(NSEvent theEvent)
-
subviews
public NSArray subviews()
-
superview
public NSView superview()
-
trackingAreas
public NSArray trackingAreas()
-
unlockFocus
public void unlockFocus()
-
unregisterDraggedTypes
public void unregisterDraggedTypes()
-
updateTrackingAreas
public void updateTrackingAreas()
-
viewDidMoveToWindow
public void viewDidMoveToWindow()
-
viewWillMoveToWindow
public void viewWillMoveToWindow(NSWindow newWindow)
-
visibleRect
public NSRect visibleRect()
-
window
public NSWindow window()
-
-