A View sublass that represents Cocoa’s NSTableView. Note that although it’s a view and that views are added to their superview, xibless wraps the view into a NSScrollView and adds that view to the superview (XCode does the same). The reference to the table view, however (if you do stuff like owner.table = Table(superview)) will be the reference of the NSTableView instance.
|Parameters:||parent – A View instance. Same as View.parent.|
Creates a TableColumn and adds it to self. The created item is returned by the method.
Boolean. Sets the corresponding flag in NSTableView. Default values are the same as in NSTableView.
Boolean. Whether rows have an alternating background colors. In Cocoa, it’s usesAlternatingRowBackgroundColors.
Cocoa constant. Style of the table grid lines, if any. Use NSTableViewGridLineStyle constants.
If you set these attributes before adding your columns, all added columns will copy this attribute.
A convenience subclass of TableView. It also represents a NSTableView, but it sets the table so that it has only one column that resizes with the table and no header view.
A TableView sublass that represents Cocoa’s NSOutlineView.
The TableColumn is created by TableView.addColumn() and represents a NSTableColumn. You shouldn’t create it directly, but you can set its attributes.
String. The identifier of the column.
String. The title of the column. In Cocoa: headerCell.stringValue.
Integer. The width of the column.
Boolean. Whether the column can be edited.
Boolean. Whether the user can resize the column.
Boolean. Whether the column resizes itself when the table is resized.