org.rococoa.cocoa.appkit
Class NSBrowser
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.NSBrowser
- All Implemented Interfaces:
- NSClipViewSuperview, NSControlAttributedStringMethods, NSErrorPresentation, NSInterfaceStyle, NSKeyboardUI, NSRulerMarkerClientViewDelegation, NSStandardKeyBindingMethods, NSUndoSupport, NSViewEnclosingMenuItem, NSAnimatablePropertyContainer, 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 NSBrowser
- extends NSControl
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.
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, 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, 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 |
NSBrowser
public NSBrowser()
cellClass
public static Pointer cellClass()
loadColumnZero
public abstract void loadColumnZero()
isLoaded
public abstract boolean isLoaded()
setDoubleAction
public abstract void setDoubleAction(org.rococoa.Selector aSelector)
doubleAction
public abstract org.rococoa.Selector doubleAction()
setMatrixClass
public abstract void setMatrixClass(Pointer factoryId)
matrixClass
public abstract Pointer matrixClass()
setCellClass
public abstract void setCellClass(Pointer factoryId)
setCellPrototype
public abstract void setCellPrototype(NSCell aCell)
cellPrototype
public abstract NSObject cellPrototype()
setDelegate
public abstract void setDelegate(org.rococoa.ID anObject)
delegate
public abstract NSObject delegate()
setReusesColumns
public abstract void setReusesColumns(boolean flag)
reusesColumns
public abstract boolean reusesColumns()
setHasHorizontalScroller
public abstract void setHasHorizontalScroller(boolean flag)
hasHorizontalScroller
public abstract boolean hasHorizontalScroller()
setSeparatesColumns
public abstract void setSeparatesColumns(boolean flag)
separatesColumns
public abstract boolean separatesColumns()
setTitled
public abstract void setTitled(boolean flag)
isTitled
public abstract boolean isTitled()
setMinColumnWidth
public abstract void setMinColumnWidth(float columnWidth)
minColumnWidth
public abstract float minColumnWidth()
setMaxVisibleColumns
public abstract void setMaxVisibleColumns(int columnCount)
maxVisibleColumns
public abstract int maxVisibleColumns()
setAllowsMultipleSelection
public abstract void setAllowsMultipleSelection(boolean flag)
allowsMultipleSelection
public abstract boolean allowsMultipleSelection()
setAllowsBranchSelection
public abstract void setAllowsBranchSelection(boolean flag)
allowsBranchSelection
public abstract boolean allowsBranchSelection()
setAllowsEmptySelection
public abstract void setAllowsEmptySelection(boolean flag)
allowsEmptySelection
public abstract boolean allowsEmptySelection()
setTakesTitleFromPreviousColumn
public abstract void setTakesTitleFromPreviousColumn(boolean flag)
takesTitleFromPreviousColumn
public abstract boolean takesTitleFromPreviousColumn()
setAcceptsArrowKeys
public abstract void setAcceptsArrowKeys(boolean flag)
acceptsArrowKeys
public abstract boolean acceptsArrowKeys()
setSendsActionOnArrowKeys
public abstract void setSendsActionOnArrowKeys(boolean flag)
sendsActionOnArrowKeys
public abstract boolean sendsActionOnArrowKeys()
setTitle_ofColumn
public abstract void setTitle_ofColumn(NSString aString,
int column)
titleOfColumn
public abstract NSString titleOfColumn(int column)
setPathSeparator
public abstract void setPathSeparator(NSString newString)
pathSeparator
public abstract NSString pathSeparator()
setPath
public abstract boolean setPath(NSString path)
path
public abstract NSString path()
pathToColumn
public abstract NSString pathToColumn(int column)
selectedColumn
public abstract int selectedColumn()
selectedCell
public abstract NSObject selectedCell()
- Specified by:
selectedCell
in class NSControl
selectedCellInColumn
public abstract NSObject selectedCellInColumn(int column)
selectedCells
public abstract NSArray selectedCells()
selectRow_inColumn
public abstract void selectRow_inColumn(int row,
int column)
selectedRowInColumn
public abstract int selectedRowInColumn(int column)
selectRowIndexes_inColumn
public abstract void selectRowIndexes_inColumn(NSIndexSet indexes,
int column)
- Sets the selected row 'indexes' in the matrix located at 'column'.
Original signature : -(void)selectRowIndexes:(NSIndexSet*) inColumn:(NSInteger)
selectedRowIndexesInColumn
public abstract NSIndexSet selectedRowIndexesInColumn(int column)
- Returns the selected cell indexes in the matrix located at 'column'.
Original signature : -(NSIndexSet*)selectedRowIndexesInColumn:(NSInteger)
reloadColumn
public abstract void reloadColumn(int column)
validateVisibleColumns
public abstract void validateVisibleColumns()
scrollColumnsRightBy
public abstract void scrollColumnsRightBy(int shiftAmount)
scrollColumnsLeftBy
public abstract void scrollColumnsLeftBy(int shiftAmount)
scrollColumnToVisible
public abstract void scrollColumnToVisible(int column)
setLastColumn
public abstract void setLastColumn(int column)
lastColumn
public abstract int lastColumn()
addColumn
public abstract void addColumn()
numberOfVisibleColumns
public abstract int numberOfVisibleColumns()
firstVisibleColumn
public abstract int firstVisibleColumn()
lastVisibleColumn
public abstract int lastVisibleColumn()
columnOfMatrix
public abstract int columnOfMatrix(NSMatrix matrix)
matrixInColumn
public abstract NSMatrix matrixInColumn(int column)
loadedCellAtRow_column
public abstract NSObject loadedCellAtRow_column(int row,
int col)
selectAll
public abstract void selectAll(org.rococoa.ID sender)
tile
public abstract void tile()
doClick
public abstract void doClick(org.rococoa.ID sender)
doDoubleClick
public abstract void doDoubleClick(org.rococoa.ID sender)
sendAction
public abstract boolean sendAction()
titleFrameOfColumn
public abstract NSObject titleFrameOfColumn(int column)
titleHeight
public abstract float titleHeight()
frameOfColumn
public abstract NSObject frameOfColumn(int column)
frameOfInsideOfColumn
public abstract NSObject frameOfInsideOfColumn(int column)
columnWidthForColumnContentWidth
public abstract float columnWidthForColumnContentWidth(float columnContentWidth)
- These methods convert between column width (the column's scrollview), and the content width (the matrix in the scrollview). For example, to guarantee that 16 pixels of your browser cell are always visible, call [browser setMinColumnWidth: [browser columnWidthForColumnContentWidth:16]]
Original signature : -(CGFloat)columnWidthForColumnContentWidth:(CGFloat)
columnContentWidthForColumnWidth
public abstract float columnContentWidthForColumnWidth(float columnWidth)
setColumnResizingType
public abstract void setColumnResizingType(int columnResizingType)
- Default is NSBrowserAutoColumnResizing. This setting is persistent.
Original signature : -(void)setColumnResizingType:(NSBrowserColumnResizingType)
- Parameters:
columnResizingType
- @see org.rococoa.cocoa.appkit.AppKitLibrary#NSBrowserColumnResizingType
columnResizingType
public abstract int columnResizingType()
setPrefersAllColumnUserResizing
public abstract void setPrefersAllColumnUserResizing(boolean prefersAllColumnResizing)
- Default is NO. This setting is persistent. This setting only applies to NSBrowserUserColumnResizing type browsers. If YES, the browser defaults to resizing all columns simultaneously, otherwise it defaults to single column resizing. Holding down the option key while resizing switches the type of resizing used.
Original signature : -(void)setPrefersAllColumnUserResizing:(BOOL)
prefersAllColumnUserResizing
public abstract boolean prefersAllColumnUserResizing()
setWidth_ofColumn
public abstract void setWidth_ofColumn(float columnWidth,
int columnIndex)
- setWidth:ofColumn: does nothing if columnResizingType is NSBrowserAutoColumnResizing. Otherwise, Sets the width of the specified column. To set the default width for new columns (which don't otherwise have initial width from defaults or via the delegate), use columnIndex of -1. The value set for columnIndex of -1 is persistent. NSBrowserColumnConfigurationDidChangeNotification will be posted (not immediately) if necessary. The receiver will autosave its column configuration if necessary.
Original signature : -(void)setWidth:(CGFloat) ofColumn:(NSInteger)
widthOfColumn
public abstract float widthOfColumn(int column)
setColumnsAutosaveName
public abstract void setColumnsAutosaveName(NSString name)
- Sets the name used to automatically save the receivers column configuration. This setting is persistent. If name is different from the current name, this method also reads in the saved column configuration for the new name and applies the values to the browser. Column configuration is defined as an array of column content widths. One width is saved for each level the user has reached. That is, browser saves column width based on depth, not based on unique paths. To do more complex column persistence, you should register for NSBrowserColumnConfigurationDidChangeNotifications and handle persistence yourself.
Original signature : -(void)setColumnsAutosaveName:(NSString*)
columnsAutosaveName
public abstract NSString columnsAutosaveName()
removeSavedColumnsWithAutosaveName
public static void removeSavedColumnsWithAutosaveName(NSString name)
- Removes the column data stored under name from the applications user defaults.
Original signature : +(void)removeSavedColumnsWithAutosaveName:(NSString*)
canDragRowsWithIndexes_inColumn_withEvent
public abstract boolean canDragRowsWithIndexes_inColumn_withEvent(NSIndexSet rowIndexes,
int column,
NSEvent event)
- The return value indicates whether the receiver can attempt to initiate a drag for the given event. You can override this method and return NO to disallow initiating drags at the location in the given event. By default, the method will return YES if rowIndexes contains at least one item, and each item is enabled. If the equivalent delegate method is present, it will be preferred over this method, and you can safely call this method from your delegate.
Original signature : -(BOOL)canDragRowsWithIndexes:(NSIndexSet*) inColumn:(NSInteger) withEvent:(NSEvent*)
allowsTypeSelect
public abstract boolean allowsTypeSelect()
- Allow type selection in this NSBrowser. The default for 'allowsTypeSelect' is YES.
Original signature : -(BOOL)allowsTypeSelect
setAllowsTypeSelect
public abstract void setAllowsTypeSelect(boolean value)
setBackgroundColor
public abstract void setBackgroundColor(NSColor color)
- The background color to be drawn. By default, it will be set [NSColor whiteColor]. You can use [NSColor clearColor] to make the background transparent. NSBrowser will return YES from isOpaque if the backgroundColor has an alphaComponent of 1.0 and it doesn't have a title, otherwise, it will return NO. Calling setBackgroundColor: will cause all NSMatrix instances have setDrawsBackground:NO be called in order for the NSBrowser's background color to show through. When drawing with the background color, NSCompositeSourceOver is used for the compositing operation.
Original signature : -(void)setBackgroundColor:(NSColor*)
backgroundColor
public abstract NSColor backgroundColor()
displayColumn
public abstract void displayColumn(int column)
- Use of -displayColumn: is deprecated in 10.3. Use setNeedsDisplayInRect: instead.
Original signature : -(void)displayColumn:(NSInteger)
displayAllColumns
public abstract void displayAllColumns()
- Use of -displayAllColumns; is deprecated in 10.3. Use setNeedsDisplay/InRect: instead.
Original signature : -(void)displayAllColumns
scrollViaScroller
public abstract void scrollViaScroller(NSScroller sender)
- Use of -scrollViaScroller: is deprecated in 10.3. Continuous scrolling no longer requires this functionality.
Original signature : -(void)scrollViaScroller:(NSScroller*)
updateScroller
public abstract void updateScroller()
- Use of -updateScroller is deprecated in 10.3. Continuous scrolling no longer requires this functionality.
Original signature : -(void)updateScroller
alloc
public static NSBrowser alloc()