Class NSTableView

Direct Known Subclasses:
NSOutlineView, SWTTableView

public class NSTableView extends NSControl
  • Constructor Details

    • NSTableView

      public NSTableView()
    • NSTableView

      public NSTableView(long id)
    • NSTableView

      public NSTableView(id id)
  • Method Details

    • addTableColumn

      public void addTableColumn(NSTableColumn column)
    • allowsColumnReordering

      public boolean allowsColumnReordering()
    • canDragRowsWithIndexes

      public boolean canDragRowsWithIndexes(NSIndexSet rowIndexes, NSPoint mouseDownPoint)
    • clickedColumn

      public long clickedColumn()
    • clickedRow

      public long clickedRow()
    • columnAtPoint

      public long columnAtPoint(NSPoint point)
    • columnIndexesInRect

      public NSIndexSet columnIndexesInRect(NSRect rect)
    • columnWithIdentifier

      public long columnWithIdentifier(NSString identifier)
    • deselectAll

      public void deselectAll(id sender)
    • deselectRow

      public void deselectRow(long row)
    • dragImageForRowsWithIndexes

      public NSImage dragImageForRowsWithIndexes(NSIndexSet dragRows, NSArray tableColumns, NSEvent dragEvent, long dragImageOffset)
    • drawBackgroundInClipRect

      public void drawBackgroundInClipRect(NSRect clipRect)
    • frameOfCellAtColumn

      public NSRect frameOfCellAtColumn(long column, long row)
    • headerView

      public NSTableHeaderView headerView()
    • highlightSelectionInClipRect

      public void highlightSelectionInClipRect(NSRect clipRect)
    • intercellSpacing

      public NSSize intercellSpacing()
    • isRowSelected

      public boolean isRowSelected(long row)
    • moveColumn

      public void moveColumn(long column, long newIndex)
    • noteNumberOfRowsChanged

      public void noteNumberOfRowsChanged()
    • numberOfColumns

      public long numberOfColumns()
    • numberOfRows

      public long numberOfRows()
    • numberOfSelectedRows

      public long numberOfSelectedRows()
    • preparedCellAtColumn

      public NSCell preparedCellAtColumn(long column, long row)
    • rectOfColumn

      public NSRect rectOfColumn(long column)
    • rectOfRow

      public NSRect rectOfRow(long row)
    • reloadData

      public void reloadData()
    • removeTableColumn

      public void removeTableColumn(NSTableColumn column)
    • rowAtPoint

      public long rowAtPoint(NSPoint point)
    • rowHeight

      public double rowHeight()
    • rowsInRect

      public NSRange rowsInRect(NSRect rect)
    • scrollColumnToVisible

      public void scrollColumnToVisible(long column)
    • scrollRowToVisible

      public void scrollRowToVisible(long row)
    • selectAll

      public void selectAll(id sender)
    • selectRowIndexes

      public void selectRowIndexes(NSIndexSet indexes, boolean extend)
    • selectedRow

      public long selectedRow()
    • selectedRowIndexes

      public NSIndexSet selectedRowIndexes()
    • setAllowsColumnReordering

      public void setAllowsColumnReordering(boolean allowsColumnReordering)
    • setAllowsMultipleSelection

      public void setAllowsMultipleSelection(boolean allowsMultipleSelection)
    • setBackgroundColor

      public void setBackgroundColor(NSColor backgroundColor)
    • setColumnAutoresizingStyle

      public void setColumnAutoresizingStyle(long columnAutoresizingStyle)
    • setDataSource

      public void setDataSource(id aSource)
    • setDelegate

      public void setDelegate(id delegate)
    • setDoubleAction

      public void setDoubleAction(long doubleAction)
    • setDropRow

      public void setDropRow(long row, long op)
    • setGridStyleMask

      public void setGridStyleMask(long gridStyle)
    • setHeaderView

      public void setHeaderView(NSTableHeaderView headerView)
    • setHighlightedTableColumn

      public void setHighlightedTableColumn(NSTableColumn tc)
    • setIndicatorImage

      public void setIndicatorImage(NSImage anImage, NSTableColumn tc)
    • setIntercellSpacing

      public void setIntercellSpacing(NSSize intercellSpacing)
    • setRowHeight

      public void setRowHeight(double rowHeight)
    • setUsesAlternatingRowBackgroundColors

      public void setUsesAlternatingRowBackgroundColors(boolean usesAlternatingRowBackgroundColors)
    • tableColumns

      public NSArray tableColumns()
    • tile

      public void tile()
    • usesAlternatingRowBackgroundColors

      public boolean usesAlternatingRowBackgroundColors()
    • cellClass

      public static long cellClass()
    • setCellClass

      public static void setCellClass(long factoryId)