org.rococoa.cocoa.appkit
Class NSBrowser

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.NSBrowser
All Implemented Interfaces:
NSCoding, NSObject, ObjCObject

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.


Nested Class Summary
static class NSBrowser._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.foundation.protocols.NSCoding
NSCoding._static_
 
Nested classes/interfaces inherited from interface org.rococoa.cocoa.foundation.protocols.NSObject
NSObject._static_
 
Constructor Summary
NSBrowser()
           
 
Method Summary
abstract  void addColumn()
          Adds a column at the end.
static NSBrowser alloc()
           
abstract  boolean allowsBranchSelection()
          Original signature : -(BOOL)allowsBranchSelection
native declaration : NSBrowser.h:169
abstract  boolean allowsEmptySelection()
          Original signature : -(BOOL)allowsEmptySelection
native declaration : NSBrowser.h:171
abstract  boolean allowsMultipleSelection()
          Original signature : -(BOOL)allowsMultipleSelection
native declaration : NSBrowser.h:167
abstract  boolean allowsTypeSelect()
          Allow type selection in this NSBrowser.
abstract  boolean autohidesScroller()
          Original signature : -(BOOL)autohidesScroller
native declaration : NSBrowser.h:155
abstract  NSColor backgroundColor()
          Original signature : -(NSColor*)backgroundColor
native declaration : NSBrowser.h:379
abstract  boolean canDragRowsWithIndexes_inColumn_withEvent(NSIndexSet rowIndexes, NSInteger column, NSEvent event)
          The return value indicates whether the receiver can attempt to initiate a drag for the given event.
static ObjCClass cellClass()
          Original signature : +(Class)cellClass
native declaration : NSBrowser.h:135
abstract  NSObject cellPrototype()
          Original signature : -(id)cellPrototype
native declaration : NSBrowser.h:146
abstract  NSInteger clickedColumn()
          Returns the column and row clicked on to display a context menu.
abstract  NSInteger clickedRow()
          Original signature : -(NSInteger)clickedRow
native declaration : NSBrowser.h:217
abstract  org.rococoa.cocoa.CGFloat columnContentWidthForColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
          Original signature : -(CGFloat)columnContentWidthForColumnWidth:(CGFloat)
native declaration : NSBrowser.h:312
abstract  NSInteger columnOfMatrix(NSMatrix matrix)
          Returns the column that matrix represents.
abstract  int columnResizingType()
          Original signature : -(NSBrowserColumnResizingType)columnResizingType
native declaration : NSBrowser.h:317
abstract  NSString columnsAutosaveName()
          Original signature : -(NSString*)columnsAutosaveName
native declaration : NSBrowser.h:347
abstract  org.rococoa.cocoa.CGFloat columnWidthForColumnContentWidth(org.rococoa.cocoa.CGFloat columnContentWidth)
          These methods convert between column width (the column's scrollview), and the content width (the matrix in the scrollview).
abstract  org.rococoa.cocoa.CGFloat defaultColumnWidth()
          Original signature : -(CGFloat)defaultColumnWidth
native declaration : NSBrowser.h:342
abstract  NSBrowserDelegate delegate()
          Original signature : -(id)delegate
native declaration : NSBrowser.h:148
abstract  void doClick(ObjCObject sender)
          Original signature : -(void)doClick:(id)
native declaration : NSBrowser.h:291
abstract  void doDoubleClick(ObjCObject sender)
          Original signature : -(void)doDoubleClick:(id)
native declaration : NSBrowser.h:292
abstract  Selector doubleAction()
          Original signature : -(SEL)doubleAction
native declaration : NSBrowser.h:141
abstract  void editItemAtIndexPath_withEvent_select(NSIndexPath indexPath, NSEvent theEvent, boolean select)
          Begins editing the item at the specified path. theEvent may be nil if programatically editing.
abstract  NSInteger firstVisibleColumn()
          Original signature : -(NSInteger)firstVisibleColumn
native declaration : NSBrowser.h:277
abstract  NSObject frameOfColumn(NSInteger column)
          Original signature : -(id)frameOfColumn:(NSInteger)
native declaration : NSBrowser.h:298
abstract  NSObject frameOfInsideOfColumn(NSInteger column)
          Original signature : -(id)frameOfInsideOfColumn:(NSInteger)
native declaration : NSBrowser.h:299
abstract  NSObject frameOfRow_inColumn(NSInteger row, NSInteger column)
          Returns the frame of the row at 'row' / 'column' including the area for the expandable arrow.
static NSBrowser._class_ getNSClass()
           
abstract  boolean hasHorizontalScroller()
          Original signature : -(BOOL)hasHorizontalScroller
native declaration : NSBrowser.h:153
abstract  NSIndexPath indexPathForColumn(NSInteger column)
          Returns the index path of the item whose children are displayed in the given column.
abstract  boolean isLeafItem(ObjCObject item)
          Returns whether the given item is a leaf item.
abstract  boolean isLoaded()
          Original signature : -(BOOL)isLoaded
native declaration : NSBrowser.h:138
abstract  boolean isTitled()
          Original signature : -(BOOL)isTitled
native declaration : NSBrowser.h:159
abstract  NSObject itemAtIndexPath(NSIndexPath indexPath)
          Returns the item at the given index path.
abstract  NSObject itemAtRow_inColumn(NSInteger row, NSInteger column)
          Returns the item located at 'row' in 'column'.
abstract  NSInteger lastColumn()
          Returns the last loaded column.
abstract  NSInteger lastVisibleColumn()
          Original signature : -(NSInteger)lastVisibleColumn
native declaration : NSBrowser.h:278
abstract  void loadColumnZero()
          Original signature : -(void)loadColumnZero
native declaration : NSBrowser.h:137
abstract  NSObject loadedCellAtRow_column(NSInteger row, NSInteger col)
          Original signature : -(id)loadedCellAtRow:(NSInteger) column:(NSInteger)
native declaration : NSBrowser.h:288
abstract  ObjCClass matrixClass()
          Original signature : -(Class)matrixClass
native declaration : NSBrowser.h:143
abstract  NSMatrix matrixInColumn(NSInteger column)
          Return the matrix representing column.
abstract  NSInteger maxVisibleColumns()
          Original signature : -(NSInteger)maxVisibleColumns
native declaration : NSBrowser.h:164
abstract  org.rococoa.cocoa.CGFloat minColumnWidth()
          Original signature : -(CGFloat)minColumnWidth
native declaration : NSBrowser.h:161
static NSBrowser new_()
           
abstract  void noteHeightOfRowsWithIndexesChanged_inColumn(NSIndexSet indexSet, NSInteger columnIndex)
          If the delegate implements -browser:heightOfRow:inColumn:, this method immediately re-tiles the browser columns using row heights it provides.
abstract  NSInteger numberOfVisibleColumns()
          Original signature : -(NSInteger)numberOfVisibleColumns
native declaration : NSBrowser.h:276
abstract  NSObject parentForItemsInColumn(NSInteger column)
          Returns the item that contains all children located in 'column'.
abstract  NSString path()
          Original signature : -(NSString*)path
native declaration : NSBrowser.h:211
abstract  NSString pathSeparator()
          Original signature : -(NSString*)pathSeparator
native declaration : NSBrowser.h:209
abstract  NSString pathToColumn(NSInteger column)
          Original signature : -(NSString*)pathToColumn:(NSInteger)
native declaration : NSBrowser.h:212
abstract  boolean prefersAllColumnUserResizing()
          Original signature : -(BOOL)prefersAllColumnUserResizing
native declaration : NSBrowser.h:322
abstract  void reloadColumn(NSInteger column)
          Original signature : -(void)reloadColumn:(NSInteger)
native declaration : NSBrowser.h:258
abstract  void reloadDataForRowIndexes_inColumn(NSIndexSet rowIndexes, NSInteger column)
          Updates a particular set of rows in 'column'.
static void removeSavedColumnsWithAutosaveName(NSString name)
          Removes the column data stored under name from the applications user defaults.
abstract  boolean reusesColumns()
          Original signature : -(BOOL)reusesColumns
native declaration : NSBrowser.h:150
abstract  org.rococoa.cocoa.CGFloat rowHeight()
          Original signature : -(CGFloat)rowHeight
native declaration : NSBrowser.h:332
abstract  void scrollColumnsLeftBy(NSInteger shiftAmount)
          Original signature : -(void)scrollColumnsLeftBy:(NSInteger)
native declaration : NSBrowser.h:261
abstract  void scrollColumnsRightBy(NSInteger shiftAmount)
          Original signature : -(void)scrollColumnsRightBy:(NSInteger)
native declaration : NSBrowser.h:260
abstract  void scrollColumnToVisible(NSInteger column)
          Original signature : -(void)scrollColumnToVisible:(NSInteger)
native declaration : NSBrowser.h:262
abstract  void scrollRowToVisible_inColumn(NSInteger row, NSInteger column)
          Scrolls 'row' to be visible within 'column'.
abstract  void selectAll(ObjCObject sender)
          Original signature : -(void)selectAll:(id)
native declaration : NSBrowser.h:289
abstract  NSObject selectedCell()
          For the item based browser, selectedCell returns the prepared cell at the selected row in the selected column.
abstract  NSObject selectedCellInColumn(NSInteger column)
          Original signature : -(id)selectedCellInColumn:(NSInteger)
native declaration : NSBrowser.h:224
abstract  NSArray selectedCells()
          For the item based browser, selectedCells returns a copy of all prepared cells in the selected row in the selected column
Original signature : -(NSArray*)selectedCells
native declaration : NSBrowser.h:228
abstract  NSInteger selectedColumn()
          Original signature : -(NSInteger)selectedColumn
native declaration : NSBrowser.h:219
abstract  NSInteger selectedRowInColumn(NSInteger column)
          Original signature : -(NSInteger)selectedRowInColumn:(NSInteger)
native declaration : NSBrowser.h:232
abstract  NSIndexSet selectedRowIndexesInColumn(NSInteger column)
          Returns the selected cell indexes in the matrix located at 'column'.
abstract  NSIndexPath selectionIndexPath()
          Returns the index path of the item selected in the browser, or nil if there is no selection.
abstract  NSArray selectionIndexPaths()
          Returns the index paths of all items selected in the browser.
abstract  void selectRow_inColumn(NSInteger row, NSInteger column)
          Original signature : -(void)selectRow:(NSInteger) inColumn:(NSInteger)
native declaration : NSBrowser.h:230
abstract  void selectRowIndexes_inColumn(NSIndexSet indexes, NSInteger column)
          Sets the selected row 'indexes' in the matrix located at 'column'.
abstract  boolean sendAction()
          Original signature : -(BOOL)sendAction
native declaration : NSBrowser.h:293
abstract  boolean sendsActionOnArrowKeys()
          Original signature : -(BOOL)sendsActionOnArrowKeys
native declaration : NSBrowser.h:176
abstract  boolean separatesColumns()
          Original signature : -(BOOL)separatesColumns
native declaration : NSBrowser.h:157
abstract  void setAllowsBranchSelection(boolean flag)
          Original signature : -(void)setAllowsBranchSelection:(BOOL)
native declaration : NSBrowser.h:168
abstract  void setAllowsEmptySelection(boolean flag)
          Original signature : -(void)setAllowsEmptySelection:(BOOL)
native declaration : NSBrowser.h:170
abstract  void setAllowsMultipleSelection(boolean flag)
          Original signature : -(void)setAllowsMultipleSelection:(BOOL)
native declaration : NSBrowser.h:166
abstract  void setAllowsTypeSelect(boolean value)
          Original signature : -(void)setAllowsTypeSelect:(BOOL)
native declaration : NSBrowser.h:374
abstract  void setAutohidesScroller(boolean flag)
          Original signature : -(void)setAutohidesScroller:(BOOL)
native declaration : NSBrowser.h:154
abstract  void setBackgroundColor(NSColor color)
          The background color to be drawn.
abstract  void setCellClass(ObjCClass factoryId)
          Original signature : -(void)setCellClass:(Class)
native declaration : NSBrowser.h:144
abstract  void setCellPrototype(NSCell aCell)
          Original signature : -(void)setCellPrototype:(NSCell*)
native declaration : NSBrowser.h:145
abstract  void setColumnResizingType(int columnResizingType)
          Default is NSBrowserAutoColumnResizing.
abstract  void setColumnsAutosaveName(NSString name)
          Sets the name used to automatically save the receivers column configuration.
abstract  void setDefaultColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
          Persistently sets the default width for new columns which don't otherwise have initial width from either defaults or the delegate.
abstract  void setDelegate(NSBrowserDelegate anObject)
          Original signature : -(void)setDelegate:(id)
native declaration : NSBrowser.h:147
abstract  void setDoubleAction(Selector aSelector)
          Original signature : -(void)setDoubleAction:(SEL)
native declaration : NSBrowser.h:140
abstract  void setHasHorizontalScroller(boolean flag)
          Original signature : -(void)setHasHorizontalScroller:(BOOL)
native declaration : NSBrowser.h:152
abstract  void setLastColumn(NSInteger column)
          Sets the last loaded column.
abstract  void setMatrixClass(ObjCClass factoryId)
          Original signature : -(void)setMatrixClass:(Class)
native declaration : NSBrowser.h:142
abstract  void setMaxVisibleColumns(NSInteger columnCount)
          Original signature : -(void)setMaxVisibleColumns:(NSInteger)
native declaration : NSBrowser.h:163
abstract  void setMinColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
          Original signature : -(void)setMinColumnWidth:(CGFloat)
native declaration : NSBrowser.h:160
abstract  boolean setPath(NSString path)
          Original signature : -(BOOL)setPath:(NSString*)
native declaration : NSBrowser.h:210
abstract  void setPathSeparator(NSString newString)
          Original signature : -(void)setPathSeparator:(NSString*)
native declaration : NSBrowser.h:208
abstract  void setPrefersAllColumnUserResizing(boolean prefersAllColumnResizing)
          Default is NO.
abstract  void setReusesColumns(boolean flag)
          Original signature : -(void)setReusesColumns:(BOOL)
native declaration : NSBrowser.h:149
abstract  void setRowHeight(org.rococoa.cocoa.CGFloat height)
          Get and set the rowHeight.
abstract  void setSelectionIndexPath(NSIndexPath path)
          Sets the browser's selection to the item at path.
abstract  void setSelectionIndexPaths(NSArray paths)
          Sets the browser's selection to the specified index paths.
abstract  void setSendsActionOnArrowKeys(boolean flag)
          Original signature : -(void)setSendsActionOnArrowKeys:(BOOL)
native declaration : NSBrowser.h:175
abstract  void setSeparatesColumns(boolean flag)
          Original signature : -(void)setSeparatesColumns:(BOOL)
native declaration : NSBrowser.h:156
abstract  void setTakesTitleFromPreviousColumn(boolean flag)
          Original signature : -(void)setTakesTitleFromPreviousColumn:(BOOL)
native declaration : NSBrowser.h:172
abstract  void setTitle_ofColumn(NSString aString, NSInteger column)
          Original signature : -(void)setTitle:(NSString*) ofColumn:(NSInteger)
native declaration : NSBrowser.h:206
abstract  void setTitled(boolean flag)
          Original signature : -(void)setTitled:(BOOL)
native declaration : NSBrowser.h:158
abstract  void setWidth_ofColumn(org.rococoa.cocoa.CGFloat columnWidth, NSInteger columnIndex)
          setWidth:ofColumn: does nothing if columnResizingType is NSBrowserAutoColumnResizing.
abstract  boolean takesTitleFromPreviousColumn()
          Original signature : -(BOOL)takesTitleFromPreviousColumn
native declaration : NSBrowser.h:173
abstract  void tile()
          Original signature : -(void)tile
native declaration : NSBrowser.h:290
abstract  NSObject titleFrameOfColumn(NSInteger column)
          Original signature : -(id)titleFrameOfColumn:(NSInteger)
native declaration : NSBrowser.h:295
abstract  org.rococoa.cocoa.CGFloat titleHeight()
          Original signature : -(CGFloat)titleHeight
native declaration : NSBrowser.h:297
abstract  NSString titleOfColumn(NSInteger column)
          Original signature : -(NSString*)titleOfColumn:(NSInteger)
native declaration : NSBrowser.h:207
abstract  void validateVisibleColumns()
          Original signature : -(void)validateVisibleColumns
native declaration : NSBrowser.h:259
abstract  org.rococoa.cocoa.CGFloat widthOfColumn(NSInteger column)
          Original signature : -(CGFloat)widthOfColumn:(NSInteger)
native declaration : NSBrowser.h:327
 
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, 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.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

NSBrowser

public NSBrowser()
Method Detail

cellClass

public static ObjCClass cellClass()
Original signature : +(Class)cellClass
native declaration : NSBrowser.h:135


loadColumnZero

public abstract void loadColumnZero()
Original signature : -(void)loadColumnZero
native declaration : NSBrowser.h:137


isLoaded

public abstract boolean isLoaded()
Original signature : -(BOOL)isLoaded
native declaration : NSBrowser.h:138


setDoubleAction

public abstract void setDoubleAction(Selector aSelector)
Original signature : -(void)setDoubleAction:(SEL)
native declaration : NSBrowser.h:140


doubleAction

public abstract Selector doubleAction()
Original signature : -(SEL)doubleAction
native declaration : NSBrowser.h:141


setMatrixClass

public abstract void setMatrixClass(ObjCClass factoryId)
Original signature : -(void)setMatrixClass:(Class)
native declaration : NSBrowser.h:142


matrixClass

public abstract ObjCClass matrixClass()
Original signature : -(Class)matrixClass
native declaration : NSBrowser.h:143


setCellClass

public abstract void setCellClass(ObjCClass factoryId)
Original signature : -(void)setCellClass:(Class)
native declaration : NSBrowser.h:144


setCellPrototype

public abstract void setCellPrototype(NSCell aCell)
Original signature : -(void)setCellPrototype:(NSCell*)
native declaration : NSBrowser.h:145


cellPrototype

public abstract NSObject cellPrototype()
Original signature : -(id)cellPrototype
native declaration : NSBrowser.h:146


setDelegate

public abstract void setDelegate(NSBrowserDelegate anObject)
Original signature : -(void)setDelegate:(id)
native declaration : NSBrowser.h:147


delegate

public abstract NSBrowserDelegate delegate()
Original signature : -(id)delegate
native declaration : NSBrowser.h:148


setReusesColumns

public abstract void setReusesColumns(boolean flag)
Original signature : -(void)setReusesColumns:(BOOL)
native declaration : NSBrowser.h:149


reusesColumns

public abstract boolean reusesColumns()
Original signature : -(BOOL)reusesColumns
native declaration : NSBrowser.h:150


setHasHorizontalScroller

public abstract void setHasHorizontalScroller(boolean flag)
Original signature : -(void)setHasHorizontalScroller:(BOOL)
native declaration : NSBrowser.h:152


hasHorizontalScroller

public abstract boolean hasHorizontalScroller()
Original signature : -(BOOL)hasHorizontalScroller
native declaration : NSBrowser.h:153


setAutohidesScroller

public abstract void setAutohidesScroller(boolean flag)
Original signature : -(void)setAutohidesScroller:(BOOL)
native declaration : NSBrowser.h:154


autohidesScroller

public abstract boolean autohidesScroller()
Original signature : -(BOOL)autohidesScroller
native declaration : NSBrowser.h:155


setSeparatesColumns

public abstract void setSeparatesColumns(boolean flag)
Original signature : -(void)setSeparatesColumns:(BOOL)
native declaration : NSBrowser.h:156


separatesColumns

public abstract boolean separatesColumns()
Original signature : -(BOOL)separatesColumns
native declaration : NSBrowser.h:157


setTitled

public abstract void setTitled(boolean flag)
Original signature : -(void)setTitled:(BOOL)
native declaration : NSBrowser.h:158


isTitled

public abstract boolean isTitled()
Original signature : -(BOOL)isTitled
native declaration : NSBrowser.h:159


setMinColumnWidth

public abstract void setMinColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
Original signature : -(void)setMinColumnWidth:(CGFloat)
native declaration : NSBrowser.h:160


minColumnWidth

public abstract org.rococoa.cocoa.CGFloat minColumnWidth()
Original signature : -(CGFloat)minColumnWidth
native declaration : NSBrowser.h:161


setMaxVisibleColumns

public abstract void setMaxVisibleColumns(NSInteger columnCount)
Original signature : -(void)setMaxVisibleColumns:(NSInteger)
native declaration : NSBrowser.h:163


maxVisibleColumns

public abstract NSInteger maxVisibleColumns()
Original signature : -(NSInteger)maxVisibleColumns
native declaration : NSBrowser.h:164


setAllowsMultipleSelection

public abstract void setAllowsMultipleSelection(boolean flag)
Original signature : -(void)setAllowsMultipleSelection:(BOOL)
native declaration : NSBrowser.h:166


allowsMultipleSelection

public abstract boolean allowsMultipleSelection()
Original signature : -(BOOL)allowsMultipleSelection
native declaration : NSBrowser.h:167


setAllowsBranchSelection

public abstract void setAllowsBranchSelection(boolean flag)
Original signature : -(void)setAllowsBranchSelection:(BOOL)
native declaration : NSBrowser.h:168


allowsBranchSelection

public abstract boolean allowsBranchSelection()
Original signature : -(BOOL)allowsBranchSelection
native declaration : NSBrowser.h:169


setAllowsEmptySelection

public abstract void setAllowsEmptySelection(boolean flag)
Original signature : -(void)setAllowsEmptySelection:(BOOL)
native declaration : NSBrowser.h:170


allowsEmptySelection

public abstract boolean allowsEmptySelection()
Original signature : -(BOOL)allowsEmptySelection
native declaration : NSBrowser.h:171


setTakesTitleFromPreviousColumn

public abstract void setTakesTitleFromPreviousColumn(boolean flag)
Original signature : -(void)setTakesTitleFromPreviousColumn:(BOOL)
native declaration : NSBrowser.h:172


takesTitleFromPreviousColumn

public abstract boolean takesTitleFromPreviousColumn()
Original signature : -(BOOL)takesTitleFromPreviousColumn
native declaration : NSBrowser.h:173


setSendsActionOnArrowKeys

public abstract void setSendsActionOnArrowKeys(boolean flag)
Original signature : -(void)setSendsActionOnArrowKeys:(BOOL)
native declaration : NSBrowser.h:175


sendsActionOnArrowKeys

public abstract boolean sendsActionOnArrowKeys()
Original signature : -(BOOL)sendsActionOnArrowKeys
native declaration : NSBrowser.h:176


itemAtIndexPath

public abstract NSObject itemAtIndexPath(NSIndexPath indexPath)
Returns the item at the given index path. This method can only be used if the delegate implements the item data source methods. The indexPath must be displayable in the browser.
Original signature : -(id)itemAtIndexPath:(NSIndexPath*)
native declaration : NSBrowser.h:180


itemAtRow_inColumn

public abstract NSObject itemAtRow_inColumn(NSInteger row,
                                            NSInteger column)
Returns the item located at 'row' in 'column'.
Original signature : -(id)itemAtRow:(NSInteger) inColumn:(NSInteger)
native declaration : NSBrowser.h:184


indexPathForColumn

public abstract NSIndexPath indexPathForColumn(NSInteger column)
Returns the index path of the item whose children are displayed in the given column. This method can only be used if the delegate implements the item data source methods.
Original signature : -(NSIndexPath*)indexPathForColumn:(NSInteger)
native declaration : NSBrowser.h:188


isLeafItem

public abstract boolean isLeafItem(ObjCObject item)
Returns whether the given item is a leaf item. This method can only be used if the delegate implements the item data source methods.
Original signature : -(BOOL)isLeafItem:(id)
native declaration : NSBrowser.h:192


reloadDataForRowIndexes_inColumn

public abstract void reloadDataForRowIndexes_inColumn(NSIndexSet rowIndexes,
                                                      NSInteger column)
Updates a particular set of rows in 'column'. For rows that are visible, appropriate dataSource and delegate methods will be called and the row will be redrawn. For browsers that support variable row heights, the row height will not be re-queried from the delegate. This method can only be used if the delegate implements the item data source methods.
Original signature : -(void)reloadDataForRowIndexes:(NSIndexSet*) inColumn:(NSInteger)
native declaration : NSBrowser.h:196


parentForItemsInColumn

public abstract NSObject parentForItemsInColumn(NSInteger column)
Returns the item that contains all children located in 'column'. In other words, it is the parent item for that column.
Original signature : -(id)parentForItemsInColumn:(NSInteger)
native declaration : NSBrowser.h:200


scrollRowToVisible_inColumn

public abstract void scrollRowToVisible_inColumn(NSInteger row,
                                                 NSInteger column)
Scrolls 'row' to be visible within 'column'. 'column' will not be scrolled visible. To scroll 'column' to visible, first call -[browser scrollColumnToVisible:column].
Original signature : -(void)scrollRowToVisible:(NSInteger) inColumn:(NSInteger)
native declaration : NSBrowser.h:204


setTitle_ofColumn

public abstract void setTitle_ofColumn(NSString aString,
                                       NSInteger column)
Original signature : -(void)setTitle:(NSString*) ofColumn:(NSInteger)
native declaration : NSBrowser.h:206


titleOfColumn

public abstract NSString titleOfColumn(NSInteger column)
Original signature : -(NSString*)titleOfColumn:(NSInteger)
native declaration : NSBrowser.h:207


setPathSeparator

public abstract void setPathSeparator(NSString newString)
Original signature : -(void)setPathSeparator:(NSString*)
native declaration : NSBrowser.h:208


pathSeparator

public abstract NSString pathSeparator()
Original signature : -(NSString*)pathSeparator
native declaration : NSBrowser.h:209


setPath

public abstract boolean setPath(NSString path)
Original signature : -(BOOL)setPath:(NSString*)
native declaration : NSBrowser.h:210


path

public abstract NSString path()
Original signature : -(NSString*)path
native declaration : NSBrowser.h:211


pathToColumn

public abstract NSString pathToColumn(NSInteger column)
Original signature : -(NSString*)pathToColumn:(NSInteger)
native declaration : NSBrowser.h:212


clickedColumn

public abstract NSInteger clickedColumn()
Returns the column and row clicked on to display a context menu. These methods will return -1 when no menu is active.
Original signature : -(NSInteger)clickedColumn
native declaration : NSBrowser.h:216


clickedRow

public abstract NSInteger clickedRow()
Original signature : -(NSInteger)clickedRow
native declaration : NSBrowser.h:217


selectedColumn

public abstract NSInteger selectedColumn()
Original signature : -(NSInteger)selectedColumn
native declaration : NSBrowser.h:219


selectedCell

public abstract NSObject selectedCell()
For the item based browser, selectedCell returns the prepared cell at the selected row in the selected column.
Original signature : -(id)selectedCell
native declaration : NSBrowser.h:223

Specified by:
selectedCell in class NSControl

selectedCellInColumn

public abstract NSObject selectedCellInColumn(NSInteger column)
Original signature : -(id)selectedCellInColumn:(NSInteger)
native declaration : NSBrowser.h:224


selectedCells

public abstract NSArray selectedCells()
For the item based browser, selectedCells returns a copy of all prepared cells in the selected row in the selected column
Original signature : -(NSArray*)selectedCells
native declaration : NSBrowser.h:228


selectRow_inColumn

public abstract void selectRow_inColumn(NSInteger row,
                                        NSInteger column)
Original signature : -(void)selectRow:(NSInteger) inColumn:(NSInteger)
native declaration : NSBrowser.h:230


selectedRowInColumn

public abstract NSInteger selectedRowInColumn(NSInteger column)
Original signature : -(NSInteger)selectedRowInColumn:(NSInteger)
native declaration : NSBrowser.h:232


selectionIndexPath

public abstract NSIndexPath selectionIndexPath()
Returns the index path of the item selected in the browser, or nil if there is no selection.
Original signature : -(NSIndexPath*)selectionIndexPath
native declaration : NSBrowser.h:236


setSelectionIndexPath

public abstract void setSelectionIndexPath(NSIndexPath path)
Sets the browser's selection to the item at path. Throws an exception if the path is invalid. This method can only be used if the delegate implements the item data source methods.
Original signature : -(void)setSelectionIndexPath:(NSIndexPath*)
native declaration : NSBrowser.h:240


selectionIndexPaths

public abstract NSArray selectionIndexPaths()
Returns the index paths of all items selected in the browser.
Original signature : -(NSArray*)selectionIndexPaths
native declaration : NSBrowser.h:244


setSelectionIndexPaths

public abstract void setSelectionIndexPaths(NSArray paths)
Sets the browser's selection to the specified index paths. Throws an exception if any of the paths are invalid. This method can only be used if the delegate implements the item data source methods.
Original signature : -(void)setSelectionIndexPaths:(NSArray*)
native declaration : NSBrowser.h:248


selectRowIndexes_inColumn

public abstract void selectRowIndexes_inColumn(NSIndexSet indexes,
                                               NSInteger column)
Sets the selected row 'indexes' in the matrix located at 'column'.
Original signature : -(void)selectRowIndexes:(NSIndexSet*) inColumn:(NSInteger)
native declaration : NSBrowser.h:252


selectedRowIndexesInColumn

public abstract NSIndexSet selectedRowIndexesInColumn(NSInteger column)
Returns the selected cell indexes in the matrix located at 'column'.
Original signature : -(NSIndexSet*)selectedRowIndexesInColumn:(NSInteger)
native declaration : NSBrowser.h:256


reloadColumn

public abstract void reloadColumn(NSInteger column)
Original signature : -(void)reloadColumn:(NSInteger)
native declaration : NSBrowser.h:258


validateVisibleColumns

public abstract void validateVisibleColumns()
Original signature : -(void)validateVisibleColumns
native declaration : NSBrowser.h:259


scrollColumnsRightBy

public abstract void scrollColumnsRightBy(NSInteger shiftAmount)
Original signature : -(void)scrollColumnsRightBy:(NSInteger)
native declaration : NSBrowser.h:260


scrollColumnsLeftBy

public abstract void scrollColumnsLeftBy(NSInteger shiftAmount)
Original signature : -(void)scrollColumnsLeftBy:(NSInteger)
native declaration : NSBrowser.h:261


scrollColumnToVisible

public abstract void scrollColumnToVisible(NSInteger column)
Original signature : -(void)scrollColumnToVisible:(NSInteger)
native declaration : NSBrowser.h:262


lastColumn

public abstract NSInteger lastColumn()
Returns the last loaded column. This is equal to the total number of columns minus 1.
Original signature : -(NSInteger)lastColumn
native declaration : NSBrowser.h:266


setLastColumn

public abstract void setLastColumn(NSInteger column)
Sets the last loaded column. 'column' must be equal to or less than -lastColumn. To add more columns, use -addColumn.
Original signature : -(void)setLastColumn:(NSInteger)
native declaration : NSBrowser.h:270


addColumn

public abstract void addColumn()
Adds a column at the end. To remove columns, use -setLastColumn:
Original signature : -(void)addColumn
native declaration : NSBrowser.h:274


numberOfVisibleColumns

public abstract NSInteger numberOfVisibleColumns()
Original signature : -(NSInteger)numberOfVisibleColumns
native declaration : NSBrowser.h:276


firstVisibleColumn

public abstract NSInteger firstVisibleColumn()
Original signature : -(NSInteger)firstVisibleColumn
native declaration : NSBrowser.h:277


lastVisibleColumn

public abstract NSInteger lastVisibleColumn()
Original signature : -(NSInteger)lastVisibleColumn
native declaration : NSBrowser.h:278


columnOfMatrix

public abstract NSInteger columnOfMatrix(NSMatrix matrix)
Returns the column that matrix represents. This method will return -1 if the delegate does not implement the matrix data source methods.
Original signature : -(NSInteger)columnOfMatrix:(NSMatrix*)
native declaration : NSBrowser.h:282


matrixInColumn

public abstract NSMatrix matrixInColumn(NSInteger column)
Return the matrix representing column. This method will return nil if the delegate does not implement the matrix data source methods.
Original signature : -(NSMatrix*)matrixInColumn:(NSInteger)
native declaration : NSBrowser.h:286


loadedCellAtRow_column

public abstract NSObject loadedCellAtRow_column(NSInteger row,
                                                NSInteger col)
Original signature : -(id)loadedCellAtRow:(NSInteger) column:(NSInteger)
native declaration : NSBrowser.h:288


selectAll

public abstract void selectAll(ObjCObject sender)
Original signature : -(void)selectAll:(id)
native declaration : NSBrowser.h:289


tile

public abstract void tile()
Original signature : -(void)tile
native declaration : NSBrowser.h:290


doClick

public abstract void doClick(ObjCObject sender)
Original signature : -(void)doClick:(id)
native declaration : NSBrowser.h:291


doDoubleClick

public abstract void doDoubleClick(ObjCObject sender)
Original signature : -(void)doDoubleClick:(id)
native declaration : NSBrowser.h:292


sendAction

public abstract boolean sendAction()
Original signature : -(BOOL)sendAction
native declaration : NSBrowser.h:293


titleFrameOfColumn

public abstract NSObject titleFrameOfColumn(NSInteger column)
Original signature : -(id)titleFrameOfColumn:(NSInteger)
native declaration : NSBrowser.h:295


titleHeight

public abstract org.rococoa.cocoa.CGFloat titleHeight()
Original signature : -(CGFloat)titleHeight
native declaration : NSBrowser.h:297


frameOfColumn

public abstract NSObject frameOfColumn(NSInteger column)
Original signature : -(id)frameOfColumn:(NSInteger)
native declaration : NSBrowser.h:298


frameOfInsideOfColumn

public abstract NSObject frameOfInsideOfColumn(NSInteger column)
Original signature : -(id)frameOfInsideOfColumn:(NSInteger)
native declaration : NSBrowser.h:299


frameOfRow_inColumn

public abstract NSObject frameOfRow_inColumn(NSInteger row,
                                             NSInteger column)
Returns the frame of the row at 'row' / 'column' including the area for the expandable arrow. The returned NSRect is in the NSBrowser coordinate space.
Original signature : -(id)frameOfRow:(NSInteger) inColumn:(NSInteger)
native declaration : NSBrowser.h:303


columnWidthForColumnContentWidth

public abstract org.rococoa.cocoa.CGFloat columnWidthForColumnContentWidth(org.rococoa.cocoa.CGFloat 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)
native declaration : NSBrowser.h:311


columnContentWidthForColumnWidth

public abstract org.rococoa.cocoa.CGFloat columnContentWidthForColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
Original signature : -(CGFloat)columnContentWidthForColumnWidth:(CGFloat)
native declaration : NSBrowser.h:312


setColumnResizingType

public abstract void setColumnResizingType(int columnResizingType)
Default is NSBrowserAutoColumnResizing. This setting is persistent.
Original signature : -(void)setColumnResizingType:(NSBrowserColumnResizingType)
native declaration : NSBrowser.h:316

Parameters:
columnResizingType - @see org.rococoa.cocoa.appkit.AppKitLibrary#NSBrowserColumnResizingType

columnResizingType

public abstract int columnResizingType()
Original signature : -(NSBrowserColumnResizingType)columnResizingType
native declaration : NSBrowser.h:317


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)
native declaration : NSBrowser.h:321


prefersAllColumnUserResizing

public abstract boolean prefersAllColumnUserResizing()
Original signature : -(BOOL)prefersAllColumnUserResizing
native declaration : NSBrowser.h:322


setWidth_ofColumn

public abstract void setWidth_ofColumn(org.rococoa.cocoa.CGFloat columnWidth,
                                       NSInteger columnIndex)
setWidth:ofColumn: does nothing if columnResizingType is NSBrowserAutoColumnResizing. Otherwise, Sets the width of the specified column. Due to binary compatibility constraints, you may still set the default width for new columns by passing a columnIndex of -1; you are encouraged to use -setDefaultColumnWidth: instead. NSBrowserColumnConfigurationDidChangeNotification will be posted (not immediately) if necessary. The receiver will autosave its column configuration if necessary.
Original signature : -(void)setWidth:(CGFloat) ofColumn:(NSInteger)
native declaration : NSBrowser.h:326


widthOfColumn

public abstract org.rococoa.cocoa.CGFloat widthOfColumn(NSInteger column)
Original signature : -(CGFloat)widthOfColumn:(NSInteger)
native declaration : NSBrowser.h:327


setRowHeight

public abstract void setRowHeight(org.rococoa.cocoa.CGFloat height)
Get and set the rowHeight. The value must be greater than 0. Calling -setRowHeight: with a non-pixel aligning (fractional) value will be forced to a pixel aligning (integral) value. For variable row height browsers (ones that have the delegate implement -browser:heightOfRow:column:), -rowHeight will be used to draw alternating rows past the last row in each browser column. The default value is 17.0. Note: The rowHeight methods are only valid when using the "item delegate methods" introduced in MacOS 10.6. (see NSObject(NSBrowserDelegate)). An exception is thrown if using the older "matrix delegate methods"
Original signature : -(void)setRowHeight:(CGFloat)
native declaration : NSBrowser.h:331


rowHeight

public abstract org.rococoa.cocoa.CGFloat rowHeight()
Original signature : -(CGFloat)rowHeight
native declaration : NSBrowser.h:332


noteHeightOfRowsWithIndexesChanged_inColumn

public abstract void noteHeightOfRowsWithIndexesChanged_inColumn(NSIndexSet indexSet,
                                                                 NSInteger columnIndex)
If the delegate implements -browser:heightOfRow:inColumn:, this method immediately re-tiles the browser columns using row heights it provides.
Original signature : -(void)noteHeightOfRowsWithIndexesChanged:(NSIndexSet*) inColumn:(NSInteger)
native declaration : NSBrowser.h:336


setDefaultColumnWidth

public abstract void setDefaultColumnWidth(org.rococoa.cocoa.CGFloat columnWidth)
Persistently sets the default width for new columns which don't otherwise have initial width from either defaults or the delegate. This method replaces -setWidth:ofColumn: with a columnIndex of -1.
Original signature : -(void)setDefaultColumnWidth:(CGFloat)
native declaration : NSBrowser.h:341


defaultColumnWidth

public abstract org.rococoa.cocoa.CGFloat defaultColumnWidth()
Original signature : -(CGFloat)defaultColumnWidth
native declaration : NSBrowser.h:342


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*)
native declaration : NSBrowser.h:346


columnsAutosaveName

public abstract NSString columnsAutosaveName()
Original signature : -(NSString*)columnsAutosaveName
native declaration : NSBrowser.h:347


removeSavedColumnsWithAutosaveName

public static void removeSavedColumnsWithAutosaveName(NSString name)
Removes the column data stored under name from the applications user defaults.
Original signature : +(void)removeSavedColumnsWithAutosaveName:(NSString*)
native declaration : NSBrowser.h:351


canDragRowsWithIndexes_inColumn_withEvent

public abstract boolean canDragRowsWithIndexes_inColumn_withEvent(NSIndexSet rowIndexes,
                                                                  NSInteger 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*)
native declaration : NSBrowser.h:359


allowsTypeSelect

public abstract boolean allowsTypeSelect()
Allow type selection in this NSBrowser. The default for 'allowsTypeSelect' is YES.
Original signature : -(BOOL)allowsTypeSelect
native declaration : NSBrowser.h:373


setAllowsTypeSelect

public abstract void setAllowsTypeSelect(boolean value)
Original signature : -(void)setAllowsTypeSelect:(BOOL)
native declaration : NSBrowser.h:374


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*)
native declaration : NSBrowser.h:378


backgroundColor

public abstract NSColor backgroundColor()
Original signature : -(NSColor*)backgroundColor
native declaration : NSBrowser.h:379


editItemAtIndexPath_withEvent_select

public abstract void editItemAtIndexPath_withEvent_select(NSIndexPath indexPath,
                                                          NSEvent theEvent,
                                                          boolean select)
Begins editing the item at the specified path. theEvent may be nil if programatically editing. The cell's contents will be selected if select is YES. Overriding this method will not affect the editing behavior of the browser.
Original signature : -(void)editItemAtIndexPath:(NSIndexPath*) withEvent:(NSEvent*) select:(BOOL)
native declaration : NSBrowser.h:383


alloc

public static NSBrowser alloc()

new_

public static NSBrowser new_()

getNSClass

public static NSBrowser._class_ getNSClass()


Copyright © 2009. All Rights Reserved.