org.rococoa.cocoa.appkit
Class NSView

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSView
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject
Direct Known Subclasses:
NSBox, NSClipView, NSCollectionView, NSControl, NSMenuView, NSMovieView, NSOpenGLView, NSProgressIndicator, NSQuickDrawView, NSRulerView, NSScrollView, NSSplitView, NSTableHeaderView, NSTabView, NSText

public abstract class NSView
extends NSResponder

This file was autogenerated by JNAerator,
a tool written by Olivier Chafik that uses a few opensource projects..
For help, please visit NativeLibs4Java, Rococoa, or JNA.


Nested Class Summary
static class NSView.__VFlags2
          native declaration : NSView.h:176
Conversion Error : /// Original signature : -(void)sortSubviewsUsingFunction:()
- (void)sortSubviewsUsingFunction:(null)NSComparisonResult; (Argument NSComparisonResult cannot be converted)
static class NSView._class_
           
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSView()
           
 
Method Summary
abstract  void addSubview(NSView aView)
          Original signature : -(void)addSubview:(NSView*)
native declaration : NSView.h:174
static NSView alloc()
           
abstract  NSView ancestorSharedWithView(NSView aView)
          Original signature : -(NSView*)ancestorSharedWithView:(NSView*)
native declaration : NSView.h:157
 NSClipViewSuperview as_NSView_NSClipViewSuperview()
           
 NSRulerMarkerClientViewDelegation as_NSView_NSRulerMarkerClientViewDelegation()
           
 NSViewEnclosingMenuItem as_NSView_NSViewEnclosingMenuItem()
           
static NSView createWithFrame(NSRect.ByValue frameRect)
          Factory method
static NSView._class_ getNSClass()
           
abstract  void getRectsBeingDrawn_count(NSRect.ByReference[] rects, NativeSizeByReference count)
          Original signature : -(void)getRectsBeingDrawn:(const NSRect**) count:(NSInteger*)
native declaration : NSView.h:164
abstract  void getRectsBeingDrawn_count(PointerByReference rects, NativeSizeByReference count)
          Deprecated. use the safer method getRectsBeingDrawn_count(org.rococoa.cocoa.foundation.NSRect.ByReference[], com.ochafik.lang.jnaerator.runtime.NativeSizeByReference) instead
abstract  NSView initWithFrame(NSRect.ByValue frameRect)
          Original signature : -(id)initWithFrame:(NSRect)
native declaration : NSView.h:151
abstract  boolean isDescendantOf(NSView aView)
          Original signature : -(BOOL)isDescendantOf:(NSView*)
native declaration : NSView.h:156
abstract  boolean isHidden()
          Original signature : -(BOOL)isHidden
native declaration : NSView.h:161
abstract  boolean isHiddenOrHasHiddenAncestor()
          Original signature : -(BOOL)isHiddenOrHasHiddenAncestor
native declaration : NSView.h:162
abstract  boolean needsToDrawRect(NSRect.ByValue aRect)
          Original signature : -(BOOL)needsToDrawRect:(NSRect)
native declaration : NSView.h:165
static NSView new_()
           
abstract  NSView opaqueAncestor()
          Original signature : -(NSView*)opaqueAncestor
native declaration : NSView.h:158
abstract  void setHidden(boolean flag)
          Original signature : -(void)setHidden:(BOOL)
native declaration : NSView.h:160
abstract  void setSubviews(NSArray newSubviews)
          Original signature : -(void)setSubviews:(NSArray*)
native declaration : NSView.h:172
abstract  NSArray subviews()
          Original signature : -(NSArray*)subviews
native declaration : NSView.h:155
abstract  NSView superview()
          Original signature : -(NSView*)superview
native declaration : NSView.h:154
abstract  void viewDidHide()
          Original signature : -(void)viewDidHide
native declaration : NSView.h:169
abstract  void viewDidUnhide()
          Original signature : -(void)viewDidUnhide
native declaration : NSView.h:170
abstract  boolean wantsDefaultClipping()
          Original signature : -(BOOL)wantsDefaultClipping
native declaration : NSView.h:166
abstract  NSWindow window()
          Original signature : -(NSWindow*)window
native declaration : NSView.h:153
 
Methods inherited from class org.rococoa.cocoa.appkit.NSResponder
acceptsFirstResponder, as_NSResponder_NSErrorPresentation, as_NSResponder_NSInterfaceStyle, as_NSResponder_NSKeyboardUI, as_NSResponder_NSStandardKeyBindingMethods, as_NSResponder_NSUndoSupport, becomeFirstResponder, beginGestureWithEvent, cursorUpdate, endGestureWithEvent, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, magnifyWithEvent, menu, mouseDown, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, rotateWithEvent, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, swipeWithEvent, tabletPoint, tabletProximity, touchesBeganWithEvent, touchesCancelledWithEvent, touchesEndedWithEvent, touchesMovedWithEvent, tryToPerform_with, validRequestorForSendType_returnType
 
Methods inherited from class org.rococoa.cocoa.foundation.NSObject
as_NSObject_NSAccessibility, as_NSObject_NSAccessibilityAdditions, as_NSObject_NSApplicationScriptingDelegation, as_NSObject_NSArchiverCallback, as_NSObject_NSClassDescriptionPrimitives, as_NSObject_NSCoderMethods, as_NSObject_NSColorPanelResponderMethod, as_NSObject_NSComparisonMethods, as_NSObject_NSControlSubclassNotifications, as_NSObject_NSCopyLinkMoveHandler, as_NSObject_NSDelayedPerforming, as_NSObject_NSDeprecatedKeyValueCoding, as_NSObject_NSDeprecatedKeyValueObservingCustomization, as_NSObject_NSDeprecatedMethods, as_NSObject_NSDictionaryControllerKeyValuePair, as_NSObject_NSDistributedObjects, as_NSObject_NSDraggingDestination, as_NSObject_NSDraggingSource, as_NSObject_NSDraggingSourceDeprecated, as_NSObject_NSEditor, as_NSObject_NSEditorRegistration, as_NSObject_NSErrorRecoveryAttempting, as_NSObject_NSFileManagerFileOperationAdditions, as_NSObject_NSFontManagerDelegate, as_NSObject_NSFontManagerResponderMethod, as_NSObject_NSFontPanelValidationAdditions, as_NSObject_NSKeyValueBindingCreation, as_NSObject_NSKeyValueCoding, as_NSObject_NSKeyValueObserverNotification, as_NSObject_NSKeyValueObserverRegistration, as_NSObject_NSKeyValueObserving, as_NSObject_NSKeyValueObservingCustomization, as_NSObject_NSMenuValidation, as_NSObject_NSNibAwaking, as_NSObject_NSPasteboardOwner, as_NSObject_NSPlaceholders, as_NSObject_NSScriptClassDescription, as_NSObject_NSScripting, as_NSObject_NSScriptingComparisonMethods, as_NSObject_NSScriptKeyValueCoding, as_NSObject_NSScriptObjectSpecifiers, as_NSObject_NSThreadPerformAdditions, as_NSObject_NSURLClient, as_NSObject_NSURLConnectionDelegate, as_NSObject_NSURLDownloadDelegate, copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardingTargetForSelector, forwardInvocation, init, isKindOfClass, isKindOfClass, methodForSelector, methodSignatureForSelector, mutableCopy, release, retain, retainCount
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
autorelease, class_, conformsToProtocol, hash, isEqual, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone
 

Constructor Detail

NSView

public NSView()
Method Detail

as_NSView_NSViewEnclosingMenuItem

public NSViewEnclosingMenuItem as_NSView_NSViewEnclosingMenuItem()

as_NSView_NSRulerMarkerClientViewDelegation

public NSRulerMarkerClientViewDelegation as_NSView_NSRulerMarkerClientViewDelegation()

as_NSView_NSClipViewSuperview

public NSClipViewSuperview as_NSView_NSClipViewSuperview()

initWithFrame

public abstract NSView initWithFrame(NSRect.ByValue frameRect)
Original signature : -(id)initWithFrame:(NSRect)
native declaration : NSView.h:151


createWithFrame

public static NSView createWithFrame(NSRect.ByValue frameRect)
Factory method

See Also:
initWithFrame(org.rococoa.cocoa.foundation.NSRect.ByValue)

window

public abstract NSWindow window()
Original signature : -(NSWindow*)window
native declaration : NSView.h:153


superview

public abstract NSView superview()
Original signature : -(NSView*)superview
native declaration : NSView.h:154


subviews

public abstract NSArray subviews()
Original signature : -(NSArray*)subviews
native declaration : NSView.h:155


isDescendantOf

public abstract boolean isDescendantOf(NSView aView)
Original signature : -(BOOL)isDescendantOf:(NSView*)
native declaration : NSView.h:156


ancestorSharedWithView

public abstract NSView ancestorSharedWithView(NSView aView)
Original signature : -(NSView*)ancestorSharedWithView:(NSView*)
native declaration : NSView.h:157


opaqueAncestor

public abstract NSView opaqueAncestor()
Original signature : -(NSView*)opaqueAncestor
native declaration : NSView.h:158


setHidden

public abstract void setHidden(boolean flag)
Original signature : -(void)setHidden:(BOOL)
native declaration : NSView.h:160


isHidden

public abstract boolean isHidden()
Original signature : -(BOOL)isHidden
native declaration : NSView.h:161


isHiddenOrHasHiddenAncestor

public abstract boolean isHiddenOrHasHiddenAncestor()
Original signature : -(BOOL)isHiddenOrHasHiddenAncestor
native declaration : NSView.h:162


getRectsBeingDrawn_count

@Deprecated
public abstract void getRectsBeingDrawn_count(PointerByReference rects,
                                                         NativeSizeByReference count)
Deprecated. use the safer method getRectsBeingDrawn_count(org.rococoa.cocoa.foundation.NSRect.ByReference[], com.ochafik.lang.jnaerator.runtime.NativeSizeByReference) instead

Original signature : -(void)getRectsBeingDrawn:(const NSRect**) count:(NSInteger*)
native declaration : NSView.h:164


getRectsBeingDrawn_count

public abstract void getRectsBeingDrawn_count(NSRect.ByReference[] rects,
                                              NativeSizeByReference count)
Original signature : -(void)getRectsBeingDrawn:(const NSRect**) count:(NSInteger*)
native declaration : NSView.h:164


needsToDrawRect

public abstract boolean needsToDrawRect(NSRect.ByValue aRect)
Original signature : -(BOOL)needsToDrawRect:(NSRect)
native declaration : NSView.h:165


wantsDefaultClipping

public abstract boolean wantsDefaultClipping()
Original signature : -(BOOL)wantsDefaultClipping
native declaration : NSView.h:166


viewDidHide

public abstract void viewDidHide()
Original signature : -(void)viewDidHide
native declaration : NSView.h:169


viewDidUnhide

public abstract void viewDidUnhide()
Original signature : -(void)viewDidUnhide
native declaration : NSView.h:170


setSubviews

public abstract void setSubviews(NSArray newSubviews)
Original signature : -(void)setSubviews:(NSArray*)
native declaration : NSView.h:172


addSubview

public abstract void addSubview(NSView aView)
Original signature : -(void)addSubview:(NSView*)
native declaration : NSView.h:174


alloc

public static NSView alloc()

new_

public static NSView new_()

getNSClass

public static NSView._class_ getNSClass()


Copyright © 2009. All Rights Reserved.