scottc@net-community.com
)far@ix.netcom.com
)wolff@cybercable.fr
)mirko.viviani@rccr.cremona.it
)FredKiefer@gmx.de
)Control to display and select from hierarchal lists
Copyright: (C) 1996, 1997, 2002 Free Software Foundation, Inc.
- Declared in:
- AppKit/NSBrowser.h
- Conforms to:
- NSCoding
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Returns the NSBrowserCell class (regardless of whether a setCellClass: message has been sent to a particular instance). This method is not meant to be used by applications.
Returns YES
if the arrow keys are
enabled.
Adds a column to the right of the last column.
Returns whether the user can select branch items when multiple selection is enabled.
Returns whether there can be nothing selected.
Returns whether the user can select multiple items.
Returns the NSBrowser's prototype NSCell instance.
Returns the column number in which matrix is located.
Returns the NSBrowser's delegate.
Updates the NSBrowser to display all loaded columns.
Updates the NSBrowser to display the column with the given index.
Responds to (single) mouse clicks in a column of the NSBrowser.
Responds to double-clicks in a column of the NSBrowser.
Returns the NSBrowser's double-click action method.
Draws the title for the column at index column within the rectangle defined by aRect.
Description forthcoming.
Returns the index of the first visible column.
Returns the rectangle containing the column at index column.
Returns the rectangle containing the column at index column,
Returns whether an NSScroller is used to scroll horizontally.
Returns whether column zero is loaded.
Returns whether columns display titles.
Returns the index of the last column loaded.
Returns the index of the last visible column.
Loads column zero; unloads previously loaded columns.
Loads if necessary and returns the NSCell at row in column.
Returns the class of NSMatrix used in the NSBrowser's columns.
Returns the matrix located in the column identified by index column.
Returns the maximum number of visible columns.
Returns the minimum column width in pixels.
Returns the number of columns visible.
Returns the browser's current path.
Returns the path separator. The default is "/".
Returns a string representing the path from the first column up to, but not including, the column at index column.
Reloads column if it is loaded; sets it as the last column. Reselects previously selected cells, if they remain.
Returns YES
if NSMatrix objects aren't
freed when their columns are unloaded.
Scrolls to make the column at index column visible.
Scrolls columns left by shiftAmount columns.
Scrolls columns right by shiftAmount columns.
Scrolls columns left or right based on an NSScroller.
Selects all NSCells in the last column of the NSBrowser.
Selects the cell at index row in the column identified by index column.
Returns the last (rightmost and lowest) selected NSCell.
Returns the last (lowest) NSCell that's selected in column.
Returns all cells selected in the rightmost column.
Returns the index of the last column with a selected item.
Returns the row index of the selected cell in the column specified by index column.
Sends the action message to the target. Returns
YES
upon success, NO
if no
target for the message could be found.
Returns NO
if pressing an arrow key
only scrolls the browser, YES
if it also
sends the action message specified by setAction:.
Returns whether columns are separated by bezeled borders.
Enables or disables the arrow keys as used for navigating within and between browsers.
Sets whether the user can select branch items when multiple selection is enabled.
Sets whether there can be nothing selected.
Sets whether the user can select multiple items.
Sets the class of NSCell used in the columns of the NSBrowser.
Sets the NSCell instance copied to display items in the columns of NSBrowser.
Sets the delegate of the receiver. If not
nil
, the delegate must either be
passive and respond to
[NSObject -browser:numberOfRowsInColumn:]
or be active and respond to [NSObject -browser:createRowsForColumn:inMatrix:]
but not both. If the delegate is active it must also respond to [NSObject -browser:willDisplayCell:atRow:column:]
. If the delegate is not nil
but does not meet these conditions, an NSBrowserIllegalDelegateException will be raised.
Sets the NSBrowser's double-click action to aSelector.
Sets whether an NSScroller is used to scroll horizontally.
Sets the last column to column.
Sets the matrix class (NSMatrix or an NSMatrix subclass) used in the NSBrowser's columns.
Sets the maximum number of columns displayed.
Sets the minimum column width in pixels.
Parses path and selects corresponding items in the NSBrowser columns.
This is the primary mechanism for programmatically
updating the selection of a browser. It should
result in the browser cells corresponding to the
components being selected, and the browser
columns up to the end of path (and
just beyond if the last selected cell's
[NSBrowserCell -isLeaf]
returns YES
).
It does
not result in the browsers action being
sent to its target, just in a change to the browser
selection and display.
If path begins with the -pathSeparator then it is taken to be absolute and the first component in it is expected to denote a cell in column zero. Otherwise it is taken to be relative to the currently selected column.
Empty components (ie where a -pathSeparator occurs immediately after another or at the end of path) are simply ignored.
The receivers delegate is asked to select each cell
in turn using the
-browser:selectCellWithString:inColumn:
method (if it implements it). If this call to the delegate returns NO
then the attempt to set the path fails.
If the delegate does not implement the method, the browser attempts to locate and select the cell itsself, and the method fails if it is unable to locate the cell by matching its [NSCell -stringValue]
with the component of the path.
The method returns YES
if
path contains no components or if a cell
corresponding to the path was
found. Otherwise it returns NO
.
Sets the path separator to newString.
If flag is YES
, prevents
NSMatrix objects from being freed when their
columns are unloaded, so they can be reused.
Sets whether pressing an arrow key will cause the action message to be sent (in addition to causing scrolling).
Sets whether to separate columns with bezeled borders.
Sets whether the title of a column is set to the string value of the selected NSCell in the previous column.
Sets the title of the column at index column to aString.
Sets whether columns display titles.
Returns YES
if the title of a column
is set to the string value of the selected NSCell in the
previous column.
Adjusts the various subviews of NSBrowser-scrollers, columns, titles, and so on-without redrawing. Your code shouldn't send this message. It's invoked any time the appearance of the NSBrowser changes.
Returns the bounds of the title frame for the column at index column.
Returns the height of column titles.
Returns the title displayed for the column at index column.
Updates the horizontal scroller to reflect column positions.
Invokes delegate method browser:isColumnValid: for visible columns.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.
- Declared in:
- AppKit/NSBrowser.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Method summary
Returns YES
if the alphanumerical keys
are enabled.
Returns NO
if pressing an arrow key
only scrolls the browser, YES
if it also
sends the action message specified by setAction:.
Enables or disables the arrow keys as used for navigating within and between browsers.
Sets whether pressing an arrow key will cause the action message to be sent (in addition to causing scrolling).
- Declared in:
- AppKit/NSBrowser.h
Standards:
- MacOS-X
- OpenStep
- GNUstep
Description forthcoming.
Method summaryDescription forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.
Description forthcoming.