org.rococoa.cocoa.appkit
Class NSOutlineView
java.lang.Object
org.rococoa.cocoa.foundation.NSObject
org.rococoa.cocoa.appkit.NSResponder
org.rococoa.cocoa.appkit.NSView
org.rococoa.cocoa.appkit.NSControl
org.rococoa.cocoa.appkit.NSTableView
org.rococoa.cocoa.appkit.NSOutlineView
- All Implemented Interfaces:
- NSClipViewSuperview, NSControlAttributedStringMethods, NSErrorPresentation, NSInterfaceStyle, NSKeyboardUI, NSRulerMarkerClientViewDelegation, NSStandardKeyBindingMethods, NSUndoSupport, NSViewEnclosingMenuItem, NSAnimatablePropertyContainer, NSUserInterfaceValidations, ABActionDelegate, AMWorkflowControllerDelegate, IMVideoDataSource, NSAccessibility, NSAccessibilityAdditions, NSAnimationDelegate, NSApplicationScriptingDelegation, NSArchiverCallback, NSBrowserDelegate, NSClassDescriptionPrimitives, NSCoderMethods, NSColorPanelResponderMethod, NSComboBoxCellDataSource, NSComboBoxDataSource, NSComboBoxNotifications, NSComparisonMethods, NSConnectionDelegateMethods, NSControlSubclassDelegate, NSControlSubclassNotifications, NSCopyLinkMoveHandler, NSDatePickerCellDelegate, NSDelayedPerforming, NSDeprecatedKeyValueCoding, NSDeprecatedKeyValueObservingCustomization, NSDeprecatedMethods, NSDictionaryControllerKeyValuePair, NSDistantObjectRequestMethods, NSDistributedObjects, NSDraggingDestination, NSDraggingSource, NSDrawerDelegate, NSDrawerNotifications, NSEditor, NSEditorRegistration, NSErrorRecoveryAttempting, NSExceptionHandlerDelegate, NSFileManagerFileOperationAdditions, NSFontManagerDelegate, NSFontManagerResponderMethod, NSFontPanelValidationAdditions, NSImageDelegate, NSKeyedArchiverDelegate, NSKeyedArchiverObjectSubstitution, NSKeyedUnarchiverDelegate, NSKeyedUnarchiverObjectSubstitution, NSKeyValueBindingCreation, NSKeyValueCoding, NSKeyValueObserverNotification, NSKeyValueObserverRegistration, NSKeyValueObserving, NSKeyValueObservingCustomization, NSLayoutManagerDelegate, NSMenuDelegate, NSMenuValidation, NSMetadataQueryDelegate, NSNetServiceBrowserDelegateMethods, NSNetServiceDelegateMethods, NSNibAwaking, NSOutlineViewDataSource, NSOutlineViewDelegate, NSOutlineViewNotifications, NSPasteboardOwner, NSPlaceholders, NSPortDelegateMethods, NSRuleEditorDelegateMethods, NSSavePanelDelegate, NSScriptClassDescription, NSScripting, NSScriptingComparisonMethods, NSScriptKeyValueCoding, NSScriptObjectSpecifiers, NSSoundDelegateMethods, NSSpeechRecognizerDelegate, NSSpeechSynthesizerDelegate, NSSpellServerDelegate, NSSplitViewDelegate, NSStreamDelegateEventExtensions, NSTabViewDelegate, NSTextDelegate, NSTextViewDelegate, NSThreadPerformAdditions, NSTokenFieldCellDelegate, NSTokenFieldDelegate, NSToolbarDelegate, NSToolbarNotifications, NSURLClient, NSURLConnectionDelegate, NSURLDownloadDelegate, NSWindowDelegate, NSWindowNotifications, NSXMLParserDelegateEventAdditions, QTCaptureDecompressedVideoOutputDelegate, QTCaptureFileOutputDelegate, QTCaptureVideoPreviewOutputDelegate, QTCaptureViewDelegate, QTMovieDelegate, QTMovieViewDelegate, SFAuthorizationViewDelegate, SFCertificatePanelDelegate, SFChooseIdentityPanelDelegate, WebDownloadDelegate, WebFrameLoadDelegate, WebJavaPlugIn, WebPlugIn, WebPlugInContainer, WebPolicyDelegate, WebResourceLoadDelegate, WebScripting, WebUIDelegate, WebViewEditingDelegate, NSCoding, NSObject
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.
Method Summary |
static NSOutlineView |
alloc()
|
abstract boolean |
autoresizesOutlineColumn()
|
abstract boolean |
autosaveExpandedItems()
Persistence. |
abstract void |
collapseItem_collapseChildren(org.rococoa.ID item,
boolean collapseChildren)
Collapses 'item' and all children if 'collapseChildren' is YES. |
abstract void |
collapseItem(org.rococoa.ID item)
Calls collapseItem:collapseChildren with 'collapseChildren == NO'
Original signature : -(void)collapseItem:(id) |
abstract void |
expandItem_expandChildren(org.rococoa.ID item,
boolean expandChildren)
Expands 'item', if not already expanded, and all children if 'expandChildren' is YES. |
abstract void |
expandItem(org.rococoa.ID item)
Calls expandItem:expandChildren with 'expandChildren == NO'
Original signature : -(void)expandItem:(id) |
abstract NSRect.ByValue |
frameOfOutlineCellAtRow(int row)
Returns the frame of the outline cell for a particular row, considering the current indentation and indentationMarkerFollowsCell value. |
abstract boolean |
indentationMarkerFollowsCell()
|
abstract float |
indentationPerLevel()
|
abstract boolean |
isExpandable(org.rococoa.ID item)
Returns YES if 'item' is expandable and can contain other items. |
abstract boolean |
isItemExpanded(org.rococoa.ID item)
|
abstract NSObject |
itemAtRow(int row)
Item/Row translation
Original signature : -(id)itemAtRow:(NSInteger) |
abstract int |
levelForItem(org.rococoa.ID item)
Indentation
Original signature : -(NSInteger)levelForItem:(id) |
abstract int |
levelForRow(int row)
|
abstract NSTableColumn |
outlineTableColumn()
|
abstract NSObject |
parentForItem(org.rococoa.ID item)
Returns the parent for 'item', or nil, if the parent is the root. |
abstract void |
reloadItem_reloadChildren(org.rococoa.ID item,
boolean reloadChildren)
Reloads 'item' and all children if 'reloadChildren' is YES. |
abstract void |
reloadItem(org.rococoa.ID item)
Calls reloadItem:reloadChildren with 'reloadChildren == NO'
Original signature : -(void)reloadItem:(id) |
abstract int |
rowForItem(org.rococoa.ID item)
|
abstract void |
setAutoresizesOutlineColumn(boolean resize)
|
abstract void |
setAutosaveExpandedItems(boolean save)
|
abstract void |
setDropItem_dropChildIndex(org.rococoa.ID item,
int 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(float indentationPerLevel)
The indentation amount per level defaults to 16.0. |
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, dataSource, delegate, headerView, setAllowsColumnReordering, setAllowsColumnResizing, setCornerView, setDataSource, setDelegate, setHeaderView |
Methods inherited from class org.rococoa.cocoa.appkit.NSControl |
abortEditing, action, alignment, 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, setFloatingPointFormat_left_right, setFloatValue, setFont, setFormatter, setIgnoresMultiClick, setIntegerValue, setIntValue, setNeedsDisplay, setObjectValue, 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, 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, becomeFirstResponder, cursorUpdate, flagsChanged, flushBufferedKeyEvents, helpRequested, interpretKeyEvents, keyDown, keyUp, menu, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseUp, nextResponder, noResponderFor, otherMouseDown, otherMouseDragged, otherMouseUp, performKeyEquivalent, resignFirstResponder, rightMouseDown, rightMouseDragged, rightMouseUp, scrollWheel, setMenu, setNextResponder, shouldBeTreatedAsInkEvent, showContextHelp, tabletPoint, tabletProximity, tryToPerform_with, validRequestorForSendType_returnType |
Methods inherited from class org.rococoa.cocoa.foundation.NSObject |
copy, create, dealloc, description, doesNotRecognizeSelector, finalize, forwardInvocation, id, init, isKindOfClass, isKindOfClass, methodSignatureForSelector, mutableCopy, release, retain, retainCount |
Methods inherited from interface org.rococoa.cocoa.appkit.categories.NSStandardKeyBindingMethods |
cancelOperation, capitalizeWord, centerSelectionInVisibleArea, changeCaseOfLetter, complete, deleteBackward, deleteBackwardByDecomposingPreviousCharacter, deleteForward, deleteToBeginningOfLine, deleteToBeginningOfParagraph, deleteToEndOfLine, deleteToEndOfParagraph, deleteToMark, deleteWordBackward, deleteWordForward, doCommandBySelector, indent, insertBacktab, insertContainerBreak, insertLineBreak, insertNewline, insertNewlineIgnoringFieldEditor, insertParagraphSeparator, insertTab, insertTabIgnoringFieldEditor, insertText, lowercaseWord, moveBackward, moveBackwardAndModifySelection, moveDown, moveDownAndModifySelection, moveForward, moveForwardAndModifySelection, moveLeft, moveLeftAndModifySelection, moveRight, moveRightAndModifySelection, moveToBeginningOfDocument, moveToBeginningOfLine, moveToBeginningOfParagraph, moveToEndOfDocument, moveToEndOfLine, moveToEndOfParagraph, moveUp, moveUpAndModifySelection, moveWordBackward, moveWordBackwardAndModifySelection, moveWordForward, moveWordForwardAndModifySelection, moveWordLeft, moveWordLeftAndModifySelection, moveWordRight, moveWordRightAndModifySelection, pageDown, pageUp, scrollLineDown, scrollLineUp, scrollPageDown, scrollPageUp, selectAll, selectLine, selectParagraph, selectToMark, selectWord, setMark, swapWithMark, transpose, transposeWords, uppercaseWord, yank |
Methods inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject |
autorelease, class_, conformsToProtocol, hash, isEqual, isKindOfClass, isMemberOfClass, isProxy, performSelector_withObject_withObject, performSelector_withObject, performSelector, respondsToSelector, self, superclass, zone |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebUIDelegate |
webView_contextMenuItemsForElement_defaultMenuItems, webView_createWebViewModalDialogWithRequest, webView_createWebViewWithRequest, webView_dragDestinationActionMaskForDraggingInfo, webView_dragDestinationActionMaskForDraggingInfo, webView_makeFirstResponder, webView_mouseDidMoveOverElement_modifierFlags, webView_printFrameView, webView_runBeforeUnloadConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage_initiatedByFrame, webView_runJavaScriptAlertPanelWithMessage, webView_runJavaScriptConfirmPanelWithMessage_initiatedByFrame, webView_runJavaScriptConfirmPanelWithMessage, webView_runJavaScriptTextInputPanelWithPrompt_defaultText_initiatedByFrame, webView_runJavaScriptTextInputPanelWithPrompt_defaultText, webView_runOpenPanelForFileButtonWithResultListener, webView_runOpenPanelForFileButtonWithResultListener, webView_setResizable, webView_setStatusBarVisible, webView_setStatusText, webView_setToolbarsVisible, webView_shouldPerformAction_fromSender, webView_validateUserInterfaceItem_defaultValidation, webView_validateUserInterfaceItem_defaultValidation, webView_willPerformDragDestinationAction_forDraggingInfo, webView_willPerformDragDestinationAction_forDraggingInfo, webViewAreToolbarsVisible, webViewClose, webViewContentRect, webViewFirstResponder, webViewFocus, webViewFooterHeight, webViewFrame, webViewHeaderHeight, webViewIsResizable, webViewIsStatusBarVisible, webViewRunModal, webViewShow, webViewStatusText, webViewUnfocus |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSBrowserDelegate |
browser_acceptDrop_atRow_column_dropOperation, browser_acceptDrop_atRow_column_dropOperation, browser_canDragRowsWithIndexes_inColumn_withEvent, browser_createRowsForColumn_inMatrix, browser_isColumnValid, browser_namesOfPromisedFilesDroppedAtDestination_forDraggedRowsWithIndexes_inColumn, browser_nextTypeSelectMatchFromRow_toRow_inColumn_forString, browser_numberOfRowsInColumn, browser_selectCellWithString_inColumn, browser_selectRow_inColumn, browser_shouldShowCellExpansionForRow_column, browser_shouldSizeColumn_forUserResize_toWidth, browser_shouldTypeSelectForEvent_withCurrentSearchString, browser_sizeToFitWidthOfColumn, browser_titleOfColumn, browser_typeSelectStringForRow_inColumn, browser_validateDrop_proposedRow_column_dropOperation, browser_validateDrop_proposedRow_column_dropOperation, browser_willDisplayCell_atRow_column, browser_writeRowsWithIndexes_inColumn_toPasteboard, browserColumnConfigurationDidChange, browserDidScroll, browserWillScroll |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSKeyValueCoding |
dictionaryWithValuesForKeys, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, setNilValueForKey, setValue_forKey, setValue_forKeyPath, setValue_forUndefinedKey, setValuesForKeysWithDictionary, validateValue_forKey_error, validateValue_forKeyPath_error, valueForKey, valueForKeyPath, valueForUndefinedKey |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDelegate |
outlineView_dataCellForTableColumn_item, outlineView_didClickTableColumn, outlineView_didDragTableColumn, outlineView_heightOfRowByItem, outlineView_isGroupItem, outlineView_mouseDownInHeaderOfTableColumn, outlineView_nextTypeSelectMatchFromItem_toItem_forString, outlineView_selectionIndexesForProposedSelection, outlineView_shouldCollapseItem, outlineView_shouldEditTableColumn_item, outlineView_shouldExpandItem, outlineView_shouldSelectItem, outlineView_shouldSelectTableColumn, outlineView_shouldShowCellExpansionForTableColumn_item, outlineView_shouldTrackCell_forTableColumn_item, outlineView_shouldTypeSelectForEvent_withCurrentSearchString, outlineView_typeSelectStringForTableColumn_item, outlineView_willDisplayCell_forTableColumn_item, outlineView_willDisplayOutlineCell_forTableColumn_item, selectionShouldChangeInOutlineView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebViewEditingDelegate |
undoManagerForWebView, webView_doCommandBySelector, webView_shouldApplyStyle_toElementsInDOMRange, webView_shouldBeginEditingInDOMRange, webView_shouldChangeTypingStyle_toStyle, webView_shouldDeleteDOMRange, webView_shouldEndEditingInDOMRange, webView_shouldInsertNode_replacingDOMRange_givenAction, webView_shouldInsertText_replacingDOMRange_givenAction, webViewDidBeginEditing, webViewDidChange, webViewDidChangeSelection, webViewDidChangeTypingStyle, webViewDidEndEditing |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.WebFrameLoadDelegate |
webView_didCancelClientRedirectForFrame, webView_didChangeLocationWithinPageForFrame, webView_didClearWindowObject_forFrame, webView_didCommitLoadForFrame, webView_didFailLoadWithError_forFrame, webView_didFailProvisionalLoadWithError_forFrame, webView_didFinishLoadForFrame, webView_didReceiveIcon_forFrame, webView_didReceiveServerRedirectForProvisionalLoadForFrame, webView_didReceiveTitle_forFrame, webView_didStartProvisionalLoadForFrame, webView_willCloseFrame, webView_windowScriptObjectAvailable |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldDelegate |
tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenField_displayStringForRepresentedObject, tokenField_editingStringForRepresentedObject, tokenField_hasMenuForRepresentedObject, tokenField_menuForRepresentedObject, tokenField_readFromPasteboard, tokenField_representedObjectForEditingString, tokenField_shouldAddObjects_atIndex, tokenField_styleForRepresentedObject, tokenField_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSXMLParserDelegateEventAdditions |
parser_didEndElement_namespaceURI_qualifiedName, parser_didEndMappingPrefix, parser_didStartElement_namespaceURI_qualifiedName_attributes, parser_didStartMappingPrefix_toURI, parser_foundAttributeDeclarationWithName_forElement_type_defaultValue, parser_foundCDATA, parser_foundCharacters, parser_foundComment, parser_foundElementDeclarationWithName_model, parser_foundExternalEntityDeclarationWithName_publicID_systemID, parser_foundIgnorableWhitespace, parser_foundInternalEntityDeclarationWithName_value, parser_foundNotationDeclarationWithName_publicID_systemID, parser_foundProcessingInstructionWithTarget_data, parser_foundUnparsedEntityDeclarationWithName_publicID_systemID_notationName, parser_parseErrorOccurred, parser_resolveExternalEntityName_systemID, parser_validationErrorOccurred, parserDidEndDocument, parserDidStartDocument |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSDraggingDestination |
concludeDragOperation, concludeDragOperation, draggingEnded, draggingEnded, draggingEntered, draggingEntered, draggingExited, draggingExited, draggingUpdated, draggingUpdated, performDragOperation, performDragOperation, prepareForDragOperation, prepareForDragOperation, wantsPeriodicDraggingUpdates |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSOutlineViewDataSource |
outlineView_acceptDrop_item_childIndex, outlineView_acceptDrop_item_childIndex, outlineView_child_ofItem, outlineView_isItemExpandable, outlineView_itemForPersistentObject, outlineView_namesOfPromisedFilesDroppedAtDestination_forDraggedItems, outlineView_numberOfChildrenOfItem, outlineView_objectValueForTableColumn_byItem, outlineView_persistentObjectForItem, outlineView_setObjectValue_forTableColumn_byItem, outlineView_sortDescriptorsDidChange, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_validateDrop_proposedItem_proposedChildIndex, outlineView_writeItems_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSURLDownloadDelegate |
download_decideDestinationWithSuggestedFilename, download_didCancelAuthenticationChallenge, download_didCreateDestination, download_didFailWithError, download_didReceiveAuthenticationChallenge, download_didReceiveDataOfLength, download_didReceiveResponse, download_shouldDecodeSourceDataOfMIMEType, download_willResumeWithResponse_fromByte, download_willSendRequest_redirectResponse, downloadDidBegin, downloadDidFinish |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSAccessibility |
accessibilityActionDescription, accessibilityActionNames, accessibilityAttributeNames, accessibilityAttributeValue_forParameter, accessibilityAttributeValue, accessibilityFocusedUIElement, accessibilityIsAttributeSettable, accessibilityIsIgnored, accessibilityParameterizedAttributeNames, accessibilityPerformAction, accessibilitySetValue_forAttribute |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTextViewDelegate |
textView_clickedOnLink_atIndex, textView_clickedOnLink, textView_doCommandBySelector, textView_menu_forEvent_atIndex, textView_shouldChangeTextInRanges_replacementStrings, textView_shouldChangeTypingAttributes_toAttributes, textView_willChangeSelectionFromCharacterRanges_toCharacterRanges, textView_willDisplayToolTip_forCharacterAtIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writablePasteboardTypesForCell_atIndex, textView_writeCell_atIndex_toPasteboard_type, textView_writeCell_atIndex_toPasteboard_type, textViewDidChangeSelection, textViewDidChangeTypingAttributes, undoManagerForTextView |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSTokenFieldCellDelegate |
tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_completionsForSubstring_indexOfToken_indexOfSelectedItem, tokenFieldCell_displayStringForRepresentedObject, tokenFieldCell_editingStringForRepresentedObject, tokenFieldCell_hasMenuForRepresentedObject, tokenFieldCell_menuForRepresentedObject, tokenFieldCell_readFromPasteboard, tokenFieldCell_representedObjectForEditingString, tokenFieldCell_shouldAddObjects_atIndex, tokenFieldCell_styleForRepresentedObject, tokenFieldCell_writeRepresentedObjects_toPasteboard |
Methods inherited from interface org.rococoa.cocoa.foundation.categories.NSWindowNotifications |
windowDidBecomeKey, windowDidBecomeMain, windowDidChangeScreen, windowDidChangeScreenProfile, windowDidDeminiaturize, windowDidEndSheet, windowDidExpose, windowDidMiniaturize, windowDidMove, windowDidResignKey, windowDidResignMain, windowDidResize, windowDidUpdate, windowWillBeginSheet, windowWillClose, windowWillMiniaturize, windowWillMove |
NSOutlineView
public NSOutlineView()
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. On MacOS 10.5, this value is saved in encodeWithCoder: and restored in initWithCoder:;
Original signature : -(void)setOutlineTableColumn:(NSTableColumn*)
outlineTableColumn
public abstract NSTableColumn outlineTableColumn()
isExpandable
public abstract boolean isExpandable(org.rococoa.ID 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)
expandItem_expandChildren
public abstract void expandItem_expandChildren(org.rococoa.ID 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)
expandItem
public abstract void expandItem(org.rococoa.ID item)
- Calls expandItem:expandChildren with 'expandChildren == NO'
Original signature : -(void)expandItem:(id)
collapseItem_collapseChildren
public abstract void collapseItem_collapseChildren(org.rococoa.ID 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)
collapseItem
public abstract void collapseItem(org.rococoa.ID item)
- Calls collapseItem:collapseChildren with 'collapseChildren == NO'
Original signature : -(void)collapseItem:(id)
reloadItem_reloadChildren
public abstract void reloadItem_reloadChildren(org.rococoa.ID 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)
reloadItem
public abstract void reloadItem(org.rococoa.ID item)
- Calls reloadItem:reloadChildren with 'reloadChildren == NO'
Original signature : -(void)reloadItem:(id)
parentForItem
public abstract NSObject parentForItem(org.rococoa.ID item)
- Returns the parent for 'item', or nil, if the parent is the root.
Original signature : -(id)parentForItem:(id)
itemAtRow
public abstract NSObject itemAtRow(int row)
- Item/Row translation
Original signature : -(id)itemAtRow:(NSInteger)
rowForItem
public abstract int rowForItem(org.rococoa.ID item)
levelForItem
public abstract int levelForItem(org.rococoa.ID item)
- Indentation
Original signature : -(NSInteger)levelForItem:(id)
levelForRow
public abstract int levelForRow(int row)
isItemExpanded
public abstract boolean isItemExpanded(org.rococoa.ID item)
setIndentationPerLevel
public abstract void setIndentationPerLevel(float indentationPerLevel)
- The indentation amount per level defaults to 16.0.
Original signature : -(void)setIndentationPerLevel:(CGFloat)
indentationPerLevel
public abstract float indentationPerLevel()
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)
indentationMarkerFollowsCell
public abstract boolean indentationMarkerFollowsCell()
setAutoresizesOutlineColumn
public abstract void setAutoresizesOutlineColumn(boolean resize)
autoresizesOutlineColumn
public abstract boolean autoresizesOutlineColumn()
frameOfOutlineCellAtRow
public abstract NSRect.ByValue frameOfOutlineCellAtRow(int 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)
setDropItem_dropChildIndex
public abstract void setDropItem_dropChildIndex(org.rococoa.ID item,
int 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)
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)
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
setAutosaveExpandedItems
public abstract void setAutosaveExpandedItems(boolean save)
alloc
public static NSOutlineView alloc()