org.rococoa.cocoa.appkit
Class NSOutlineView

java.lang.Object
  extended by org.rococoa.cocoa.foundation.NSObject
      extended by org.rococoa.cocoa.appkit.NSResponder
          extended by org.rococoa.cocoa.appkit.NSView
              extended by org.rococoa.cocoa.appkit.NSControl
                  extended by org.rococoa.cocoa.appkit.NSTableView
                      extended by org.rococoa.cocoa.appkit.NSOutlineView
All Implemented Interfaces:
NSTextDelegate, NSTextViewDelegate, NSUserInterfaceValidations, NSCoding, NSObject, ObjCObject

public abstract class NSOutlineView
extends NSTableView

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 NSOutlineView._class_
           
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSControl
NSControl.__conFlags
 
Nested classes/interfaces inherited from class org.rococoa.cocoa.appkit.NSView
NSView.__VFlags2
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSUserInterfaceValidations
NSUserInterfaceValidations._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.appkit.protocols.NSTextViewDelegate
NSTextViewDelegate._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
NSCoding._static_
 
Constructor Summary
NSOutlineView()
           
 
Method Summary
static NSOutlineView alloc()
           
abstract  boolean autoresizesOutlineColumn()
          Original signature : -(BOOL)autoresizesOutlineColumn
native declaration : NSOutlineView.h:185
abstract  boolean autosaveExpandedItems()
          Persistence.
abstract  void collapseItem_collapseChildren(ObjCObject item, boolean collapseChildren)
          Collapses 'item' and all children if 'collapseChildren' is YES.
abstract  void collapseItem(ObjCObject item)
          Calls collapseItem:collapseChildren with 'collapseChildren == NO'
Original signature : -(void)collapseItem:(id)
native declaration : NSOutlineView.h:149
abstract  NSOutlineViewDataSource dataSource()
          Original signature : -(id)dataSource
native declaration : NSOutlineView.h:124
abstract  NSOutlineViewDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSOutlineView.h:121
abstract  void expandItem_expandChildren(ObjCObject item, boolean expandChildren)
          Expands 'item', if not already expanded, and all children if 'expandChildren' is YES.
abstract  void expandItem(ObjCObject item)
          Calls expandItem:expandChildren with 'expandChildren == NO'
Original signature : -(void)expandItem:(id)
native declaration : NSOutlineView.h:141
abstract  NSRect.ByValue frameOfOutlineCellAtRow(NSInteger row)
          Returns the frame of the outline cell for a particular row, considering the current indentation and indentationMarkerFollowsCell value.
static NSOutlineView._class_ getNSClass()
           
abstract  boolean indentationMarkerFollowsCell()
          Original signature : -(BOOL)indentationMarkerFollowsCell
native declaration : NSOutlineView.h:182
abstract  org.rococoa.cocoa.CGFloat indentationPerLevel()
          Original signature : -(CGFloat)indentationPerLevel
native declaration : NSOutlineView.h:177
abstract  boolean isExpandable(ObjCObject item)
          Returns YES if 'item' is expandable and can contain other items.
abstract  boolean isItemExpanded(ObjCObject item)
          Original signature : -(BOOL)isItemExpanded:(id)
native declaration : NSOutlineView.h:172
abstract  NSObject itemAtRow(NSInteger row)
          Item/Row translation
Original signature : -(id)itemAtRow:(NSInteger)
native declaration : NSOutlineView.h:165
abstract  NSInteger levelForItem(ObjCObject item)
          Indentation
Original signature : -(NSInteger)levelForItem:(id)
native declaration : NSOutlineView.h:170
abstract  NSInteger levelForRow(NSInteger row)
          Original signature : -(NSInteger)levelForRow:(NSInteger)
native declaration : NSOutlineView.h:171
static NSOutlineView new_()
           
abstract  NSTableColumn outlineTableColumn()
          Original signature : -(NSTableColumn*)outlineTableColumn
native declaration : NSOutlineView.h:129
abstract  NSObject parentForItem(ObjCObject item)
          Returns the parent for 'item', or nil, if the parent is the root.
abstract  void reloadItem_reloadChildren(ObjCObject item, boolean reloadChildren)
          Reloads 'item' and all children if 'reloadChildren' is YES.
abstract  void reloadItem(ObjCObject item)
          Calls reloadItem:reloadChildren with 'reloadChildren == NO'
Original signature : -(void)reloadItem:(id)
native declaration : NSOutlineView.h:157
abstract  NSInteger rowForItem(ObjCObject item)
          Original signature : -(NSInteger)rowForItem:(id)
native declaration : NSOutlineView.h:166
abstract  void setAutoresizesOutlineColumn(boolean resize)
          Original signature : -(void)setAutoresizesOutlineColumn:(BOOL)
native declaration : NSOutlineView.h:184
abstract  void setAutosaveExpandedItems(boolean save)
          Original signature : -(void)setAutosaveExpandedItems:(BOOL)
native declaration : NSOutlineView.h:205
abstract  void setDataSource(NSOutlineViewDataSource aSource)
          Original signature : -(void)setDataSource:(id)
native declaration : NSOutlineView.h:123
abstract  void setDelegate(NSOutlineViewDelegate anObject)
          Original signature : -(void)setDelegate:(id)
native declaration : NSOutlineView.h:120
abstract  void setDropItem_dropChildIndex(ObjCObject item, NSInteger index)
          To be used from validateDrop: in order to "re-target" the proposed drop.
abstract  void setIndentationMarkerFollowsCell(boolean drawInCell)
          The indentation marker is the visual indicator that shows an item is expandable (i.e. disclosure triangle).
abstract  void setIndentationPerLevel(org.rococoa.cocoa.CGFloat indentationPerLevel)
          Controls the amount of indentation per level.
abstract  void setOutlineTableColumn(NSTableColumn outlineTableColumn)
          The 'outlineTableColumn' is the column that displays data in a hierarchical fashion, indented one identationlevel per level, decorated with indentation marker (disclosure triangle) on rows that are expandable.
abstract  boolean shouldCollapseAutoExpandedItemsForDeposited(boolean deposited)
          This method returns YES to indicate that auto expanded items should return to their original collapsed state.
 
Methods inherited from class org.rococoa.cocoa.appkit.NSTableView
allowsColumnReordering, allowsColumnResizing, cornerView, headerView, setAllowsColumnReordering, setAllowsColumnResizing, setCornerView, setDataSource, setDelegate, setHeaderView
 
Methods inherited from class org.rococoa.cocoa.appkit.NSControl
abortEditing, action, alignment, as_NSControl_NSKeyboardUI, baseWritingDirection, calcSize, cell, currentEditor, doubleValue, drawCell, drawCellInside, floatValue, font, formatter, ignoresMultiClick, integerValue, intValue, isContinuous, isEnabled, mouseDown, objectValue, selectCell, selectedCell, selectedTag, sendAction_to, sendActionOn, setAction, setCell, setContinuous, setDoubleValue, setEnabled, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, setStringValue, setTag, setTarget, sizeToFit, stringValue, tag, takeDoubleValueFrom, takeFloatValueFrom, takeIntegerValueFrom, takeIntValueFrom, takeObjectValueFrom, takeStringValueFrom, target, updateCell, updateCellInside, validateEditing
 
Methods inherited from class org.rococoa.cocoa.appkit.NSView
addSubview, ancestorSharedWithView, as_NSView_NSClipViewSuperview, as_NSView_NSRulerMarkerClientViewDelegation, as_NSView_NSViewEnclosingMenuItem, createWithFrame, getRectsBeingDrawn_count, getRectsBeingDrawn_count, initWithFrame, isDescendantOf, isHidden, isHiddenOrHasHiddenAncestor, needsToDrawRect, opaqueAncestor, setHidden, setSubviews, subviews, superview, viewDidHide, viewDidUnhide, wantsDefaultClipping, window
 
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, 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.appkit.protocols.NSUserInterfaceValidations
validateUserInterfaceItem
 
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
 
Methods inherited from interface org.rococoa.ObjCObject
id
 
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSCoding
encodeWithCoder, initWithCoder
 

Constructor Detail

NSOutlineView

public NSOutlineView()
Method Detail

setDelegate

public abstract void setDelegate(NSOutlineViewDelegate anObject)
Original signature : -(void)setDelegate:(id)
native declaration : NSOutlineView.h:120


delegate

public abstract NSOutlineViewDelegate delegate()
Original signature : -(id)delegate
native declaration : NSOutlineView.h:121

Specified by:
delegate in class NSTableView

setDataSource

public abstract void setDataSource(NSOutlineViewDataSource aSource)
Original signature : -(void)setDataSource:(id)
native declaration : NSOutlineView.h:123


dataSource

public abstract NSOutlineViewDataSource dataSource()
Original signature : -(id)dataSource
native declaration : NSOutlineView.h:124

Specified by:
dataSource in class NSTableView

setOutlineTableColumn

public abstract void setOutlineTableColumn(NSTableColumn outlineTableColumn)
The 'outlineTableColumn' is the column that displays data in a hierarchical fashion, indented one identationlevel per level, decorated with indentation marker (disclosure triangle) on rows that are expandable. A nil 'outlineTableColumn' is silently ignored. On 10.5 and higher, this value is saved in encodeWithCoder: and restored in initWithCoder:.
Original signature : -(void)setOutlineTableColumn:(NSTableColumn*)
native declaration : NSOutlineView.h:128


outlineTableColumn

public abstract NSTableColumn outlineTableColumn()
Original signature : -(NSTableColumn*)outlineTableColumn
native declaration : NSOutlineView.h:129


isExpandable

public abstract boolean isExpandable(ObjCObject item)
Returns YES if 'item' is expandable and can contain other items. May call out to the delegate, if required.
Original signature : -(BOOL)isExpandable:(id)
native declaration : NSOutlineView.h:133


expandItem_expandChildren

public abstract void expandItem_expandChildren(ObjCObject item,
                                               boolean expandChildren)
Expands 'item', if not already expanded, and all children if 'expandChildren' is YES. On 10.5 and higher, passing 'nil' for 'item' will expand each item under the root.
Original signature : -(void)expandItem:(id) expandChildren:(BOOL)
native declaration : NSOutlineView.h:137


expandItem

public abstract void expandItem(ObjCObject item)
Calls expandItem:expandChildren with 'expandChildren == NO'
Original signature : -(void)expandItem:(id)
native declaration : NSOutlineView.h:141


collapseItem_collapseChildren

public abstract void collapseItem_collapseChildren(ObjCObject item,
                                                   boolean collapseChildren)
Collapses 'item' and all children if 'collapseChildren' is YES. On 10.5 and higher, passing 'nil' for 'item' will collapse each item under the root.
Original signature : -(void)collapseItem:(id) collapseChildren:(BOOL)
native declaration : NSOutlineView.h:145


collapseItem

public abstract void collapseItem(ObjCObject item)
Calls collapseItem:collapseChildren with 'collapseChildren == NO'
Original signature : -(void)collapseItem:(id)
native declaration : NSOutlineView.h:149


reloadItem_reloadChildren

public abstract void reloadItem_reloadChildren(ObjCObject item,
                                               boolean reloadChildren)
Reloads 'item' and all children if 'reloadChildren' is YES. On 10.5 and higher, passing 'nil' for 'item' will reload everything under the root item.
Original signature : -(void)reloadItem:(id) reloadChildren:(BOOL)
native declaration : NSOutlineView.h:153


reloadItem

public abstract void reloadItem(ObjCObject item)
Calls reloadItem:reloadChildren with 'reloadChildren == NO'
Original signature : -(void)reloadItem:(id)
native declaration : NSOutlineView.h:157


parentForItem

public abstract NSObject parentForItem(ObjCObject item)
Returns the parent for 'item', or nil, if the parent is the root. Available in 10.4 and higher.
Original signature : -(id)parentForItem:(id)
native declaration : NSOutlineView.h:161


itemAtRow

public abstract NSObject itemAtRow(NSInteger row)
Item/Row translation
Original signature : -(id)itemAtRow:(NSInteger)
native declaration : NSOutlineView.h:165


rowForItem

public abstract NSInteger rowForItem(ObjCObject item)
Original signature : -(NSInteger)rowForItem:(id)
native declaration : NSOutlineView.h:166


levelForItem

public abstract NSInteger levelForItem(ObjCObject item)
Indentation
Original signature : -(NSInteger)levelForItem:(id)
native declaration : NSOutlineView.h:170


levelForRow

public abstract NSInteger levelForRow(NSInteger row)
Original signature : -(NSInteger)levelForRow:(NSInteger)
native declaration : NSOutlineView.h:171


isItemExpanded

public abstract boolean isItemExpanded(ObjCObject item)
Original signature : -(BOOL)isItemExpanded:(id)
native declaration : NSOutlineView.h:172


setIndentationPerLevel

public abstract void setIndentationPerLevel(org.rococoa.cocoa.CGFloat indentationPerLevel)
Controls the amount of indentation per level. Negative values are ignored, and only integral values are accepted. The default value is 16.0.
Original signature : -(void)setIndentationPerLevel:(CGFloat)
native declaration : NSOutlineView.h:176


indentationPerLevel

public abstract org.rococoa.cocoa.CGFloat indentationPerLevel()
Original signature : -(CGFloat)indentationPerLevel
native declaration : NSOutlineView.h:177


setIndentationMarkerFollowsCell

public abstract void setIndentationMarkerFollowsCell(boolean drawInCell)
The indentation marker is the visual indicator that shows an item is expandable (i.e. disclosure triangle). The default value is YES.
Original signature : -(void)setIndentationMarkerFollowsCell:(BOOL)
native declaration : NSOutlineView.h:181


indentationMarkerFollowsCell

public abstract boolean indentationMarkerFollowsCell()
Original signature : -(BOOL)indentationMarkerFollowsCell
native declaration : NSOutlineView.h:182


setAutoresizesOutlineColumn

public abstract void setAutoresizesOutlineColumn(boolean resize)
Original signature : -(void)setAutoresizesOutlineColumn:(BOOL)
native declaration : NSOutlineView.h:184


autoresizesOutlineColumn

public abstract boolean autoresizesOutlineColumn()
Original signature : -(BOOL)autoresizesOutlineColumn
native declaration : NSOutlineView.h:185


frameOfOutlineCellAtRow

public abstract NSRect.ByValue frameOfOutlineCellAtRow(NSInteger row)
Returns the frame of the outline cell for a particular row, considering the current indentation and indentationMarkerFollowsCell value. If 'row' is not an expandable row, it will return NSZeroRect. This method can be overridden by subclassers to return a custom frame for the outline button cell. If an empty rect is returned, no outline cell will be drawn for that row.
Original signature : -(NSRect)frameOfOutlineCellAtRow:(NSInteger)
native declaration : NSOutlineView.h:189


setDropItem_dropChildIndex

public abstract void setDropItem_dropChildIndex(ObjCObject item,
                                                NSInteger index)
To be used from validateDrop: in order to "re-target" the proposed drop. To specify a drop on an item I, one would specify item=I, and index=NSOutlineViewDropOnItemIndex. To specify a drop between child 2 and 3 of an item I, on would specify item=I, and index=3 (children are zero-base indexed). To specify a drop on an un-expandable item I, one would specify item=I, and index=NSOutlineViewDropOnItemIndex.
Original signature : -(void)setDropItem:(id) dropChildIndex:(NSInteger)
native declaration : NSOutlineView.h:196


shouldCollapseAutoExpandedItemsForDeposited

public abstract boolean shouldCollapseAutoExpandedItemsForDeposited(boolean deposited)
This method returns YES to indicate that auto expanded items should return to their original collapsed state. Override this method to provide custom behavior. 'deposited' tells wether or not the drop terminated due to a successful drop (as indicated by the return value from acceptDrop:). Note that exiting the view will be treated the same as a failed drop.
Original signature : -(BOOL)shouldCollapseAutoExpandedItemsForDeposited:(BOOL)
native declaration : NSOutlineView.h:200


autosaveExpandedItems

public abstract boolean autosaveExpandedItems()
Persistence. The value for autosaveExpandedItems is saved out in the nib file on Mac OS 10.5 or higher. The default value is NO. Calling setAutosaveExpandedItems:YES requires you to implement outlineView:itemForPersistentObject: and outlineView:persistentObjectForItem:.
Original signature : -(BOOL)autosaveExpandedItems
native declaration : NSOutlineView.h:204


setAutosaveExpandedItems

public abstract void setAutosaveExpandedItems(boolean save)
Original signature : -(void)setAutosaveExpandedItems:(BOOL)
native declaration : NSOutlineView.h:205


alloc

public static NSOutlineView alloc()

new_

public static NSOutlineView new_()

getNSClass

public static NSOutlineView._class_ getNSClass()


Copyright © 2009. All Rights Reserved.